Skip to content

Commit

Permalink
test zip
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi2krishna committed Jun 6, 2023
1 parent 46ebb73 commit 41685c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pipeline {
def packageJSON = readJSON file: 'webapp/package.json'
def packageJSONVersion = packageJSON.version
echo 'Deploying....'
sh 'curl -u admin:Admin123* -X GET \'http://18.219.166.107:8081/repository/lms/dist-'${packageJSONVersion}'.zip\' --output dist-'${packageJSONVersion}'.zip'
sh "curl -u admin:Admin123* -X GET \'http://18.219.166.107:8081/repository/lms/dist-${packageJSONVersion}.zip\' --output dist-'${packageJSONVersion}'.zip'
sh 'sudo rm -rf /var/www/html/*'
sh "sudo unzip -o dist-'${packageJSONVersion}'.zip"
sh "sudo cp -r webapp/dist/* /var/www/html/"
Expand Down

0 comments on commit 41685c9

Please sign in to comment.