Signiant / docker-jenkins-centos6-cmake28

Jenkins buildnode for cmake on CentOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-jenkins-centos6-cmake28

Container for a Jenkins build node that is used to build cmake projects

Variables:

  • BUILD_USER : the OS user to run the Jenkins slave as/perform all actions (default: bldmgr)
  • RUN_SLAVE: If set, will start the Jenkins JNLP slave software; otherwise, runs sshd
  • MASTER_ADDR : the name or IP/port of the Jenkins master server
  • SLAVE_ID: The name of the slave already pre-created in the Jenkins master
  • SECRET: The secret for the Jenkins slave (obtained in the Jenkins master UI for this slave)

Example Docker run

#!/bin/bash

docker run -d -e "SLAVE_ID=java-slave-1" \
              -e "MASTER_ADDR=jenkinsmaster1.acme.com:8080" \
              -e "RUN_SLAVE=1" \
              -e "SECRET=12345" \
              -v /mount/credentials:/credentials \
              -v /Releases:/var/lib/jenkins/Releases \
              mycontainer

About

Jenkins buildnode for cmake on CentOS

License:MIT License


Languages

Language:Shell 100.0%