Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

jenkins_job unable to pretech jobs contained in folders #541

Closed
jhoblitt opened this issue Mar 29, 2016 · 1 comment · Fixed by #544
Closed

jenkins_job unable to pretech jobs contained in folders #541

jhoblitt opened this issue Mar 29, 2016 · 1 comment · Fixed by #544
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@jhoblitt
Copy link
Member

The CLI jar list-jobs option returns top level folder names but does not recursively list nested jobs or folders. This causes jenkins_job to attempt to recreate existing jobs which ultimately fails.

Error: /Stage[main]/Jenkins_demo::Profile::Master/Jenkins_job[seeds/dm-jobs]: Could not evaluate: Execution of '/bin/java -jar /usr/lib/jenkins/jenkins-cli.jar -s http://localhost:8080 -i /usr/lib/jenkins/admin_private_key create-job seeds/dm-jobs' returned 4: ERROR: Job 'seeds/dm-jobs' already exists
@jhoblitt jhoblitt self-assigned this Mar 29, 2016
@jhoblitt jhoblitt added bug Something isn't working enhancement New feature or request xtypes labels Mar 29, 2016
@jhoblitt
Copy link
Member Author

#418 may resolve this problem as a side-effect

@jhoblitt jhoblitt added this to the 1.7.0 - Oddjob milestone Apr 1, 2016
@jhoblitt jhoblitt changed the title jenkins_jobs unable to pretech jobs contained in folders jenkins_job unable to pretech jobs contained in folders Apr 1, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant