Jenkins Pipelines

Loops and conditionals

Submitted by isntall on Sat, 09/09/2017 - 21:32

One of the weaker things in bash are the conditionals, when compared to the simplicity and elegance of a higher language. I know the syntax of both and there are many, many caveats in the bash conditionals that make them non-trivial.

Variables in Jenkins Pipelins

Submitted by isntall on Sat, 09/09/2017 - 07:30

The power that the bash shell affords is hard describe and its familiarity makes the bash shell my go to for almost everything. But I'm continuing on the process of JP (Jenkins Pipelines).

With that end, I need to have some variables defined at the beginning of the run and used throughout the entire job.
Sometimes these variables will be defined in Groovy

Jenkins Pipeline round 1...with examples

Submitted by isntall on Fri, 09/08/2017 - 21:10

Recently started to take them more seriously to see how much work it would be to take my current work flow and augment their power.
Most of my jobs are bash scripts that make Jenkins a glorified cron job. Previously Jenkins was very rudimentary, e.g. I just recently started using Jenkins plug-ins for config injection and secret obfuscation.
Now I'm trying to take those newly learned processes and add a whole new DSL on top.