Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 3c85fd74cbaf38e39e8675b15dfe6ef6ada91081
      
https://github.com/jenkinsci/jenkins/commit/3c85fd74cbaf38e39e8675b15dfe6ef6ada91081
  Author: Craig Ringer <cr...@2ndquadrant.com>
  Date:   2016-09-22 (Thu, 22 Sep 2016)

  Changed paths:
    M core/src/main/java/hudson/tasks/CommandInterpreter.java

  Log Message:
  -----------
  JENKINS-23896 Give CommandInterpreter.join(Proc p) access to Build

The CommandInterpreter.join(Proc p) method is supposed to be an extension
point to allow an UNSTABLE build result to be set, but it has no access to
the Build object with which to do so.

Add a getBuild() method that returns the build passed to perform(...). A better
API would be a new join(...) with more arguments, but that'd break out of tree
plugins that might already be using this for other purposes.


  Commit: e773eb44621ded75e66e4d4b3aa6f7a48bebcb49
      
https://github.com/jenkinsci/jenkins/commit/e773eb44621ded75e66e4d4b3aa6f7a48bebcb49
  Author: Craig Ringer <cr...@2ndquadrant.com>
  Date:   2016-09-22 (Thu, 22 Sep 2016)

  Changed paths:
    M core/src/main/java/hudson/tasks/Shell.java
    M core/src/main/resources/hudson/tasks/Shell/config.groovy
    M test/src/test/java/hudson/tasks/ShellTest.java

  Log Message:
  -----------
  JENKINS-23786: Allow Shell jobs to set a return code for unstable

Currently a shell job has to make a HTTP call back to Jenkins to set
its build result as unstable. This is slow, requires the slave to
have access to the master's HTTP interface, and is fiddly. The
alternative, the TextFinder plugin, is no better.

Instead, allow a job to set the build result to unstable with a
return value.

Adds the Advanced parameter "unstableReturn" which, if non-zero,
is the code the script must return to set the build as unstable.


  Commit: 4b067fdf15fc1568ce27a921e41047201047507b
      
https://github.com/jenkinsci/jenkins/commit/4b067fdf15fc1568ce27a921e41047201047507b
  Author: Craig Ringer <cr...@2ndquadrant.com>
  Date:   2016-09-22 (Thu, 22 Sep 2016)

  Changed paths:
    M core/src/main/java/hudson/tasks/BatchFile.java
    M core/src/main/resources/hudson/tasks/BatchFile/config.jelly
    M core/src/main/resources/hudson/tasks/BatchFile/config.properties
    M test/src/test/java/hudson/tasks/BatchFileTest.java

  Log Message:
  -----------
  JENKINS-23786: Allow batch files to set an exit code for unstable builds


  Commit: 359548efa074f9ed3537552f5f9f2b51faf33e25
      
https://github.com/jenkinsci/jenkins/commit/359548efa074f9ed3537552f5f9f2b51faf33e25
  Author: stochmim <mateusz.stochm...@tomtom.com>
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
    M core/src/main/java/hudson/tasks/BatchFile.java
    M core/src/main/java/hudson/tasks/CommandInterpreter.java
    M core/src/main/java/hudson/tasks/Shell.java
    M core/src/main/resources/hudson/tasks/BatchFile/config.jelly
    M core/src/main/resources/hudson/tasks/BatchFile/config.properties
    A core/src/main/resources/hudson/tasks/BatchFile/help-unstableReturn.html
    M core/src/main/resources/hudson/tasks/Messages.properties
    M core/src/main/resources/hudson/tasks/Shell/config.groovy
    M core/src/main/resources/hudson/tasks/Shell/config.properties
    A core/src/main/resources/hudson/tasks/Shell/help-unstableReturn.html
    M test/src/test/java/hudson/tasks/BatchFileTest.java
    M test/src/test/java/hudson/tasks/ShellTest.java

  Log Message:
  -----------
  Fix for 23786 Permit 'Execute shell' jobs to return 2 for 'unstable'

refactor and fix

remove duplication and fix FB errors

fix integration tests

consistency fixes

consistency fixes

changed error message to warning

fix comment and warning message

fix comment

fix junit tests

fix junit tests

fix junit tests

fix junit tests

clean import

a commit to trigger jenkins checks


  Commit: 720b75f096e573b102323b529ec952e2106d4a57
      
https://github.com/jenkinsci/jenkins/commit/720b75f096e573b102323b529ec952e2106d4a57
  Author: Oleg Nenashev <o.v.nenas...@gmail.com>
  Date:   2016-10-11 (Tue, 11 Oct 2016)

  Changed paths:
    M core/src/main/java/hudson/tasks/BatchFile.java
    M core/src/main/java/hudson/tasks/CommandInterpreter.java
    M core/src/main/java/hudson/tasks/Shell.java
    M core/src/main/resources/hudson/tasks/BatchFile/config.jelly
    A core/src/main/resources/hudson/tasks/BatchFile/help-unstableReturn.html
    M core/src/main/resources/hudson/tasks/Messages.properties
    M core/src/main/resources/hudson/tasks/Shell/config.groovy
    M core/src/main/resources/hudson/tasks/Shell/config.properties
    A core/src/main/resources/hudson/tasks/Shell/help-unstableReturn.html
    M test/src/test/java/hudson/tasks/BatchFileTest.java
    M test/src/test/java/hudson/tasks/ShellTest.java

  Log Message:
  -----------
  Merge pull request #2563 from stochmial/shell-setunstable-rebased

[JENKINS-23786] Permit the Shell plugin to set a build result as unstable via a 
return code


Compare: 
https://github.com/jenkinsci/jenkins/compare/74c534207ca0...720b75f096e5

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to