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

Fix createSlave for RestartableJenkinsRule

    Details

    • Similar Issues:

      Description

      If you use JenkinsRule.createSlave (or createOnlineSlave) from a test based on RestartableJenkinsRule, it seems to work during the first session. But then the whole slave directory gets quietly deleted during the restart.

      Either this deletion should be suppressed, or there should be an alternate method to create a slave that actually survives the restart intact.

      See WorkflowTest.buildShellScriptAcrossRestart and BindingStepTest.cleanupAfterRestart.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Issue Type Improvement [ 4 ] Bug [ 1 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-25975 [ JENKINS-25975 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 160464 ] JNJira + In-Review [ 180362 ]
            abayer Andrew Bayer made changes -
            Labels testing workflow pipeline testing workflow
            abayer Andrew Bayer made changes -
            Labels pipeline testing workflow pipeline testing
            oleg_nenashev Oleg Nenashev made changes -
            Component/s jenkins-test-harness [ 21462 ]
            Component/s core [ 15593 ]

              People

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

                Dates

                • Created:
                  Updated: