docker-documentation/images/docker-jenkins-builder.md

575 B
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.