]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-dashboard-pull-requests: fix permission denied error 1139/head
authorKefu Chai <kchai@redhat.com>
Sat, 29 Sep 2018 03:47:52 +0000 (11:47 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 29 Sep 2018 03:47:53 +0000 (11:47 +0800)
commite5cd071d622d4ddbc20556bbd5ac90b3fcce3f93
tree16d95cb38144db71dab54299bb74fca29dd4bfb6
parent6e11903fb652694ae6c6783f87102bc7be4e832e
ceph-dashboard-pull-requests: fix permission denied error

as stdout redirect is performed by the shell, and shell is launched by
the "jenkins" user, so permission denied is expected when we are trying
to create a file under /etc/yum.repos.d/. in that case, we'll have
following failure:

/tmp/jenkins8899238112048417478.sh: line 14:
/etc/yum.repos.d/google-chrome.repo: Permission denied
Build step 'Execute shell' marked build as failure

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-dashboard-pull-requests/setup/setup