jenkins-bootstrap-shared
Jenkins as immutable infrastructure made easy. A repository of shared scripts meant to be used as a git submodule. Packing Jenkins, plugins, and scripts into immutable packages and images.
File Explorer
- jenkins-bootstrap-jervis
- jenkins-bootstrap-slack
- packaging-scripts
- gradle-wrapper.jar
- gradle-wrapper.properties
- jenkins.config.in
- jenkins.service.in
- run.sh.in
- jenkins.init.in
- jenkins.init.in
- dailycommit.sh.in
- gitignore.in
- jenkins.cron.sh.in
- jenkins.logrotate.in
- packaging.gradle
- postInstall.sh.in
- postUninstall.sh.in
- preInstall.sh.in
- preUninstall.sh.in
- README.md
- disable-all-update-sites.groovy
- disable-jenkins-cli.groovy
- env.sh
- generateSedExpr.groovy
- getPinnedPluginList.groovy
- installMinimalPlugins.groovy
- isUpgradeInProgress.groovy
- jenkins_needs_restart.sh
- listShortNameVersion.groovy
- minimal-upgrade.sh
- needsRestart.groovy
- plugin_refresh.md
- plugins_gav.sh
- README.md
- refresh_plugins.sh
- remote_dependencies.sh
- setup_environment.sh
- show_plugin_artifacts.sh
- upgrade_build_gradle.sh
- upgradeJenkinsAndPlugins.groovy
- upgradeJenkinsOnly.groovy
- wait_for_upgrade_to_complete.sh
- admin-script-approval.groovy
- attach_volume.sh
- bootstrap.groovy
- buildRelease.sh
- common.sh
- configure-csrf-protection.groovy
- configure-disable-usage-stats.groovy
- configure-docker-cloud.groovy
- configure-flow-durability.groovy
- configure-github-branch-source-plugin.groovy
- configure-github-oauth.groovy
- configure-github-plugin.groovy
- configure-global-jenkinsfile.groovy
- configure-grape-ivy-xml.groovy
- configure-jenkins-settings.groovy
- configure-jnlp-agent-protocols.groovy
- configure-job-dsl-security.groovy
- configure-job-restrictions-controller.groovy
- configure-ldap-settings.groovy
- configure-lockable-resources.groovy
- configure-markup-formatter.groovy
- configure-matrix-authorization-strategy.groovy
- configure-permanent-agents.groovy
- configure-pipeline-global-shared-libraries.groovy
- configure-primary-view.groovy
- configure-script-security.groovy
- configure-slack.groovy
- configure-warning-disable-controller-agent-alert.groovy
- configure-yadocker-cloud.groovy
- console-needs-restart.groovy
- console-skip-2.0-wizard.groovy
- create-job.groovy
- create-view.groovy
- credentials-exporter.groovy
- credentials-jenkins-agent.groovy
- credentials-multitype.groovy
- docker-env.sh
- gradle-getplugins.groovy
- jenkins-call-url
- jenkins-call-url-2.7
- jenkins_call.sh
- jenkins_wait_job.sh
- provision_jenkins.sh
- security-disable-agent-controller.groovy
- set-content-security-policy.groovy
- uploadRelease.sh
- vagrant-env.sh
- vagrant-up.sh
- goss.yaml
- run
- validate.sh
- run
- goss.yaml
- run
- validate.sh
- api_test.py
- job_test.py
- random_port.sh
- test.sh
- .gitignore
- .travis.yml
- build.gradle
- dependencies.gradle
- docker-compose.yml
- Dockerfile
- env.sh
- gradle.properties
- gradlew
- gradlew.bat
- init.sh
- jenkins.gradle
- jenkins_bootstrap.sh
- LICENSE
- Makefile
- MIGRATION.md
- NOTICE
- README.md
- RELEASE.md
- shared.gradle
- USAGE.md
- Vagrantfile
- variables.gradle
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
docker build
View Details ▼
docker build
Build an image from a Dockerfile.
docker build .
Build a Docker image using the Dockerfile in the current directory:
docker build {{github.com/creack/docker-firefox}}
Build a Docker image from a Dockerfile at a specified URL:
docker build {{[-t|--tag]}} {{name:tag}} .
Build a Docker image and tag it:
git add
View Details ▼
git add
Stage changed files for a commit.
git add {{path/to/file}}
Stage a file for a commit:
git add {{[-A|--all]}}
Add all files (tracked and untracked):
git add .
Add all files recursively starting from the current folder:
git init
View Details ▼
git init
Initialize a new local Git repository.
git init
Initialize a new local repository:
git init {{[-b|--initial-branch]}} {{branch_name}}
Initialize a repository with the specified name for the initial branch:
git init --object-format sha256
Initialize a repository using SHA256 for object hashes (requires Git version 2.29+):
git submodule
View Details ▼
git submodule
Inspect, update, and manage submodules.
git submodule
View existing submodules and the checked-out commit for each one:
git submodule update --init --recursive
Install a repository's submodules (listed in `.gitmodules`):
git submodule add {{repository_url}}
Add a Git repository as a submodule of the current one:
git
View Details ▼
git
Distributed version control system.
Some subcommands such as `commit`, `add`, `branch`, `switch`, `push`, etc. have their own usage documentation.
git init
Create an empty Git repository:
git clone {{https://example.com/repo.git}}
Clone a remote Git repository from the internet:
git status
View the status of the local repository:
vagrant
View Details ▼
vagrant
Manage lightweight, reproducible, and portable development environments.
Some subcommands such as `box`, `snapshot`, `halt`, etc. have their own usage documentation.
vagrant init
Create a `Vagrantfile` in the current directory with the base Vagrant box:
vagrant init {{ubuntu/focal64}}
Create a `Vagrantfile` with a box from the Vagrant Public Registry:
vagrant up
Start and provision the Vagrant environment:
