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

Workflow support for Groovy Postbuild

    Details

    • Similar Issues:

      Description

      The groovy post build action is currently not available in a Jenkins Workflow. In order to be compatible, the plug in must implement SimpleBuildStep.
      see https://github.com/jenkinsci/workflow-plugin/blob/master/basic-steps/CORE-STEPS.md#adding-support-from-plugins for details

      Also see
      https://github.com/jenkinsci/workflow-plugin/blob/master/COMPATIBILITY.md

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            pom.xml
            src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java
            src/main/java/org/jvnet/hudson/plugins/groovypostbuild/WorkflowManager.java
            src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/WorkflowManager/help.jelly
            src/test/java/org/jvnet/hudson/plugins/groovypostbuild/WorkflowTest.java
            http://jenkins-ci.org/commit/groovy-postbuild-plugin/fd4558976706395cd6752720277a90eef92a7be9
            Log:
            Merge pull request #24 from jglick/workflow-JENKINS-26918

            JENKINS-26918 Workflow support

            Compare: https://github.com/jenkinsci/groovy-postbuild-plugin/compare/a12047227760...fd4558976706

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: pom.xml src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java src/main/java/org/jvnet/hudson/plugins/groovypostbuild/WorkflowManager.java src/main/resources/org/jvnet/hudson/plugins/groovypostbuild/WorkflowManager/help.jelly src/test/java/org/jvnet/hudson/plugins/groovypostbuild/WorkflowTest.java http://jenkins-ci.org/commit/groovy-postbuild-plugin/fd4558976706395cd6752720277a90eef92a7be9 Log: Merge pull request #24 from jglick/workflow- JENKINS-26918 JENKINS-26918 Workflow support Compare: https://github.com/jenkinsci/groovy-postbuild-plugin/compare/a12047227760...fd4558976706
            Hide
            ikedam ikedam added a comment -

            Released groovy-postbuild 2.3.
            You can use manager in workflow scripts.

            Show
            ikedam ikedam added a comment - Released groovy-postbuild 2.3. You can use manager in workflow scripts.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            COMPATIBILITY.md
            http://jenkins-ci.org/commit/workflow-plugin/c4519c3f20066219c2a67c085a4a22eea27d4420
            Log:
            JENKINS-26918 Noting.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/c4519c3f20066219c2a67c085a4a22eea27d4420 Log: JENKINS-26918 Noting.
            Hide
            igorlitmanovich Igor Litmanovich added a comment -

            Hi,

            I understand that Groovy Postbuild is now compatible with pipeline, however I can't find how to add it to my pipeline code. I expected to find a postbuild command in pipeline snippet generator, but it is not there (or at least I cannot find it).

            We have Jenkins Enterprise 2.7.21, Groovy Postbuild 2.3.1.

            Will appreciate any help with this.

             

            Show
            igorlitmanovich Igor Litmanovich added a comment - Hi, I understand that Groovy Postbuild is now compatible with pipeline, however I can't find how to add it to my pipeline code. I expected to find a postbuild command in pipeline snippet generator, but it is not there (or at least I cannot find it). We have Jenkins Enterprise 2.7.21, Groovy Postbuild 2.3.1. Will appreciate any help with this.  
            Hide
            jglick Jesse Glick added a comment -

            Look under Global Variables IIRC.

            Show
            jglick Jesse Glick added a comment - Look under Global Variables IIRC.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                gordin Christoph Vogtländer
              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: