-
Bug
-
Resolution: Unresolved
-
Minor
-
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.
[JENKINS-73704] Jobs are disabled when added within folders via ssh-CLI copy-job folder even if has disabled=false
Summary | Original: Jobs are disabled when added via ssh-CLI even if has disabled=false | New: Jobs are disabled when added within folders via ssh-CLI copy-job folder even if has disabled=false |
Description |
Original:
When use ssh CLI for adding projects (with enable-job command), they appear to be disabled even if "<disabled>false</disabled>" set in config.xml .
After enter Configure, it is showed as Enabled, and Saving it turns it to enabled state. Also, when such disabled job is copied via ssh-CLI (with copy-job command), it is showed as Enabled (that is OK). Please, fix that behaviour - make enable-job command work without additional actions. |
New:
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, 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. |
Description |
Original:
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, 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. |
New:
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. |