Codementor Events

Jenkins Pipeline Environment Variables - complete guide (video)

Published Apr 22, 2020Last updated May 13, 2020
Jenkins Pipeline Environment Variables - complete guide (video)

In this video, I explain most important things you need to know when you start working with environment variables in your Jenkins Pipelines (pipeline as a code.) You will learn:

  • how to list all available env vars,
  • how to access them in steps like echo or sh,
  • how to set them in different scopes (all stages, specific stage, or specific block of code),
  • how to override them effectively,
  • and how to avoid popular issues that unexperienced pipeline users quite often run into.

Jenkins Pipeline Environment Variables Explained

I guide you step-by-step and I show all examples in details. I hope you will learn something useful from it. Happy coding!

Discover and read more posts from Szymon Stępniak
get started