jenkins job from mesos/4
Github source:
b8adfbe8
or
master branch
Properties¶
jenkins
¶
admin_password
¶Jenkins admin password
- Default
jenkins
admin_user
¶Jenkins admin user
- Default
jenkins
ajp_listen_address
¶IP address where to bind Jenkins using standard AJP13 protocol
- Default
127.0.0.1
ajp_port
¶Port Jenkins will listen using standard AJP13 protocol
- Default
8009
debug_level
¶Set the level of debug msgs (1-9)
- Default
5
group
¶Group which will own the Jenkins services
- Default
vcap
handler_count_max
¶Set the max no of worker threads to allow
- Default
40
handler_count_max_idle
¶Set the max no of idle worker threads to allow
- Default
5
handler_count_startup
¶Set the no of worker threads to spawn at startup
- Default
4
http_do_hostname_lookup
¶Enable/disable host name lookups on incoming http connections
- Default
false
http_keepalive_timeout
¶How long idle HTTP keep-alive connections are kept around (in ms)
- Default
5000
java_heap_size
¶Java Heap Size for Jenkins
- Default
2048m
listen_address
¶IP address where to bind Jenkins using standard http protocol
- Default
127.0.0.1
max_parm_count
¶Set the max number of parameters allowed in a form submission to protect against hash DoS attack
- Default
10000
mesos
¶
cluster_name
¶Human readable name for the Jenkins Mesos cluster
- Default
Jenkins on Mesos Cluster
enable_checkpoint
¶Enable checkpointing of Jenkins tasks
- Default
true
executor_cpus
¶Jenkins Executor CPUs
- Default
0.1
executor_mem
¶Jenkins Executor Memory in MB
- Default
128
framework_name
¶Mesos Framework name
- Default
Jenkins
idle_termination
¶Idle Termination Minutes
- Default
3
jnlp_args
¶Additional Jenkins Slave Agent JNLP arguments
jvm_args
¶Additional Jenkins Slave JVM arguments
- Default
-Xms16m -XX:+UseConcMarkSweepGC -Djava.net.preferIPv4Stack=true
max_executors
¶Maximum number of Executors per Slave
- Default
2
on_demand_registration
¶Enable to make Jenkins register as a framework when builds need to be performed. And, disconnect otherwise.
- Default
false
slave_cpus
¶Jenkins Slave CPUs
- Default
0.1
slave_mem
¶Jenkins Slave Memory in MB
- Default
512
nginx
¶
group
¶Group which will own the Nginx services
- Default
vcap
http
¶
port
¶Port that proxy listen on for HTTP connections
- Default
80
https
¶
port
¶Port that proxy listen on for HTTPS connections
- Default
443
ssl_cert
¶SSL Certificate (PEM encoded)
ssl_key
¶SSL private key (PEM encoded)
ssl_timeout
¶Timeout for reusing the previously negotiated cryptographic parameters
- Default
7200
keepalive_timeout
¶Timeout for keep-alive connections
- Default
7200
max_upload_size
¶File upload maximum size
- Default
5000m
proxy_connect_timeout
¶Timeout for the connection to the upstream server
- Default
300
proxy_read_timeout
¶Timeout for read queries to the upstream server
- Default
120
proxy_send_timeout
¶Timeout for send queries to the upstream server
- Default
120
ssl_only
¶Enable only HTTPS requests
- Default
false
user
¶User which will own the Nginx services
- Default
root
worker_connections
¶Number of nginx connections per worker
- Default
8192
worker_processes
¶Number of nginx workers
- Default
2
port
¶Port Jenkins will listen using standard http protocol
- Default
8080
prefix
¶Prefix to append to Jenkins URL
- Default
""
user
¶User which will own the Jenkins services
- Default
root
mesos
¶
principal
¶Mesos principal
secret
¶Mesos secret
zk_state
¶Path in ZooKeeper for storing Mesos state
- Default
mesos
zookeeper
¶
client_port
¶Port at which the clients will connect to Apache Zookeeper
- Default
2181
servers
¶List of all Apache Zookeeper server host IP/hostnames
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/jenkins/
directory
(learn more).
bin/jenkins_ctl
(frombin/jenkins_ctl.erb
)bin/job_properties.sh
(frombin/job_properties.sh.erb
)bin/nginx_jenkins_ctl
(frombin/nginx_jenkins_ctl.erb
)config/config.xml
(fromconfig/config.xml.erb
)config/jenkins.key
(fromconfig/jenkins.key.erb
)config/jenkins.pem
(fromconfig/jenkins.pem.erb
)config/jenkins_location.conf
(fromconfig/jenkins_location.conf.erb
)config/mime.types
(fromconfig/mime.types
)config/nginx.conf
(fromconfig/nginx.conf.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.