summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAldair Cruz <[email protected]>2019-04-13 17:09:44 +0100
committerKasra Bigdeli <[email protected]>2019-04-13 09:09:44 -0700
commit8a88c79bae1229b5be0841cf0f4391121da3dc39 (patch)
tree7106ae278f6f4b461655d04f69cb6465478ab3e3
parent4879727bf564f0b839383d582a02814bf5b0ae4f (diff)
downloadcaprover-one-click-apps-8a88c79bae1229b5be0841cf0f4391121da3dc39.tar.gz
caprover-one-click-apps-8a88c79bae1229b5be0841cf0f4391121da3dc39.zip
feat(*): add template for jenkins (#53)
-rw-r--r--public/v1/apps/jenkins.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/public/v1/apps/jenkins.json b/public/v1/apps/jenkins.json
new file mode 100644
index 0000000..db27016
--- /dev/null
+++ b/public/v1/apps/jenkins.json
@@ -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^\\/])+$/"
+ }
+ ]
+} \ No newline at end of file