jenkins, again again

This commit is contained in:
Araozu 2024-09-09 16:59:26 -05:00
parent 5b5aaa5ace
commit c1a6d8c4a4

2
Jenkinsfile vendored
View File

@ -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/'
} }
} }