A

Admin • 828.03K Points
Coach

Q. Which section in a declarative Jenkinsfile is used for defining environment variables?

  • (A) stages
  • (B) options
  • (C) environment
  • (D) steps
  • Correct Answer - Option(C)
  • Views: 14
  • Filed under category Jenkins
  • Hashtags:

Explanation by: Admin
The 'environment' block is used to define environment variables in a Jenkins pipeline.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.