Skip to content
Browse files

Fix create_job. We can't query for a job that does not exist yet.

  • Loading branch information...
1 parent 20e4411 commit 88fc628580a44371f52a5f1f4830b58924796f2e tisto committed Feb 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 collective/recipe/jenkinsjob/__init__.py
View
2 collective/recipe/jenkinsjob/__init__.py
@@ -173,7 +173,7 @@ def push_jenkins_job(options):
except jenkins.JenkinsException, e:
print e
else:
+ jenkins_server.create_job(jenkins_jobname, jenkins_config)
print(
"Create Job %s" %
jenkins_server.get_job_info(jenkins_jobname)['url'])
- jenkins_server.create_job(jenkins_jobname, jenkins_config)

0 comments on commit 88fc628

Please sign in to comment.
Something went wrong with that request. Please try again.