Public | Automated Build

Last pushed: 2 years ago
Short Description
Jenkins to be run on marathon
Full Description

Required environment variables:

Warning: This docker images has to be run with --net=host param

Environment thingies:

  • HOST, default $HOSTNAME: Jenkins public hostname, leave blank to use HOSTNAME provided by Docker
  • PORT, default "": Jenkins public port, leave blank if you use marathon for launching this image
  • URL_PREFIX, default /: Jenkins web ui path prefix

Mesos specific things:

  • MESOS_MASTER, default "": Mesos master IP:PORT, can be zookeeper path. Example zk://zookeeper.service.consul:2181/mesos
  • SLAVE_USER, default root: Mesos slave user
  • FRAMEWORK_PRINCIPAL, default jenkins
  • FRAMEWORK_SECRET, default "": Specify in case if framework authentication is enabled on mesos master

Redis specific things:

  • REDIS_HOST, default redis.service.consul
  • REDIS_PORT, default "": If no port was specified it will be discovered via SRV request to the provided host and if that fails default redis port is used (6379)

Docker specific things:

  • DOCKER_IMAGE, default evarga/jenkins-slave: The image to be used for slaves
  • SLAVE_CPUS, default 0.1
  • SLAVE_MEM, default 128: Not enough probably
  • EXECUTOR_CPUS, default 0.1
  • EXECUTOR_MEM, default 64: Not enough probably
  • MAX_EXECUTORS, default 2
  • IDLE_TERMINATION_MINUTES, default 3
  • LABEL_STRING, default mesos: A label to use in job's restriction field
Docker Pull Command
Owner
sceon
Source Repository

Comments (0)