]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
dont spawn an editor
authorHolger Levsen <holger@layer-acht.org>
Tue, 16 Apr 2013 16:22:26 +0000 (18:22 +0200)
committerHolger Levsen <holger@layer-acht.org>
Tue, 16 Apr 2013 16:22:26 +0000 (18:22 +0200)
debian_build.py

index 5b5653a138ef003bccb5b63f0ba9c286041e65e8..0c5f4d0c0f8b382ca06513efa97b1ee3dcb9ae88 100755 (executable)
@@ -294,7 +294,7 @@ if __name__ == '__main__':
         logger.debug('Status is now:\n%s' %( gitcmd.status().strip() ))
 
     if (BUILD_JOBNAME == 'ri-docs' or BUILD_JOBNAME == 'so-docs') and GIT_BRANCH_NAME == 'master':
-        cmd = ['/usr/bin/git-dch', '-R', '-a']
+        cmd = ['/usr/bin/git-dch', '-R', '-a', '--spawn-editor=none']
         subprocess.check_call(cmd)
         cmd = ['/usr/bin/git', 'commit', '-a', '-s', '-m', 'Released by jenkins']
         subprocess.check_call(cmd)