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

Rerun a build with script edits

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • pipeline
    • None

    Description

      Various people have asked for the ability to perform a new Pipeline build with an edited script. This is especially useful when developing a Jenkinsfile or using standalone CpsScmScriptDefinition, since you do not need to commit every proposed change to SCM. (For example, you might merely want to add an echo statement to diagnose some problem.)

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Jesse Glick
            Path:
            CHANGES.md
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/CpsFlowExecutionTest.java
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayActionTest.java
            cps/pom.xml
            cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java
            cps/src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java
            cps/src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayCause.java
            cps/src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayCommand.java
            cps/src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayFlowFactoryAction.java
            cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/LoadStepExecution.java
            cps/src/main/js/samples.js
            cps/src/main/js/workflow-editor.js
            cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition/config.jelly
            cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/Messages.properties
            cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/diff.jelly
            cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/index.jelly
            cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/index.properties
            cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayCause/description.jelly
            cps/src/main/resources/org/jenkinsci/plugins/workflow/editor/taglib
            cps/src/main/resources/org/jenkinsci/plugins/workflow/editor/workflow-editor.jelly
            demo/README.md
            demo/repo/Jenkinsfile
            demo/repo/servers.groovy
            multibranch/pom.xml
            multibranch/src/test/java/org/jenkinsci/plugins/workflow/multibranch/ReplayActionTest.java
            pom.xml
            http://jenkins-ci.org/commit/workflow-plugin/a62e52a222e9e74932149afd0d56986401490845
            Log:
            Merge pull request #334 from jglick/rerun

            JENKINS-32727 Rerun a build with script edits

            Compare: https://github.com/jenkinsci/workflow-plugin/compare/a05eb6a10868...a62e52a222e9

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: CHANGES.md aggregator/src/test/java/org/jenkinsci/plugins/workflow/CpsFlowExecutionTest.java aggregator/src/test/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayActionTest.java cps/pom.xml cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java cps/src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java cps/src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayCause.java cps/src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayCommand.java cps/src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayFlowFactoryAction.java cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/LoadStepExecution.java cps/src/main/js/samples.js cps/src/main/js/workflow-editor.js cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/CpsFlowDefinition/config.jelly cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/Messages.properties cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/diff.jelly cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/index.jelly cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/index.properties cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayCause/description.jelly cps/src/main/resources/org/jenkinsci/plugins/workflow/editor/taglib cps/src/main/resources/org/jenkinsci/plugins/workflow/editor/workflow-editor.jelly demo/README.md demo/repo/Jenkinsfile demo/repo/servers.groovy multibranch/pom.xml multibranch/src/test/java/org/jenkinsci/plugins/workflow/multibranch/ReplayActionTest.java pom.xml http://jenkins-ci.org/commit/workflow-plugin/a62e52a222e9e74932149afd0d56986401490845 Log: Merge pull request #334 from jglick/rerun JENKINS-32727 Rerun a build with script edits Compare: https://github.com/jenkinsci/workflow-plugin/compare/a05eb6a10868...a62e52a222e9

            People

              jglick Jesse Glick
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: