Configuring the Pipeline project to use created scripts
You can configure a Pipeline project directly from the Jenkins UI by using pipeline scripts to run test assets from Jenkins.
Before you begin
You must have completed the following tasks:
- Installed the Integration Tester Jenkins Plugin. See Setting up the integration with Jenkins.
- Created an Agent in Jenkins.
- Created a Pipeline project in Jenkins and added the stage under which you want to add a build step.
- Created a pipeline script. See Creating a pipeline script from Jenkins.
Procedure
- Open the Jenkins Pipeline project on the Jenkins Dashboard, and then click Configure.
- Select the Pipeline tab.
- Select the Pipeline script option in the Definition field.
- Select a sample script from the drop-down list.
- Open the pipeline script that you created for the build step.
- Copy the script for the build step under the steps section in the Definition field.
- Click Save.
Results
You have configured the build job with the script that you can use in your Pipeline project.
What to do next
You can run the build configured in your Pipeline project. See Running tests from Jenkins.