fix bug on rm command
This commit is contained in:
parent
e33bb262ea
commit
b138210a18
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -36,7 +36,7 @@ pipeline{
|
|||||||
set -e
|
set -e
|
||||||
export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker")
|
export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker")
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
[ -d antos ] && rm antos
|
[ -d antos ] && rm -rf antos
|
||||||
mkdir antos
|
mkdir antos
|
||||||
cp /var/jenkins_home/workspace/nightly-antosaio/build/* antos -rf
|
cp /var/jenkins_home/workspace/nightly-antosaio/build/* antos -rf
|
||||||
tree antos
|
tree antos
|
||||||
@ -55,7 +55,7 @@ pipeline{
|
|||||||
set -e
|
set -e
|
||||||
export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker")
|
export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker")
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
[ -d antos ] && rm antos
|
[ -d antos ] && rm -rf antos
|
||||||
mkdir antos
|
mkdir antos
|
||||||
cp /var/jenkins_home/workspace/nightly-antosaio/build/* antos -rf
|
cp /var/jenkins_home/workspace/nightly-antosaio/build/* antos -rf
|
||||||
tree antos
|
tree antos
|
||||||
|
Loading…
Reference in New Issue
Block a user