Skip to content

Scripts for parsing Jenkins web page views and mass job XML configuration download, creating one big XML with all the jobs. XML configurations are being manipulated and uploaded back to Jenkins. Comes handy with hundreds of jobs on hand...

License

Notifications You must be signed in to change notification settings

Karm/jenkins-snippet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kerberos enabled Jenkins job configuration manipulator :-)

HOW-TO

  • Take a look into properties.py and sf_downloader.py
  • Run sf_downloader.py
  • e.g. python src/sf_downloader.py '^(?!.*noe).*$' will download all jobs but those with noe in their name.
  • Make any additional XML transformations you like
  • Run sf_uploader.py

Footnote

  • I have updated dozens of jobs with this tool, however, use at your own risk...
  • Some python libs, available as rpms, you will need:
    • python-lxml
    • python-kerberos
    • python-urllib2_kerberos

About

Scripts for parsing Jenkins web page views and mass job XML configuration download, creating one big XML with all the jobs. XML configurations are being manipulated and uploaded back to Jenkins. Comes handy with hundreds of jobs on hand...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •