From 891c0b70b385f25d3d2b293da2df7b3c2dae9ca7 Mon Sep 17 00:00:00 2001 From: Rakshitha Kamath Date: Mon, 24 Jul 2023 13:40:13 +0530 Subject: [PATCH] Update the script for jenkins-update job --- build-gluster-org/jobs/devrpms.yml | 2 +- build-gluster-org/jobs/glusto.yml | 2 +- build-gluster-org/jobs/python-lint.yml | 2 +- build-gluster-org/jobs/rpm.yml | 2 +- build-gluster-org/jobs/smoke-template.yml | 2 +- build-gluster-org/jobs/smoke.yml | 2 +- build-gluster-org/scripts/jenkins-update.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build-gluster-org/jobs/devrpms.yml b/build-gluster-org/jobs/devrpms.yml index bba247d..25c7f62 100644 --- a/build-gluster-org/jobs/devrpms.yml +++ b/build-gluster-org/jobs/devrpms.yml @@ -60,7 +60,7 @@ sudo chown -R jenkins:jenkins $WORKSPACE builders: - - shell: !include-raw: ../scripts/glusterfs-devrpms.sh + - shell: !include-raw-escape: ../scripts/glusterfs-devrpms.sh wrappers: - timestamps diff --git a/build-gluster-org/jobs/glusto.yml b/build-gluster-org/jobs/glusto.yml index 2a6c3a7..71fe93b 100644 --- a/build-gluster-org/jobs/glusto.yml +++ b/build-gluster-org/jobs/glusto.yml @@ -35,7 +35,7 @@ name: REMOTE_JENKINS_JOB builders: - - shell: !include-raw: ../scripts/glusto.sh + - shell: !include-raw-escape: ../scripts/glusto.sh wrappers: - timestamps diff --git a/build-gluster-org/jobs/python-lint.yml b/build-gluster-org/jobs/python-lint.yml index 0460f1a..e8a62e9 100644 --- a/build-gluster-org/jobs/python-lint.yml +++ b/build-gluster-org/jobs/python-lint.yml @@ -45,7 +45,7 @@ description: "A pull request ID, like 'origin/pr/72/head'" builders: - - shell: !include-raw: ../scripts/{linter}.sh + - shell: !include-raw-escape: ../scripts/{linter}.sh publishers: - archive: diff --git a/build-gluster-org/jobs/rpm.yml b/build-gluster-org/jobs/rpm.yml index 076af65..4f3f307 100644 --- a/build-gluster-org/jobs/rpm.yml +++ b/build-gluster-org/jobs/rpm.yml @@ -49,7 +49,7 @@ builders: - - shell: !include-raw: ../scripts/glusterfs-rpms.sh + - shell: !include-raw-escape: ../scripts/glusterfs-rpms.sh wrappers: - timeout: diff --git a/build-gluster-org/jobs/smoke-template.yml b/build-gluster-org/jobs/smoke-template.yml index c348caa..ce47270 100644 --- a/build-gluster-org/jobs/smoke-template.yml +++ b/build-gluster-org/jobs/smoke-template.yml @@ -65,7 +65,7 @@ description: "A pull request ID, like 'origin/pr/72/head'" builders: - - shell: !include-raw: '../scripts/{script_name}.sh' + - shell: !include-raw-escape: '../scripts/{script_name}.sh' wrappers: - timestamps diff --git a/build-gluster-org/jobs/smoke.yml b/build-gluster-org/jobs/smoke.yml index 9208e43..1ef08cd 100644 --- a/build-gluster-org/jobs/smoke.yml +++ b/build-gluster-org/jobs/smoke.yml @@ -50,7 +50,7 @@ - gluster-logs builders: - - shell: !include-raw: ../scripts/smoke.sh + - shell: !include-raw-escape: ../scripts/smoke.sh wrappers: - timestamps diff --git a/build-gluster-org/scripts/jenkins-update.sh b/build-gluster-org/scripts/jenkins-update.sh index 754595d..844e78f 100644 --- a/build-gluster-org/scripts/jenkins-update.sh +++ b/build-gluster-org/scripts/jenkins-update.sh @@ -1,5 +1,5 @@ #!/bin/sh set -e virtualenv-3 env -env/bin/pip3 install jenkins-job-builder +env/bin/pip3 install jenkins-job-builder dataclasses env/bin/jenkins-jobs --conf $JJB_CONFIG update build-gluster-org/jobs