By using the Job as Code plug-in, you can configure a job step as a JSON or YAML
file.
-
Install the Job as Code plug-in.
-
Select the job to add the step to, and then add a step.
-
In the Step Type window, expand Job as Code and
click Configure Job as Code.
-
Enter the properties for the step.
The following are required properties.
- Name
- The name of the JSON or YAML file.
- Job as Code File Path
- The location of the JSON or YAML file.
-
Click Save.