Skip to content

Commit

Permalink
Fixed #176 HttpResponseException: Not Found (createJob)
Browse files Browse the repository at this point in the history
 o Followup and fix the appropriate integration test to use
   crumbFlag=true.
  • Loading branch information
khmarbaise committed Aug 18, 2016
1 parent c60dd5a commit c77149d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void testCreateJob() throws Exception {
jenkinsRule.getInstance().createProject(FreeStyleProject.class, JENKINS_TEST_JOB);
String sourceXml = server.getJobXml(JENKINS_TEST_JOB);

server.createJob(jobName, sourceXml);
server.createJob(jobName, sourceXml, true);

Map<String, Job> jobs = server.getJobs();
assertTrue(jobs.containsKey(jobName));
Expand Down

0 comments on commit c77149d

Please sign in to comment.