blob: bc01e92521ea8690efe8b5450d51ec669f265d30 [file] [log] [blame]
Filip Pytloun7d6144a2017-04-13 13:36:45 +02001parameters:
2 _param:
Filip Pytloune84d8fd2017-07-28 11:36:27 +02003 docker_image_jenkins: tcpcloud/jenkins:2.71
Jakub Josef0c875c72017-07-26 23:52:51 +02004 jenkins_master_extra_opts: ""
5 jenkins_master_executors_num: 4
Filip Pytloun7d6144a2017-04-13 13:36:45 +02006 docker:
7 client:
8 stack:
9 jenkins:
Filip Pytloun7d6144a2017-04-13 13:36:45 +020010 service:
11 master:
Filip Pytloun69645082017-06-01 17:13:01 +020012 environment:
Filip Pytlouna1899dc2017-07-28 01:13:02 +020013 JAVA_OPTS: " -server -XX:+AlwaysPreTouch -Xloggc:$JENKINS_HOME/gc-%t.log -XX:NumberOfGCLogFiles=5 -XX:+UseGCLogFileRotation -XX:GCLogFileSize=20m -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintHeapAtGC -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintReferenceGC -XX:+PrintAdaptiveSizePolicy -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+ParallelRefProcEnabled -XX:+UseStringDeduplication -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:+UnlockDiagnosticVMOptions -XX:G1SummarizeRSetStatsPeriod=1 -Djenkins.install.runSetupWizard=false -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1 -Dhudson.footerURL=https://www.mirantis.com ${_param:jenkins_master_extra_opts}"
Jakub Josef0c875c72017-07-26 23:52:51 +020014 JENKINS_NUM_EXECUTORS: ${_param:jenkins_master_executors_num}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020015 deploy:
16 restart_policy:
17 condition: any
18 image: ${_param:docker_image_jenkins}
19 ports:
20 - 18081:8080
21 - 50001:50000
22 volumes:
23 - /srv/volumes/jenkins:/var/jenkins_home
24 - /etc/ssl/certs/java/cacerts:/etc/ssl/certs/java/cacerts:ro