Is there any way that I can use Jenkins Choice Parameters to control the execution of Post-Build jobs in a project?
I have my project which is building a war file and sometimes (not all the times) I would like this war file to be send to Amazon S3 bucket so I can deploy it to an EC2 Tomcat Container. I don't want Jenkins to keep sending the war file to S3 every time it builds the project (which happens many times a day) and I want a method to control when to send the war file to S3.
The only option I can see is to duplicate my current Jenkins project and have the new project send war file to S3 but this means that I will end up having multiple Jenkins projects doing 'almost' exactly the same thing which I am trying to avoid.