Add 'current-release' and 'previous-release' variables to JJB
Change-Id: If6cb2bfa6a7102413188ba81d87a7575f741271d
Related-Prod: PROD-34955
diff --git a/jobs/templates/released-heat-cicd-queens-contrail41-sl.yml b/jobs/templates/released-heat-cicd-queens-contrail41-sl.yml
index 14064bf..4e394a9 100644
--- a/jobs/templates/released-heat-cicd-queens-contrail41-sl.yml
+++ b/jobs/templates/released-heat-cicd-queens-contrail41-sl.yml
@@ -33,7 +33,7 @@
name: PLATFORM_STACK_INSTALL_TIMEOUT
trim: 'false'
- string:
- default: 2019.2.9
+ default: "{previous-version}"
description: ''
name: MCP_VERSION
trim: 'false'
@@ -70,22 +70,22 @@
name: TCP_QA_REFS
trim: 'false'
- string:
- default: refs/tags/2019.2.9
+ default: refs/tags/{previous-version}
description: reference to patchset in pipeline-library
name: PIPELINE_LIBRARY_REF
trim: 'false'
- string:
- default: refs/tags/2019.2.9
+ default: refs/tags/{previous-version}
description: reference to patchset in mk-pipelines
name: MK_PIPELINES_REF
trim: 'false'
- string:
- default: refs/tags/2019.2.9
+ default: refs/tags/{previous-version}
description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
name: COOKIECUTTER_TEMPLATE_COMMIT
trim: 'false'
- string:
- default: refs/tags/2019.2.9
+ default: refs/tags/{previous-version}
description: Can be 'master' or 'proposed'. If empty, then takes ${{MCP_VERSION}} value
name: SALT_MODELS_SYSTEM_COMMIT
trim: 'false'
@@ -186,17 +186,17 @@
name: LAB_PARAM_DEFAULTS
trim: 'false'
- string:
- default: refs/tags/2019.2.9
+ default: refs/tags/{previous-version}
description: ''
name: JENKINS_PIPELINE_BRANCH
trim: 'false'
- string:
- default: refs/tags/2019.2.9
+ default: refs/tags/{previous-version}
description: ''
name: MCP_COMMON_SCRIPTS_REFS
trim: 'false'
- string:
- default: 2019.2.9
+ default: "{previous-version}"
description: 'for formula repo http://mirror.mirantis.com/update/UPDATE_VERSION/salt-formulas/xenial'
name: UPDATE_VERSION
trim: 'false'