]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
jenkins request_id parameter is now uppercase
authorFabian Holler <fabian.holler@profitbricks.com>
Wed, 10 Oct 2012 15:21:33 +0000 (17:21 +0200)
committerFabian Holler <fabian.holler@profitbricks.com>
Wed, 10 Oct 2012 15:21:33 +0000 (17:21 +0200)
add_liveboot_request.py

index e8e496d2e791e447b9fc9424669b8f64ab6be4cf..e7cd509512dcdbdf6f42d046047c94e6cdc7c936 100644 (file)
@@ -127,7 +127,7 @@ def insert_liveboot_request(con, owner_uid, package_list_id):
 
 def trigger_jenkins_build(request_id):
     urllib2.urlopen("http://jenkins/view/_Tests/job/liveboot/"
-    "buildWithParameters?token=BuildIt&" + str(request_id)).read()
+    "buildWithParameters?token=BuildIt&" + str(REQUEST_ID)).read()
     logger.info("Jenkins build triggered")
 
 def add_liveboot_request(deb_pkg_instance_ids):