feat(*): add template for jenkins (#53)

This commit is contained in:
Aldair Cruz 2019-04-13 17:09:44 +01:00 committed by Kasra Bigdeli
parent 4879727bf5
commit 8a88c79bae
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{
"captainVersion": "1",
"documentation": "Taken from https://hub.docker.com/r/jenkins/jenkins/ ",
"dockerCompose": {
"version": "3.3",
"services": {
"$$cap_appname": {
"image": "jenkins/jenkins:$$cap_jenkins_version",
"containerHttpPort": "8080",
"restart": "always",
"volumes": [
"$$cap_appname-jenkins-home:/var/jenkins_home"
]
}
}
},
"instructions": {
"start": "Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software.\n\n It's documentation is available at: https://jenkins.io/doc/ \n\n For more details about this container, see: https://hub.docker.com/r/jenkins/jenkins/\n\n Enter your Jenkins Configuration parameters and click on next.\n\n To ensure Jenkins is securely set up by the administrator, an initial administrative password will be written to the log, available at the app Deployment tab, and this file on the server: /var/jenkins_home/secrets/initialAdminPassword.\n\n It will take about a minute for the process to finish.",
"end": "Jenkins is deployed and available as $$cap_appname"
},
"variables": [
{
"id": "$$cap_jenkins_version",
"label": "Jenkins Version",
"defaultValue": "lts-jdk11",
"description": "Checkout their docker page for the valid tags https://hub.docker.com/r/jenkins/jenkins/tags",
"validRegex": "/^([^\\s^\\/])+$/"
}
]
}