creating jenkins jobs with ansible

前端 未结 3 1682
后悔当初
后悔当初 2021-01-13 10:17

I\'m working on a project to deploy a jenkins CI server on centos7 using ansible And I\'m having problems creating jenkins jobs from an xml template using ansible.

E

3条回答
  •  天命终不由人
    2021-01-13 10:56

    I manage my jenkins CI/CD pipelines and setup with ansible, and I rely heavily on available libraries (groovy DSL, python jenkins-job-builder) and template the guts of the the jenkins XML config using jinja2. I got asked to showcase what can be done with ansible at a local meetup, and have been working some code that I will be delivering and sharing at that meetup in the new year. I seriously think this stuff could help you a lot, I currently use this setup in my current project and can't imagine managing jenkins any other way.

    https://github.com/Azulinho/ansible-jenkins-showcase

提交回复
热议问题