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

Utility method in JenkinsRule to wait for build to complete

    Details

    • Similar Issues:

      Description

      See BindingStepTest.cleanupAfterRestart for example.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/SingleJobTestBase.java
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowTest.java
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/PushdStepTest.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/eeeb0b13a82f05d688ea20d804ec65577587a9fb
            Log:
            JENKINS-26399 JenkinsRuleExt.waitForCompletion/Message
            Originally-Committed-As: fac5ce62db53f18cabb2347f0bb6ae9e3f3ea1f9

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: aggregator/src/test/java/org/jenkinsci/plugins/workflow/SingleJobTestBase.java aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowTest.java aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/PushdStepTest.java http://jenkins-ci.org/commit/workflow-cps-plugin/eeeb0b13a82f05d688ea20d804ec65577587a9fb Log: JENKINS-26399 JenkinsRuleExt.waitForCompletion/Message Originally-Committed-As: fac5ce62db53f18cabb2347f0bb6ae9e3f3ea1f9
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/SingleJobTestBase.java
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowTest.java
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/PushdStepTest.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/7ef7a8a1bbc1a2e68fdb452ba645297f67ae1772
            Log:
            Merge pull request #146 from jglick/standard-test-utils-JENKINS-26399

            JENKINS-26399 Standard test utils
            Originally-Committed-As: 2f6a9d24d2c8432e9b0abf6a31e00067fafd7ae0

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: aggregator/src/test/java/org/jenkinsci/plugins/workflow/SingleJobTestBase.java aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowTest.java aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/PushdStepTest.java http://jenkins-ci.org/commit/workflow-cps-plugin/7ef7a8a1bbc1a2e68fdb452ba645297f67ae1772 Log: Merge pull request #146 from jglick/standard-test-utils- JENKINS-26399 JENKINS-26399 Standard test utils Originally-Committed-As: 2f6a9d24d2c8432e9b0abf6a31e00067fafd7ae0
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/PushdStepTest.java
            http://jenkins-ci.org/commit/workflow-multibranch-plugin/fe863c4a5ba855d65cd68588a71e5293f0bdf641
            Log:
            JENKINS-26137 At least during restarting tests, serialization errors seem to be due to there being no PickleFactory’s installed.
            Merely calling PickleFactory.all() from the RiverWriter constructor, rather than later, seems to let PushdStepTest.restarting pass (JENKINS-26051).
            Additionally asserting that there are in fact some factories loaded, since there is sure to be trouble if there are not.
            Also need to wait for the build to finish (JENKINS-26399).
            Originally-Committed-As: 3d3fa348ed9c34e4492b2733802bc47416824e30

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/PushdStepTest.java http://jenkins-ci.org/commit/workflow-multibranch-plugin/fe863c4a5ba855d65cd68588a71e5293f0bdf641 Log: JENKINS-26137 At least during restarting tests, serialization errors seem to be due to there being no PickleFactory’s installed. Merely calling PickleFactory.all() from the RiverWriter constructor, rather than later, seems to let PushdStepTest.restarting pass ( JENKINS-26051 ). Additionally asserting that there are in fact some factories loaded, since there is sure to be trouble if there are not. Also need to wait for the build to finish ( JENKINS-26399 ). Originally-Committed-As: 3d3fa348ed9c34e4492b2733802bc47416824e30
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/PushdStepTest.java
            http://jenkins-ci.org/commit/workflow-multibranch-plugin/57db0a1d1854df30ad5e55ef9c102303f27e8019
            Log:
            JENKINS-26399 JenkinsRuleExt.waitForCompletion/Message
            Originally-Committed-As: fac5ce62db53f18cabb2347f0bb6ae9e3f3ea1f9

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/PushdStepTest.java http://jenkins-ci.org/commit/workflow-multibranch-plugin/57db0a1d1854df30ad5e55ef9c102303f27e8019 Log: JENKINS-26399 JenkinsRuleExt.waitForCompletion/Message Originally-Committed-As: fac5ce62db53f18cabb2347f0bb6ae9e3f3ea1f9
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowRunTest.java
            http://jenkins-ci.org/commit/workflow-job-plugin/ce70be6802a77f1d0b2ac5a245d5685059ea129f
            Log:
            Merge pull request #146 from jglick/standard-test-utils-JENKINS-26399

            JENKINS-26399 Standard test utils
            Originally-Committed-As: 2f6a9d24d2c8432e9b0abf6a31e00067fafd7ae0

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: aggregator/src/test/java/org/jenkinsci/plugins/workflow/WorkflowRunTest.java http://jenkins-ci.org/commit/workflow-job-plugin/ce70be6802a77f1d0b2ac5a245d5685059ea129f Log: Merge pull request #146 from jglick/standard-test-utils- JENKINS-26399 JENKINS-26399 Standard test utils Originally-Committed-As: 2f6a9d24d2c8432e9b0abf6a31e00067fafd7ae0

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: