├── .dockerignore ├── .editorconfig ├── .gitattributes ├── .gitignore ├── .images └── 001.png ├── Dockerfile ├── LICENSE ├── README.md ├── configs └── C-001-jenkins-shared-library-build-and-test.xml ├── docker-compose.yml ├── jenkinsfiles ├── 001-stages-declarative-style.groovy ├── 002-stages-scripted-style.groovy ├── 003-stages-parallel.groovy ├── 004-stages-parallel-with-sequential.groovy ├── 020-post-actions.groovy ├── 030-wait-until.groovy ├── 031-wait-until-with-post-actions.groovy ├── 050-shared-library-where-is-it-cloned.groovy ├── 051-shared-library-using-global-variables.groovy ├── 052-shared-library-using-classes.groovy ├── 070-parameterized-build-choices.groovy ├── 090-wait-for-user-input-and-do-not-block-executor.groovy ├── 091-wait-for-user-input-indefinitely-non-blocking.groovy ├── 092-wait-for-user-input-indefinitely.groovy ├── 120-when-directive.groovy ├── 130-accessing-credentials.groovy └── 131-dumping-credentials.groovy └── source └── jenkins ├── usr └── share │ └── jenkins │ ├── plugins.txt │ └── ref │ ├── config.xml │ └── scriptApproval.xml └── var └── jenkins_home ├── credentials.xml └── secrets ├── hudson.util.Secret └── master.key /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /.images/001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/.images/001.png -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/README.md -------------------------------------------------------------------------------- /configs/C-001-jenkins-shared-library-build-and-test.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/configs/C-001-jenkins-shared-library-build-and-test.xml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /jenkinsfiles/001-stages-declarative-style.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/001-stages-declarative-style.groovy -------------------------------------------------------------------------------- /jenkinsfiles/002-stages-scripted-style.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/002-stages-scripted-style.groovy -------------------------------------------------------------------------------- /jenkinsfiles/003-stages-parallel.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/003-stages-parallel.groovy -------------------------------------------------------------------------------- /jenkinsfiles/004-stages-parallel-with-sequential.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/004-stages-parallel-with-sequential.groovy -------------------------------------------------------------------------------- /jenkinsfiles/020-post-actions.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/020-post-actions.groovy -------------------------------------------------------------------------------- /jenkinsfiles/030-wait-until.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/030-wait-until.groovy -------------------------------------------------------------------------------- /jenkinsfiles/031-wait-until-with-post-actions.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/031-wait-until-with-post-actions.groovy -------------------------------------------------------------------------------- /jenkinsfiles/050-shared-library-where-is-it-cloned.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/050-shared-library-where-is-it-cloned.groovy -------------------------------------------------------------------------------- /jenkinsfiles/051-shared-library-using-global-variables.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/051-shared-library-using-global-variables.groovy -------------------------------------------------------------------------------- /jenkinsfiles/052-shared-library-using-classes.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/052-shared-library-using-classes.groovy -------------------------------------------------------------------------------- /jenkinsfiles/070-parameterized-build-choices.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/070-parameterized-build-choices.groovy -------------------------------------------------------------------------------- /jenkinsfiles/090-wait-for-user-input-and-do-not-block-executor.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/090-wait-for-user-input-and-do-not-block-executor.groovy -------------------------------------------------------------------------------- /jenkinsfiles/091-wait-for-user-input-indefinitely-non-blocking.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/091-wait-for-user-input-indefinitely-non-blocking.groovy -------------------------------------------------------------------------------- /jenkinsfiles/092-wait-for-user-input-indefinitely.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/092-wait-for-user-input-indefinitely.groovy -------------------------------------------------------------------------------- /jenkinsfiles/120-when-directive.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/120-when-directive.groovy -------------------------------------------------------------------------------- /jenkinsfiles/130-accessing-credentials.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/130-accessing-credentials.groovy -------------------------------------------------------------------------------- /jenkinsfiles/131-dumping-credentials.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/jenkinsfiles/131-dumping-credentials.groovy -------------------------------------------------------------------------------- /source/jenkins/usr/share/jenkins/plugins.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/source/jenkins/usr/share/jenkins/plugins.txt -------------------------------------------------------------------------------- /source/jenkins/usr/share/jenkins/ref/config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/source/jenkins/usr/share/jenkins/ref/config.xml -------------------------------------------------------------------------------- /source/jenkins/usr/share/jenkins/ref/scriptApproval.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/source/jenkins/usr/share/jenkins/ref/scriptApproval.xml -------------------------------------------------------------------------------- /source/jenkins/var/jenkins_home/credentials.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/source/jenkins/var/jenkins_home/credentials.xml -------------------------------------------------------------------------------- /source/jenkins/var/jenkins_home/secrets/hudson.util.Secret: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/source/jenkins/var/jenkins_home/secrets/hudson.util.Secret -------------------------------------------------------------------------------- /source/jenkins/var/jenkins_home/secrets/master.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoto/jenkinsfile-examples/HEAD/source/jenkins/var/jenkins_home/secrets/master.key --------------------------------------------------------------------------------