Skip to content

Instantly share code, notes, and snippets.

View vickychijwani's full-sized avatar

Vicky Chijwani vickychijwani

View GitHub Profile
@vickychijwani
vickychijwani / Output with PyYAML 3.12
Last active June 27, 2018 10:18
This example (slight modification on this JJB test fixture: https://github.com/openstack-infra/jenkins-job-builder/blob/master/tests/yamlparser/fixtures/complete001.yaml) works with JJB 2.0.10 + PyYAML 3.12, but not with PyYAML 4.1 (released 12 hours ago)
$ jenkins-jobs --flush-cache -l DEBUG --conf ./config.ini test -o /tmp/jjb-test/example . \*
DEBUG:stevedore.extension:found extension EntryPoint.parse('delete = jenkins_jobs.cli.subcommand.delete:DeleteSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('delete-all = jenkins_jobs.cli.subcommand.delete_all:DeleteAllSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('get-plugins-info = jenkins_jobs.cli.subcommand.get_plugins_info:GetPluginsInfoSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('list = jenkins_jobs.cli.subcommand.list:ListSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('test = jenkins_jobs.cli.subcommand.test:TestSubCommand')
DEBUG:stevedore.extension:found extension EntryPoint.parse('update = jenkins_jobs.cli.subcommand.update:UpdateSubCommand')
INFO:jenkins_jobs.cli.subcommand.update:Updating jobs in ['/tmp/jjb-test', '/tmp/jjb-test/blah', '/tmp/jjb-test/example'] (['*'])
DEBUG:jenkins_jobs.parser:Parsing YA