Below command helped me to solve this.
#!/bin/bash
#get the selected snapshot artifact
selectSnap(){
wget "$Select_Snapshot_Version_ARTIFACT_URL"
}
#get the selected release artifact
selectRel(){
wget "$Select_Release_Version_ARTIFACT_URL"
}
selectSnap
selectRel
When I run this it will automatically save selected version into my jenkins workspace.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.