An open API service indexing awesome lists of open source software.

https://github.com/buildit/jenkins-startup-scripts-local-docker-runner


https://github.com/buildit/jenkins-startup-scripts-local-docker-runner

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Jenkins Startup Scripts Local Docker Runner

This script allows you to run a Jenkins instance that is configured using a local configuration file and set of startup scripts.

### Dependencies
* Local clone of [Jenkins startup scripts](https://github.com/buildit/jenkins-startup-scripts)
* A Jenkins config file (example can be found [here](https://github.com/buildit/jenkins-config))

### Running the script

Command: `./run-local-docker.sh `

`` should point to your `jenkins.config` file.

`` should point to the root of your copy of jenkins-startup-scripts.

### Secret

The run-local-docker.sh script will automatically use the JENKINS_STARTUP_SECRET from your local environment. If this is not set then it will prompt you to enter it.

### Changing the port

By default, Jenkins will run on `localhost:8080`. If you want/need to change the port, change the following line in `run-local-docker.sh`:

`docker run -p :8080 -p 50000:50000 --rm local-jenkins-image`