JobDsl configuration and definitions from CNCT Pipeline Jenkins
configs - YAML configurations for github repositories to be monitored by CNCT Jenkins
jobdsl - JobDsl code that will be executed by CNCT Jenkins seed job
scripts - additional groovy scripts
To add a repo to be monitored by CNCT jenkins, add a yaml file to configs
. Two types of YAML configurations are currently supported
CNCT pipeline type job. Jenkins will look for pipeline.yaml
and .versionfile
in the repository root.
Example:
---
type: cnct
uniqueId: pipeline-jenkins
displayName: JenkinsCI pipeline
description: Pipeline Jenkins Helm chart and docker files
apiUrl: "https://api.github.com"
org: samsung-cnct
repo: pipeline-jenkins
keepDays: 10
credentials: github-access
Setting | Description |
---|---|
type | Pipeline type (cnct) |
uniqueId | unique ID for the pipeline |
displayName | Pipeline display name in Jenkins dashboard |
description | Pipeline description name in Jenkins dashboard |
apiUrl | Github API URL |
org | Github Org for this repo |
repo | Github repository name |
keepDays | Job data retention in days |
credentials | Jenkins github credentials ID |
Standard multibranch pipeline. Jenkins will look for Jenkinsfile
in the repository root
Example:
---
type: standard
uniqueId: pipeline-jobs
displayName: Jenkins jobs pipeline
description: Job configuration repository
apiUrl: "https://api.github.com"
org: samsung-cnct
repo: pipeline-jobs
keepDays: 10
credentials: github-access
Setting | Description |
---|---|
type | Pipeline type (cnct) |
uniqueId | unique ID for the pipeline |
displayName | Pipeline display name in Jenkins dashboard |
description | Pipeline description name in Jenkins dashboard |
apiUrl | Github API URL |
org | Github Org for this repo |
repo | Github repository name |
keepDays | Job data retention in days |
credentials | Jenkins github credentials ID |
All .groovy files under jobdsl
will be executed as JobDsl code by CNCT Jenkins.
TBD