]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build: accept integration jobs for experimental branches
authorMathias Klette <mathias.klette@profitbricks.com>
Tue, 28 May 2013 15:41:22 +0000 (17:41 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Tue, 28 May 2013 15:41:22 +0000 (17:41 +0200)
debian_build.py

index 484488dc1f114199336ad02c7a04da45895414b0..261a61b9d01a34d46b3e2c7eb528f710d647c9d5 100755 (executable)
@@ -210,7 +210,7 @@ if __name__ == '__main__':
             do_cidb = True
 
     elif re.match(EXPERIMENTAL_BRANCHES_RE, ENV['GIT_BRANCH']):
-        if not re.match('^dev_.*$', ENV['JOB_NAME']):
+        if not re.match('^(dev_|integration_).*$', ENV['JOB_NAME']):
             logger.error('Use the appropriate job to build for branch "{branch}"!'.format(
                 branch=local_branch,
             ))