[jbosstools-issues] [JBoss JIRA] (JBIDE-25322) Jenkins Job Builder proof of concept

Martin Malina (JIRA) issues at jboss.org
Wed Nov 15 10:44:01 EST 2017


    [ https://issues.jboss.org/browse/JBIDE-25322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490497#comment-13490497 ] 

Martin Malina commented on JBIDE-25322:
---------------------------------------

I have a working demo. This is the jenkins job:
https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/CentralCI_infra/job/jenkins-job-builder/
It uses jobs defined in this repo:
https://gitlab.mw.lab.eng.bos.redhat.com/mmalina/dev-platform-jenkins-jobs 
Currently it only updates this job:
https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/mmalina-experiment/

In theory, Jenkins Job Builder should only touch jobs that were set up by it. According to documentation, JJB should be able to tell which those are based on a string appended to job descriptions of jobs maintained by it. I did not spot any such thing in the testing job. But JJB will still not delete anything unless you explicitly tell it to. Normally it will just update all the jobs that changed since the last time (for this, it maintains a cache, but we disable the cache, because if we use different slaves, it wouldn't work, so all jobs from the repo are updated always).

> Jenkins Job Builder proof of concept 
> -------------------------------------
>
>                 Key: JBIDE-25322
>                 URL: https://issues.jboss.org/browse/JBIDE-25322
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: qa
>            Reporter: Pavol Srna
>            Assignee: Martin Malina
>             Fix For: 4.5.2.AM1
>
>
> Jenkins Job Builder
> https://docs.openstack.org/infra/jenkins-job-builder/
> Jenkins Job Wrecker
> https://github.com/ktdreyer/jenkins-job-wrecker
>  - for converting existing jobs xml config to yaml



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list