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

"Copy existing job" doesn't copy ANT_OPTS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      see subject

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Given the way copying works, this is bit unlikely.

          I suspect this is an UI issue — ANT_OPTS is hidden in the "advanced" menu. Can
          you check?

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Given the way copying works, this is bit unlikely. I suspect this is an UI issue — ANT_OPTS is hidden in the "advanced" menu. Can you check?
          Hide
          skaffman skaffman added a comment -

          You're right, it's not the copying, it's the saving of AND_OPTS itself that
          seems to be broken.

          If I create a new job, or edit an existing one, and add the ANT_OPTS value then
          Save, then go back to the job configuration, the value is gone.

          Show
          skaffman skaffman added a comment - You're right, it's not the copying, it's the saving of AND_OPTS itself that seems to be broken. If I create a new job, or edit an existing one, and add the ANT_OPTS value then Save, then go back to the job configuration, the value is gone.
          Hide
          skaffman skaffman added a comment -

          It seems that the ANT_OPTS value is persisted fine in config.xml, but the GUI
          doesn't pick it up when you go back to edit the job configuration.

          Show
          skaffman skaffman added a comment - It seems that the ANT_OPTS value is persisted fine in config.xml, but the GUI doesn't pick it up when you go back to edit the job configuration.
          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          Fixed in 1.104.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - Fixed in 1.104.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            skaffman skaffman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: