You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am using a your excellent api to create a tool that automaticaly create jobs based on branche in a repository. Everythoing works fine except the fact that all jobs created with the copy() method are not runable in the jenkins interface, there is no play button to launch those jobs and even if the template job had a trigger like scm changes, it still doesnt launch the jobs crated with this method!
I have to disable and enable the copy (using the api-methods) for it to be runnable, is it something that is expected or maybe i am doing something wrong when updating the configuration?
The text was updated successfully, but these errors were encountered:
Copied jobs are disabled by default (by Jenkins, not this library), the reasoning being that the job could possibly conflict with the from job.
Enable not working by default looks like a bug in Jenkins, although I couldn't find it reported in Jira yet, but definitely referenced elsewhere on the internet.
# enable the job, there seems to be a bug where we need to first disable and then enable`$CURL -o /dev/null --data disable "$HUDSON_URL/job/$TO_PROJECT/disable"``$CURL -o /dev/null --data enable"$HUDSON_URL/job/$TO_PROJECT/enable"`
Hello,
i am using a your excellent api to create a tool that automaticaly create jobs based on branche in a repository. Everythoing works fine except the fact that all jobs created with the copy() method are not runable in the jenkins interface, there is no play button to launch those jobs and even if the template job had a trigger like scm changes, it still doesnt launch the jobs crated with this method!
I have to disable and enable the copy (using the api-methods) for it to be runnable, is it something that is expected or maybe i am doing something wrong when updating the configuration?
The text was updated successfully, but these errors were encountered: