citadel

所属分类:构建工具
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2018-12-11 19:45:23
上 传 者sh-1993
说明:  把你的詹金斯变成特拉维斯!
(Transform your Jenkins into a Travis!)

文件列表:
.pylintrc (12506, 2017-08-29)
citadel-generate (2279, 2017-08-29)
citadel/ (0, 2017-08-29)
citadel/__init__.py (1516, 2017-08-29)
citadel/nodes/ (0, 2017-08-29)
citadel/nodes/__init__.py (48, 2017-08-29)
citadel/nodes/ansible.py (2191, 2017-08-29)
citadel/nodes/branch.py (4418, 2017-08-29)
citadel/nodes/build.py (1246, 2017-08-29)
citadel/nodes/deploy.py (1274, 2017-08-29)
citadel/nodes/environment.py (1116, 2017-08-29)
citadel/nodes/gradle.py (1651, 2017-08-29)
citadel/nodes/language.py (2732, 2017-08-29)
citadel/nodes/maven.py (10452, 2017-08-29)
citadel/nodes/node.py (686, 2017-08-29)
citadel/nodes/nodejs.py (2196, 2017-08-29)
citadel/nodes/npm.py (3209, 2017-08-29)
citadel/nodes/npmrc.py (2988, 2017-08-29)
citadel/nodes/platform.py (1209, 2017-08-29)
citadel/nodes/publish.py (1327, 2017-08-29)
citadel/nodes/pypirc.py (2398, 2017-08-29)
citadel/nodes/rbenv.py (2133, 2017-08-29)
citadel/nodes/root.py (1669, 2017-08-29)
citadel/nodes/rpm.py (2483, 2017-08-29)
citadel/nodes/script.py (846, 2017-08-29)
citadel/nodes/stage.py (598, 2017-08-29)
citadel/nodes/test.py (1236, 2017-08-29)
citadel/nodes/webhook.py (1195, 2017-08-29)
citadel/nodes/wrap.py (1261, 2017-08-29)
citadel/nodes/xcode.py (8916, 2017-08-29)
citadel/parser.py (3985, 2017-08-29)
citadel/scm.py (3455, 2017-08-29)
citadel/templates/ (0, 2017-08-29)
citadel/templates/cocoapods.tpl.sh (853, 2017-08-29)
citadel/templates/gradle_getgradle.tpl.sh (304, 2017-08-29)
citadel/templates/hello.tpl (57, 2017-08-29)
citadel/templates/language_getalternatives.tpl.sh (369, 2017-08-29)
citadel/templates/maven_readapk.tpl.sh (184, 2017-08-29)
... ...

# CITADel CITADel means "Continuous Integration, Testing, And Delivery". Make your Jenkins behave like a Travis! (.. or a Circle, or a Codeship, or a GitLab-CI or something else). It draws inspiration and partially emulates the behaviour of such tools. ## Documentation https://citadel.readthedocs.io ## Motivation https://www.ingtechit.es/joaogrilo/inversion-of-control/ ## Usage Clone it and run it: ``` git clone https://github.com/grilo/citadel.git python citadel/citadel-generate -f | bash ``` It also supports environment variables injection: ``` # Export an environment variable to the whole script ./citadel-generate -e "VARIABLE=value" ``` And since you may want to selectively run specific steps, it supports conditional execution: ``` # Do NOT generate the shell for deploy and test stages ./citadel-generate -i deploy,test ``` ### Jenkinsfile CITADel now supports "Pipeline script" jobs in jenkins. This change is purely cosmetic, but greatly enhaces visual feedback. To enable this: 1. Create a new job in jenkins of type "Pipeline". 2. Ensure that "Pipeline" is set to "Pipeline script". 3. Fill in the contents which the script below (example): ``` groovy node { dir('/home/user/git/some_project') { sh 'python citadel-generate -o jenkins > jenkinsfile' load('jenkinsfile') } }() // Closure important! ``` You may want to fill in some stuff before/after (such as checking out from your SCM). The result should be similar to the example found [here](https://www.cloudbees.com/sites/default/files/blog/pipeline-vis.png). The actual name of the steps will be mapped directly to the contents of the citadel.yml file.

近期下载者

相关文件


收藏者