Feat: Add JCasC managed config files
Change-Id: Ibe1e731577cac990d078e03b4be21fdfc0c5b82c
Issue-ID: CIMAN-33
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
diff --git a/jenkins-config/managed-config-files/custom/jjbini/config-params.yaml b/jenkins-config/managed-config-files/custom/jjbini/config-params.yaml
new file mode 100644
index 0000000..1d61b6b
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/jjbini/config-params.yaml
@@ -0,0 +1,3 @@
+---
+name: "JJB Config"
+comment: "JJB Config for Jenkins Job Builder"
diff --git a/jenkins-config/managed-config-files/custom/jjbini/content b/jenkins-config/managed-config-files/custom/jjbini/content
new file mode 100644
index 0000000..ccbb4af
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/jjbini/content
@@ -0,0 +1,24 @@
+[job_builder]
+ignore_cache=True
+keep_descriptions=False
+include_path=.:scripts:~/git/
+recursive=True
+retain_anchors=True
+
+[jenkins]
+user=$JOBBUILDER_PROD_USR
+password=$JOBBUILDER_PROD_PSW
+url=https://jenkins.onap.org
+query_plugins_info=True
+
+[production]
+user=$JOBBUILDER_PROD_USR
+password=$JOBBUILDER_PROD_PSW
+url=https://jenkins.onap.org
+query_plugins_info=True
+
+[sandbox]
+user=$JOBBUILDER_SANDBOX_USR
+password=$JOBBUILDER_SANDBOX_PSW
+url=https://jenkins.onap.org/sandbox
+query_plugins_info=True
diff --git a/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml
new file mode 100644
index 0000000..6fe38bd
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.sandbox.yaml
@@ -0,0 +1,6 @@
+---
+customizedCredentialMappings:
+ - credentialsId: "dummy"
+ tokenKey: "JOBBUILDER_PROD"
+ - credentialsId: "jobbuilder-sandbox"
+ tokenKey: "JOBBUILDER_SANDBOX"
diff --git a/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml
new file mode 100644
index 0000000..cb9cdaf
--- /dev/null
+++ b/jenkins-config/managed-config-files/custom/jjbini/customizedCredentialMappings.yaml
@@ -0,0 +1,6 @@
+---
+customizedCredentialMappings:
+ - credentialsId: "jobbuilder-prod"
+ tokenKey: "JOBBUILDER_PROD"
+ - credentialsId: "jobbuilder-sandbox"
+ tokenKey: "JOBBUILDER_SANDBOX"