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

Multiple workspaces created for same job.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • git-client-plugin
    • None

      Hi All,

      I am creating Jenkins pipeline in which I have 2 stages :

      1) Git Checkout

      2) Package (.war) built using maven

      Once checkout is completed in stage 1) the repository got checked out in the workspace with name "master-platform". Till now, all seems fine.

      But when stage 2) got initiated, the workspace have multiple directories (master-platform@2, master-platform@2@tmp) starting with job names. Instead of cd'ing into job workspace to work on cloned code, it is creating other dir and cd'ing into it.

      Example : /home/jenkins/workspace/master-platform@2@tmp/durable-5c94b25f/script.sh: line 5: cd: ssd-v3: No such file or directory

      This issue is failing my builds as actual code is not available to the package stage.

      Can any-one please help me out in this issue ?

      FYI, there are no concurrent builds here as I googled in few of the blogs/stackoverflow.

      Thanks

      Anuj

            Unassigned Unassigned
            anujgupta Anuj Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: