]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
maven-post-build: dont trigger build if we commit ourself
authorHolger Levsen <holger@layer-acht.org>
Fri, 23 Aug 2013 11:11:13 +0000 (13:11 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 23 Aug 2013 11:11:13 +0000 (13:11 +0200)
maven_post_build_debian_wrapper.sh

index 9c2f2964c544ac7fc10f0e69330fed143cd730fc..39364adf332bf999e5cef90f8d7611cd0bf5c960 100755 (executable)
@@ -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