]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix add_liveboot_request: use correct trigger URL for jenkins
authorMathias Klette <mathias.klette@profitbricks.com>
Thu, 2 May 2013 10:10:21 +0000 (12:10 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Thu, 2 May 2013 10:11:12 +0000 (12:11 +0200)
add_liveboot_request.py

index c86b1443725238ab68a6c61afa4bbb1a371697e2..18b7d249c23090f5e186a6233ff2d0c9f8107ef6 100644 (file)
@@ -127,7 +127,7 @@ def insert_liveboot_request(con, owner_uid, package_list_id):
 
 
 def trigger_jenkins_build(request_id):
-    url = "http://jenkins/view/live-builds/job/liveboot/buildWithParameters?token"\
+    url = "http://jenkins/job/liveboot/buildWithParameters?token"\
         "=BuildIt&REQUEST_ID=" + str(request_id)
     logger.info("Jenkins build trigger url: %s" % url)
     urllib2.urlopen(url).read()