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.

파일 탐색기

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

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

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

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

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

설명 보기 ▼

분산 버전 관리 시스템.
`commit`, `add`, `branch`, `checkout`, `push` 등의 특정 하위 명령어는 고유의 문서가 따로 있습니다.
더 많은 정보: <https://git-scm.com/docs/git>.

git init

하위 명령어 실행:

git clone {{https://example.com/repo.git}}

특정 레파지토리 위치에서 Git 하위 명령어 실행:

git status

주어진 설정으로 Git 하위 명령어 실행:

🔍

vagrant

설명 보기 ▼

경량, 재생 가능, 휴대 가능한 개발 환경 관리 도구.
더 많은 정보: <https://developer.hashicorp.com/vagrant/docs/cli>.

vagrant init

현재 디렉토리에 기본 Vagrant 박스로 Vagrantfile 생성:

vagrant init {{ubuntu/focal64}}

HashiCorp Atlas에서 Ubuntu 20.04 (Focal Fossa) 박스로 Vagrantfile 생성:

vagrant up

Vagrant 환경 시작 및 프로비저닝:

// repository documentation