kopia lustrzana https://github.com/linuxserver/docker-documentation
22 wiersze
575 B
Markdown
Executable File
22 wiersze
575 B
Markdown
Executable File
# linuxserver/jenkins-builder
|
|
|
|
Expects to run as part of the LSIO CI process. Not for public consumption.
|
|
|
|
**Running against remote: **
|
|
```
|
|
docker run --rm \
|
|
-e CONTAINER_NAME=${CONTAINER_NAME} \
|
|
-v ${TEMPDIR}:/ansible/jenkins \
|
|
linuxserver/jenkins-builder:latest
|
|
```
|
|
**Running locally: **
|
|
|
|
If you need to test functionality just navigate to the folder with the jenkins-vars.yml and run:
|
|
```
|
|
docker run --rm \
|
|
-v $(pwd):/tmp \
|
|
-e LOCAL=true \
|
|
linuxserver/jenkins-builder:latest
|
|
```
|
|
The output will be in a GENERATED.Jenkinsfile in your current working directory.
|