Skip to content
Browse files

JENKINS-13798 Set the job status based on the Jenkins Result

  • Loading branch information
rossrowe committed Jun 9, 2012
1 parent 9177a5f commit f9d7cb1ea1be53f6b2c353c21dc3f7684d1efaa5
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/hudson/plugins/sauce_ondemand/
@@ -223,6 +223,7 @@ public boolean tearDown(AbstractBuild build, BuildListener listener) throws IOEx
private void processBuildOutput(AbstractBuild build) {
JobFactory factory = new JobFactory(new Credential(getUserName(), getApiKey()));
//todo we only want to iterate over lines if we're not using junit test results

String[] array = logParser.getLines().toArray(new String[logParser.getLines().size()]);
List<String[]> sessionIDs = SauceOnDemandReportFactory.findSessionIDs(null, array);

@@ -238,7 +239,7 @@ private void processBuildOutput(AbstractBuild build) {
true,//todo how can we tell if the build has passed or failed here?
Collections.<String, Object>emptyMap()));
} catch (IOException e) {

0 comments on commit f9d7cb1

Please sign in to comment.
You can’t perform that action at this time.