nschejtman / jenkins-docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jenkins docker

About

Spawns a local Jenkins instance that can be used to test Jenkins pipelines with Dockerfiles

Usage

  1. Only first time
sh setup.sh
  1. Each time
sh run.sh /path/to/my/project

Detailed info

  1. The /path/to/my/project parameter creates a bind mount from the host project path to the /src directory in the guest Jenkins container. This is to make accessible the project code locally rather than have to push-and-pull it from a remote repo.

  2. The Jenkins instance already comes with the required plugins. Do not install any further plugins

  3. (Recommendation) create a Jenkins user and do not use the default admin user

Setup IntelliJ plugin "Jenkins Control"

To configure this plugin you will need a token (called "crumb") generated by the Jenkins instance. You can generate such token with the link at crumbIssuer.url

More details on

https://www.jenkins.io/doc/book/installing/docker/

About


Languages

Language:Dockerfile 58.3%Language:Shell 41.7%