jenkins, again again
This commit is contained in:
parent
5b5aaa5ace
commit
c1a6d8c4a4
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -20,7 +20,7 @@ pipeline {
|
|||||||
sh 'rm -rf /var/www/combi/assets /var/www/combi/data /var/www/combi/n'
|
sh 'rm -rf /var/www/combi/assets /var/www/combi/data /var/www/combi/n'
|
||||||
// Check if the tiles folder exists. If it does not,
|
// Check if the tiles folder exists. If it does not,
|
||||||
// extract the tiles
|
// extract the tiles
|
||||||
sh "if [ ! -d "$DIRECTORY" ]; then \n tar -xf /var/www/combi/tiles.tar.gz -C /var/www/combi \n fi"
|
sh "if [ ! -d /var/www/combi/tiles ]; then \n tar -xf /var/www/combi/tiles.tar.gz -C /var/www/combi \n fi"
|
||||||
sh 'cp -r ./dist/* /var/www/combi/'
|
sh 'cp -r ./dist/* /var/www/combi/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user