项目作者: igorbannicov

项目描述 :
Jenkins + Bitbucket script
高级语言: Python
项目地址: git://github.com/igorbannicov/jbb.git
创建时间: 2019-03-21T23:08:21Z
项目社区:https://github.com/igorbannicov/jbb

开源协议:

下载


jbb

Jenkins + Bitbucket stash scripts

if anyone would find this useful - feel free to use!

clean_all.py - deletes ALL jobs, folders and views from Jenkins

clean_view.py - deletes ALL jobs and folders from a view, and after that deletes the view

view_export.py - allows to select a view and creates a full dump of ordered(!) folders and jobs structure of that view locally (in “imports” subfolder)

view_import.py - imports the structure of all(!) views in subfolder “imports” to Jenkins (creates views, folders and jobs)

main.py - allows to view, create from template and delete Jenkins jobs/folders and also allows to view, create or delete a PR notification in Bitbucket repositories.

The code is not ideal at all, it was written just to work Feel free to improve it!