Debugging issues with freestyle script

Notice how we logged out environment variables that had simple information. There will be times where values are not being set in a CI environment, as you would expect, and this is where logging values out to standard output can be very helpful. One good aspect of using the EnvInject Plugin is that it will mask passwords that you inject to a build job so that you don't accidentally log secrets or confidential information:

Notice that in the preceding screenshot we have checked the inject passwords to the build as environment variables and given a name and password to the environment variable. If you accidentally ...

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.