Rapid-fire: how do you trigger a parameterized build with curl and follow it?
BeginnerConceptBest practices & rapid-fire commands
Answer
curl -s -X POST -u alice:$TOKEN "https://jenkins/job/deploy/buildWithParameters?ENV=dev&TAG=main-abc1234" -D - | grep -i location
# Location: https://jenkins/queue/item/812/
curl -s -u alice:$TOKEN "https://jenkins/queue/item/812/api/json?tree=executable[number,url]"
curl -s -u alice:$TOKEN "https://jenkins/job/deploy/57/logText/progressiveText?start=0"
More on Best practices & rapid-fire commands
What are the top Jenkinsfile best practices you follow?IntermediateWhat are the top controller best practices?IntermediateRapid-fire: how do you get the initial admin password?BeginnerRapid-fire: how do you list installed plugins and their versions?BeginnerRapid-fire: how do you run the controller in Docker for a quick test?BeginnerRapid-fire: how do you connect an inbound agent with Docker?Beginner