jenkins-bootstrap-shared

(★ 331)

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

  • .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

jsDelivr

jsDelivr 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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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:

// repository documentation