Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25738

Add Whitelisted methods to get the build result

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Some of my post build scripts perform different actions depending on the build result. With the new security updates introduced in 2.0, there are no whitelisted methods of retrieving the build result.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: bkrisch
          Path:
          src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java
          src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder/help.jelly
          http://jenkins-ci.org/commit/groovy-postbuild-plugin/ec6cd32ac066303ca08ada55efa5d218eee1d78a
          Log:
          JENKINS-25738 added getResult() as a whitelisted method

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: bkrisch Path: src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder/help.jelly http://jenkins-ci.org/commit/groovy-postbuild-plugin/ec6cd32ac066303ca08ada55efa5d218eee1d78a Log: JENKINS-25738 added getResult() as a whitelisted method
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ikedam
          Path:
          src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java
          src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder/help.jelly
          http://jenkins-ci.org/commit/groovy-postbuild-plugin/3535afcc9661fdbb1cf971323ab4c0a4a37b5592
          Log:
          Merge pull request #19 from krische/master

          JENKINS-25738 added getResult() as a whitelisted method

          Compare: https://github.com/jenkinsci/groovy-postbuild-plugin/compare/defcf33e41d5...3535afcc9661

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder/help.jelly http://jenkins-ci.org/commit/groovy-postbuild-plugin/3535afcc9661fdbb1cf971323ab4c0a4a37b5592 Log: Merge pull request #19 from krische/master JENKINS-25738 added getResult() as a whitelisted method Compare: https://github.com/jenkinsci/groovy-postbuild-plugin/compare/defcf33e41d5...3535afcc9661
          Hide
          ikedam ikedam added a comment -

          Released in 2.3.
          It will be available in a day.

          Show
          ikedam ikedam added a comment - Released in 2.3. It will be available in a day.
          Hide
          ikedam ikedam added a comment -

          2.3 -> 2.2

          Show
          ikedam ikedam added a comment - 2.3 -> 2.2

            People

            Assignee:
            wolfs Stefan Wolf
            Reporter:
            krische Brian Krische
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: