From: Holger Levsen Date: Fri, 23 Aug 2013 11:11:13 +0000 (+0200) Subject: maven-post-build: dont trigger build if we commit ourself X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=eeec45f7132c97aaddc319aaee7e4b3dfbe350e3;p=profitbricks%2Fjenkins-build-scripts.git maven-post-build: dont trigger build if we commit ourself --- 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