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

Custom workspace setting disappears randomly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: jobgenerator-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.549 on Ubuntu Precise
      Jenkins 1.590 on Windows Server 2012
    • Similar Issues:

      Description

      I have around a dozen job generator jobs started by a starter job. All of these job generator jobs have the custom workspace directory set with multiple variables inside (taken from the starter job), and these get expanded well in the generated jobs.
      Something happens after a few invocations, and the generated jobs don't get the custom workspace setting. This causes build FAILURE, and when I check the reason, I usually find that the custom workspace setting has disappeared from the generator jobs. Sometimes reloading the configuration from disk works, but sometimes the setting disappears first from the config.xml files while still showing up in the job generator configuration page. The change occurs in every generator job started by the starter job.

      Other configuration options seem unaffected.

      Version: 1.22 (had the same issue with 1.20)

        Attachments

          Issue Links

            Activity

            Hide
            matepeter Peter Mate added a comment -

            We also have the same problem with Job Generator version 1.22

            Show
            matepeter Peter Mate added a comment - We also have the same problem with Job Generator version 1.22
            Hide
            matepeter Peter Mate added a comment -

            We tried to debug the issue and made a pull request which fixed the issue for us.
            Pull request

            Show
            matepeter Peter Mate added a comment - We tried to debug the issue and made a pull request which fixed the issue for us. Pull request

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mde Dezso Moldvai
              Votes:
              9 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated: