Merge "[CVP] Add jobs description for cvp-rebuild"
diff --git a/jenkins/client/job/validate.yml b/jenkins/client/job/validate.yml
index 3ff3f9b..ede66b1 100644
--- a/jenkins/client/job/validate.yml
+++ b/jenkins/client/job/validate.yml
@@ -491,3 +491,39 @@
SHAKER_EXTERNAL_NET='public'
For the more detailed description of the last two categories please refer to the shaker documentation
https://pyshaker.readthedocs.io/en/latest/tools.html
+ cvp-rebuild:
+ type: workflow-scm
+ name: cvp-rebuild
+ display_name: "CVP-rebuild job for images"
+ discard:
+ build:
+ keep_num: 20
+ artifact:
+ keep_num: 20
+ concurrent: false
+ scm:
+ type: git
+ url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
+ branch: "${_param:jenkins_pipelines_branch}"
+ credentials: "gerrit"
+ script: cvp-rebuild.groovy
+ param:
+ DESTINATION_IMAGE:
+ type: string
+ default: ""
+ description: "Specify address of local registry and name of the image e.g. _cid_vip_:5000/ci-tempest:v1"
+ SALT_MASTER_URL:
+ type: string
+ default: "${_param:jenkins_salt_api_url}"
+ description: Full Salt API address [e.g. https://10.10.10.2:6969]
+ SALT_MASTER_CREDENTIALS:
+ type: string
+ default: "salt"
+ REPO:
+ type: string
+ default: ""
+ description: Specify repo that will be used to rebuild image
+ BRANCH:
+ type: string
+ default: ""
+ description: Branch or version of REPO to checkout