diff options
author | Nigel Babu <nigelb@redhat.com> | 2017-01-31 13:03:20 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2017-02-02 11:44:32 +0530 |
commit | 3b77dbdac288bf21f802be41019e2cd4d4dc3e3c (patch) | |
tree | 5bc2eff02329d91abe4adc01307a03dcd38e2d53 /build-gluster-org | |
parent | b3e073d890a5b651f6fea15f79fb1c88bae9e78c (diff) |
Set ownership of the rpm folders post-job
Change-Id: I713ac936e646ff04e8385bbe1fb442708e53cdf8
Signed-off-by: Nigel Babu <nigelb@redhat.com>
Diffstat (limited to 'build-gluster-org')
-rw-r--r-- | build-gluster-org/jobs/glusterfs-devrpms.yml | 6 | ||||
-rw-r--r-- | build-gluster-org/jobs/glusterfs-rpms.yml | 6 | ||||
-rw-r--r-- | build-gluster-org/jobs/strfmt_errors.yml | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/glusterfs-devrpms.yml b/build-gluster-org/jobs/glusterfs-devrpms.yml index cb78d63..66c83ac 100644 --- a/build-gluster-org/jobs/glusterfs-devrpms.yml +++ b/build-gluster-org/jobs/glusterfs-devrpms.yml @@ -55,6 +55,12 @@ publishers: - rpm + - post-tasks: + - matches: + # "Building remotely" should always be in the build console output + - log-text: Building remotely + script: | + sudo chown -R jenkins:jenkins ${{WORKSPACE}}/RPMS builders: - shell: !include-raw: ../scripts/glusterfs-devrpms.sh diff --git a/build-gluster-org/jobs/glusterfs-rpms.yml b/build-gluster-org/jobs/glusterfs-rpms.yml index 7a1022a..90d5006 100644 --- a/build-gluster-org/jobs/glusterfs-rpms.yml +++ b/build-gluster-org/jobs/glusterfs-rpms.yml @@ -46,6 +46,12 @@ publishers: - rpm + - post-tasks: + - matches: + # "Building remotely" should always be in the build console output + - log-text: Building remotely + script: | + sudo chown -R jenkins:jenkins ${{WORKSPACE}}/RPMS builders: - shell: !include-raw: ../scripts/glusterfs-rpms.sh diff --git a/build-gluster-org/jobs/strfmt_errors.yml b/build-gluster-org/jobs/strfmt_errors.yml index bef35b6..527e9c0 100644 --- a/build-gluster-org/jobs/strfmt_errors.yml +++ b/build-gluster-org/jobs/strfmt_errors.yml @@ -43,6 +43,12 @@ publishers: - strfmt-build-log + - post-tasks: + - matches: + # "Building remotely" should always be in the build console output + - log-text: Building remotely + script: | + sudo chown -R jenkins:jenkins ${WORKSPACE}/RPMS builders: - shell: !include-raw: ../scripts/strfmt_errors.sh |