]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commit
windows: Check for cephadm binary before attempting to use it 2051/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 9 Aug 2022 15:44:44 +0000 (11:44 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 9 Aug 2022 15:44:44 +0000 (11:44 -0400)
commit50b67640a0468755325a593207741423514c9c87
tree2aafbc3e08f3b676292cbb13b679c1dad5bf496e
parent9c5e8e7e99a4e15a6fd909804ae998d4a9b8594a
windows: Check for cephadm binary before attempting to use it

Fixes:
```
+ [[ -x /home/jenkins-build/build/workspace/wnbd-build/cephadm ]]
+ sudo /home/jenkins-build/build/workspace/wnbd-build/cephadm rm-repo
[sudo] password for jenkins-build:
sudo: no password was provided
sudo: a password is required
Build step 'Execute scripts' changed build result to FAILURE
Build step 'Execute scripts' marked build as failure
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
scripts/ceph-windows/cleanup