You can run tests or other jobs by using the Jenkins plug-in that allows you to use custom automation and scripts.
About this task
You can use any Jenkins job in the Jenkins server in the release pipeline with this endpoint enabled. You can use this endpoint to invoke a Jenkins build job during the modeling of a release pipeline and run the job as part of the release pipeline.
Verify that the Jenkins server is available and configured.
Verify that the Jenkins server version is 1.561 or later.
Verify that the Jenkins jobs are created in the Jenkins server with the input string parameter, vRCSTestExecutionId.
- Select .
- Click Add.
- Select Jenkins from the Endpoint Type drop-down menu.
- Enter a Jenkins server endpoint name and an applicable description.
For example, in the description section you can add the release pipeline name that uses this Jenkins server endpoint.
- Enter the Jenkins server configuration details.
User name and password for the Jenkins server.
Enter the path of the folder used to group your jobs. Jenkins can run all jobs in the folder.
You can create a folder under another folder. For example, Folder1 can include job1.
Under Folder1, you can have another folder named Folder2, which includes job2.
When you create an endpoint for Folder1, the folder path will be job/Folder1. The endpoint will only list job1.
To obtain the list of jobs in the child folder named Folder2, you must create another endpoint with the folder path as /job/Folder1/job/Folder2/.
Enter the host URL as protocol://host:port. For example: http://188.8.131.52:8080
The interval duration for vRealize Code Stream to poll the Jenkins server for updates.
Request Retry Count
Number of times to retry the scheduled build request for the Jenkins server.
Retry Wait Time
Seconds to wait before retrying the build request for the Jenkins server.
- When the endpoint is created, you can select Offline Creation to require a validation and certificate acceptance.
The offline creation allows you to create the endpoint when the server is not accessible. You can accept the default setting, or select Yes to enable this configuration.
- Click Save.
What to do next
To use this endpoint in the release pipeline, you must create a test task. See the Using vRealize Code Stream guide.