From eeec45f7132c97aaddc319aaee7e4b3dfbe350e3 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 23 Aug 2013 13:11:13 +0200 Subject: [PATCH] maven-post-build: dont trigger build if we commit ourself --- maven_post_build_debian_wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven_post_build_debian_wrapper.sh b/maven_post_build_debian_wrapper.sh index 9c2f296..39364ad 100755 --- a/maven_post_build_debian_wrapper.sh +++ b/maven_post_build_debian_wrapper.sh @@ -117,7 +117,7 @@ cd $WORKSPACE # push back to git repo if build from master or hotfix/ if [[ "$GIT_BRANCH_NAME" = "master" ]] || [[ "${GIT_BRANCH_NAME:0:7}" = "hotfix/" ]]; then git add debian/changelog - git commit -m "Automatic commit by jenkins after build of $BUILD_NUMBER" + git commit -m "[no-jenkins] trigger - automatic commit by jenkins after build of $BUILD_NUMBER" # ~ and : are not valid in git tags, replace them: TAG=$(echo $VERSION | tr '~' '_' | tr ':' ',') git tag $TAG -- 2.39.5