Containing a series of 1 or higher phase directives, the phases part is when the majority of the “work” described with a Pipeline will be found. At least, it is suggested that phases have one or more stage directive for every discrete an element of the constant distribution procedure, such as for example develop, Test, and Deploy.
Only one time, within the pipeline block.
The actions section defines a few a number of actions become performed in a provided stage directive.
Inside each phase block.
The environment directive specifies a sequence of key-value pairs which is thought as environment variables for many actions, or steps that are stage-specific according to where in fact the environment directive is situated inside the Pipeline.
This directive supports a helper that is special credentials() that could be used to get into pre-defined qualifications by their identifier when you look at the Jenkins environment.
Within the pipeline block, or within phase directives.
Supported Qualifications Type
the environmental surroundings adjustable specified will undoubtedly be set to your Text that is secret content
the environmental surroundings adjustable specified is likely to be set towards the located area of the File file that is temporarily developed