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

Jobs are disabled when added within folders via ssh-CLI copy-job folder even if has disabled=false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cli
    • None

      I have job-templates in folder Templates. Jobs there are enabled.

      After copying that whole folder to the new name, i.e. Project1, jobs are copied too, but inspite of their disabled flag is false (so they are Enabled), they are seen as Disabled. To make it enabled - either enter Configure and Save then, or use CLI disable-job and enable-job again.

      Seems like it needs to check disabled flag during copy folder this job belong to.

            Unassigned Unassigned
            mcgru Ivan Grushin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: