summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
diff options
context:
space:
mode:
authorAnil Belur <abelur@linuxfoundation.org>2024-02-28 09:01:26 +1000
committerVanessa Valderrama <vvalderrama@linuxfoundation.org>2024-03-21 11:34:20 -0500
commitcbe4988f0e9e9668919c0dd5cdd03d1e925ce93f (patch)
tree692efa73d10faea9074aa2099fe06358c89dea21 /jjb/global-macros.yaml
parent487315d430120ca5000e5b7871d4d20dd9f95817 (diff)
Feat!: Upgrade Jenkins-job-builder to 6x
Jenkins Job Builder 6.0.0 is released and breaks backward compatibility with 5.1.0. The breaking changes with previous 5.1.0 release: - Jobs are now expanded the same way as job templates. - Macros without parameters are now expanded the same way as macros with parameters. - Tags !include-raw: and !include-raw-escape: should now be used the same way in jobs and macros without parameters as they are used in job templates and macros with parameters. Note: This breaks backward compatibility with older version of JJB therefore care must be taken when upgrading the ci-man repositories. Ref: https://storyboard.openstack.org/#!/story/2010963 https://storyboard.openstack.org/#!/story/2010588 Issue: LF-JIRA RELENG-5182 Change-Id: Ib9acd0b9e7c264ac3531af858431e738397833b5 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r--jjb/global-macros.yaml18
1 files changed, 9 insertions, 9 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 25d2785c..2de57c72 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -872,8 +872,8 @@
- SUCCESS
- UNSTABLE
build-steps:
- - shell: !include-raw: scripts/post_build_executor_info.sh
- - shell: !include-raw: scripts/post_build_deploy_archives.sh
+ - shell: !include-raw-escape: scripts/post_build_executor_info.sh
+ - shell: !include-raw-escape: scripts/post_build_deploy_archives.sh
- fdio-infra-ship-logs
mark-unstable-if-failed: true
- workspace-cleanup:
@@ -931,9 +931,9 @@
files:
- file-id: "jenkins-s3-docs-ship"
target: $HOME/.aws/credentials
- - shell: !include-raw:
+ - shell: !include-raw-escape:
- scripts/terraform_s3_docs_ship.sh
- - shell: !include-raw:
+ - shell: !include-raw-escape:
- scripts/publish_docs.sh
- shell: !include-raw:
- ../global-jjb/shell/logs-clear-credentials.sh
@@ -945,9 +945,9 @@
files:
- file-id: "jenkins-s3-vpp-docs-ship"
target: $HOME/.aws/credentials
- - shell: !include-raw:
+ - shell: !include-raw-escape:
- scripts/terraform_s3_docs_ship.sh
- - shell: !include-raw:
+ - shell: !include-raw-escape:
- scripts/publish_cov.sh
- shell: !include-raw:
- ../global-jjb/shell/logs-clear-credentials.sh
@@ -959,9 +959,9 @@
files:
- file-id: "jenkins-s3-vpp-docs-ship"
target: $HOME/.aws/credentials
- - shell: !include-raw:
+ - shell: !include-raw-escape:
- scripts/terraform_s3_docs_ship.sh
- - shell: !include-raw:
+ - shell: !include-raw-escape:
- scripts/publish_docs.sh
- shell: !include-raw:
- ../global-jjb/shell/logs-clear-credentials.sh
@@ -973,7 +973,7 @@
files:
- file-id: "jenkins-s3-log-ship"
target: $HOME/.aws/credentials
- - shell: !include-raw:
+ - shell: !include-raw-escape:
- scripts/publish_library_py.sh
- shell: !include-raw:
- scripts/publish_logs.sh