From: Fabian Holler Date: Mon, 15 Oct 2012 10:20:07 +0000 (+0200) Subject: fixup! fixed jenkins liveboot build trigger X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b4395b6fba89573a43a8366822ed8b4be01b9f1f;p=profitbricks%2Fjenkins-build-scripts.git fixup! fixed jenkins liveboot build trigger --- diff --git a/add_liveboot_request.py b/add_liveboot_request.py index 6c39868..57debfb 100644 --- a/add_liveboot_request.py +++ b/add_liveboot_request.py @@ -127,10 +127,10 @@ def insert_liveboot_request(con, owner_uid, package_list_id): def trigger_jenkins_build(request_id): - url = "http://jenkins/view/_Tests/job/liveboot/buildWithParameters?token" - "=BuildIt&REQUEST_ID=" + str(request_id) + url = "http://jenkins/view/_Tests/job/liveboot/buildWithParameters?token"\ + "=BuildIt&REQUEST_ID=" + str(request_id) + logger.info("Jenkins build trigger url: %s" % url) urllib2.urlopen(url).read() - logger.info("Jenkins build triggered (%s)" % url) def add_liveboot_request(deb_pkg_instance_ids):