Parameterized Jenkins build for rollback purposes.

Yes, I know, Jenkins is terrible. I don’t recommend using it. Use TravisCI, CircleCI or something like that.

Nonetheless. If u happen to use Jenkins for whatever reason, there are advantages to it. One of them is manually trigger-able and parameterized builds. With them, you can set up rollbacks to a specified git tag.
When emergency hits (hope it’s not) you’ll need this.

After this, you’ll want to configure the rest of the build in your preferred fashion… whatever takes to actually build and deploy your repo… Click ‘Save’ and you are done.

Settings mentioned above are key to ensure successful checkout of a git tag you’ll specify in the following step.

Let me know how did this work for you!
You should follow me up at @ksaitor and subscribe to this blog below.

If you have questions, please go to my other blog where comments are enabled. Thanks!

 
282
Kudos
 
282
Kudos

Now read this

Evernote’s promo code

Lately I attended Startup Weekend Singapore. One of the event sponsors was Evernote, who kindly gave out free 3-month subscriptions for Evernote Premium to all participants. Coupon looked like this: Notice that 20-char code? Have fun... Continue →