Skip to content

Commit

Permalink
correct command nexus upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi2krishna committed Jun 6, 2023
1 parent ea88928 commit bf9cd5e
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 @@ -21,7 +21,7 @@ pipeline {

echo 'Releasing'
sh "zip webapp/dist-'${packageJSONVersion}'.zip -r webapp/dist"
sh 'curl -u admin:Admin123* -X GET \'http://18.219.166.107:8081/repository/lms/dist-${packageJSONVersion}.zip\' --output dist-'${packageJSONVersion}'.zip'
sh "curl -v -u admin:Admin123* --upload-file webapp/dist-'${packageJSONVersion}'.zip http://18.219.166.107:8081/repository/lms/"
}
}
}
Expand Down

0 comments on commit bf9cd5e

Please sign in to comment.