After taking a tiny 4 month break . I’m back with a mostly maintenance release.
This release is mostly dependency updates as I get back into the swing of things. However I did manage to release two improvements which are worth mentioning.
- You can now easily use tfswitch inside your pipelines to automatically detect and install the correct version of terraform.
- We now have a docker container that can easily be run to demo the features of the library.
To play with the new TerraformSwitcher class.
docker run --rm -p 4000:80 dsty/jenkins:demoto start the jenkins sever locally.
- Wait about a min or until you see “Jenkins is fully up and running”
- Browse to http://127.0.0.1:4000/job/terraform-switcher-example/ and click build to see the
tfswitchexample. To see the code that is running scroll to the top of the build and click “replay” or see it here.
For the more security consious users, you can build the demo docker container yourself here.
Shameless plug below
If you are using the vscode IDE, then I highly recommend my Jenkins Extension Pack which gives you auto completion and javadoc comments directly in your IDE.