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

RestartableJenkinsRule should allow steps where Jenkins is not expected to start correctly

    Details

    • Sprint:
      Evergreen - Milestone 1
    • Similar Issues:

      Description

      In some step, I am storing bad things on the disk that I would like to check do prevent Jenkins from starting up. Currently this seems hard to achieve without using powermock or so.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Baptiste Mathus
            Path:
            src/main/java/org/jvnet/hudson/test/RestartableJenkinsRule.java
            http://jenkins-ci.org/commit/jenkins-test-harness/61a2b959388ed584ce327ff77ff057f6a6fd61de
            Log:
            JENKINS-50476 offer a way to assert that Jenkins won't start

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: src/main/java/org/jvnet/hudson/test/RestartableJenkinsRule.java http://jenkins-ci.org/commit/jenkins-test-harness/61a2b959388ed584ce327ff77ff057f6a6fd61de Log: JENKINS-50476 offer a way to assert that Jenkins won't start
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Baptiste Mathus
            Path:
            src/main/java/org/jvnet/hudson/test/RestartableJenkinsRule.java
            http://jenkins-ci.org/commit/jenkins-test-harness/15a06ecccdcd996df444db6a2e08bd3a28607c45
            Log:
            Merge pull request #96 from batmat/JENKINS-50476

            JENKINS-50476 offer a way to assert that Jenkins won't start

            Compare: https://github.com/jenkinsci/jenkins-test-harness/compare/2e8d1af86c7f...15a06ecccdcd

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Baptiste Mathus Path: src/main/java/org/jvnet/hudson/test/RestartableJenkinsRule.java http://jenkins-ci.org/commit/jenkins-test-harness/15a06ecccdcd996df444db6a2e08bd3a28607c45 Log: Merge pull request #96 from batmat/ JENKINS-50476 JENKINS-50476 offer a way to assert that Jenkins won't start Compare: https://github.com/jenkinsci/jenkins-test-harness/compare/2e8d1af86c7f...15a06ecccdcd
            Hide
            batmat Baptiste Mathus added a comment -

            Released in 2.36

            Show
            batmat Baptiste Mathus added a comment - Released in 2.36

              People

              • Assignee:
                batmat Baptiste Mathus
                Reporter:
                batmat Baptiste Mathus
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: