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

Pre and post steps/stage handling

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      As discussed with Andrew Bayer,

      • Pre steps to be exposed as synthetic stages
      • * Pre stage to have action to indicate they are pre stages
      • postBuild stage to have action to indicate its postBuild stage
      • Any Kyoto generated synthetic stage to have action to indicate it was generated by Kyoto

      This will enable BO to provide appropriate visualization of these stages.

        Attachments

          Issue Links

            Activity

            Hide
            abayer Andrew Bayer added a comment -
            Show
            abayer Andrew Bayer added a comment - Work-in-progress on PR up - https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/13
            Show
            abayer Andrew Bayer added a comment - New PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/47
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy
            http://jenkins-ci.org/commit/pipeline-model-definition-plugin/b7c196b003815b1ad3153629bd928c5abb662d2e
            Log:
            Run empty stages for conditionally-skipped stages.

            This is just a band-aid until JENKINS-38153 lands with a better
            solution involving tags metadata and all that jazz, but this'll at
            least make sure our execution plan matches reality for now.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy http://jenkins-ci.org/commit/pipeline-model-definition-plugin/b7c196b003815b1ad3153629bd928c5abb662d2e Log: Run empty stages for conditionally-skipped stages. This is just a band-aid until JENKINS-38153 lands with a better solution involving tags metadata and all that jazz, but this'll at least make sure our execution plan matches reality for now.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pipeline-model-api/pom.xml
            pipeline-model-declarative-agent/pom.xml
            pipeline-model-definition/pom.xml
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/SyntheticStage.groovy
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/Utils.groovy
            pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy
            pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/DockerPipelineScript.groovy
            pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java
            pipeline-model-definition/src/test/resources/noToolSyntheticStage.groovy
            pipeline-model-definition/src/test/resources/syntheticStages.groovy
            pom.xml
            http://jenkins-ci.org/commit/pipeline-model-definition-plugin/f88d2ccd2b235030a604d7e6a6f9a4cb2f1b4f99
            Log:
            [FIXED JENKINS-38153] Added synthetic stages using TagsAction.

            This is downstream of https://github.com/jenkinsci/workflow-api-plugin/pull/24

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-api/pom.xml pipeline-model-declarative-agent/pom.xml pipeline-model-definition/pom.xml pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/SyntheticStage.groovy pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/Utils.groovy pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/ModelInterpreter.groovy pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/agent/impl/DockerPipelineScript.groovy pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/BasicModelDefTest.java pipeline-model-definition/src/test/resources/noToolSyntheticStage.groovy pipeline-model-definition/src/test/resources/syntheticStages.groovy pom.xml http://jenkins-ci.org/commit/pipeline-model-definition-plugin/f88d2ccd2b235030a604d7e6a6f9a4cb2f1b4f99 Log: [FIXED JENKINS-38153] Added synthetic stages using TagsAction. This is downstream of https://github.com/jenkinsci/workflow-api-plugin/pull/24

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                vivek Vivek Pandey
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: