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
- Host: GitHub
- URL: https://github.com/buildit/jenkins-startup-scripts-local-docker-runner
- Owner: buildit
- Created: 2018-06-04T15:54:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T16:21:37.000Z (almost 7 years ago)
- Last Synced: 2025-02-04T23:31:08.942Z (3 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 1
- Watchers: 15
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`