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

`Workspace missing` exception caught during Jenkins job run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • pipeline
    • Linux

      Getting "Exception caught: missing workspace /var/lib/jenkins-slave/workspace/SMOKE_TEST on Slave-LG-32" the exception,  in scripted groovy pipeline execution.

      As part of the build stage, we are running a docker container which executes the test cases and we see that the test case terminates abruptly and logs which are copied to the workspace also lost. 

      In our case, we want to explicitly clean up the workspace after copying the logs. 

      In which cases the workspace gets cleaned up?. How to avoid this cleanup?.

       

       

       

            Unassigned Unassigned
            gowsalai gowsalai m
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: