Jenkins
Jenkins Job Monitor in MCT is a type of synthetic check that monitors the status and result of Jenkins jobs. This monitor assesses the health and performance of Jenkins jobs by querying the Jenkins server and retrieving the job's current status and result.
label: language:python; os:alma8
Configuration ¶
Required ¶
- Jenkins URL: The URL of the Jenkins server.
- Job Name: The name of the Jenkins job to monitor.
Optional ¶
- Username: The username to use for authentication, if required.
- Password: The password to use for authentication, if required.
- Job Status: The expected status of the job (e.g., SUCCESS, FAILURE, RUNNING).
- Job Result: The expected result of the job (e.g., SUCCESS, FAILURE, UNSTABLE).
Zone-Level Parameters: ¶
- Jenkins Site URL: The URL representing the Jenkins site portal address.
- User Pass: A username and password pair separated by a single colon (:), such as "CecId:thePassWd".
Server-Level Parameters: ¶
- Server IP Address & Server Hostname: These parameters describe the testing target information as shown on important pages. These can be named "Test Target" and "Testing Name".
- Job Path: The Huron TA test job path excluding the Jenkins Site URL part.
- Job Token: A Huron TA test job token configured at the Jenkins site for remote access.
- Job Parameters: If the job requires runtime parameters, all of them can be transferred through this text area.
By configuring these parameters, the Jenkins Job Monitor in MCT can effectively monitor the status and result of Jenkins jobs, ensuring that the health and performance of your Jenkins-based testing are continuously assessed and reported.
Source Code
More details in Jenkins Job Monitoring