]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build: do not merge if we are on integration already
authorMathias Klette <mathias.klette@profitbricks.com>
Tue, 28 May 2013 16:07:57 +0000 (18:07 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Tue, 28 May 2013 16:07:57 +0000 (18:07 +0200)
debian_build.py

index ba13a6521ace06289daef6ca7dc08b6cf1ae6498..754ce52a9effe99c9caa3d2903a8010ab94d4a5c 100755 (executable)
@@ -333,7 +333,7 @@ if __name__ == '__main__':
     # .. do some CI magic now, if requested
     if do_triggers:
 
-        if 'merge' in commit_triggers:
+        if 'merge' in commit_triggers and local_branch != 'integration':
             if 'no-test' in commit_triggers:
                 logger.info('Force building with tests as we also merge your branch.')
                 commit_triggers.remove('no-test')