Jenkins
To start build monitoring make sure that YouMonitor plugin for Jenkins is installed and activated.
Enable monitoring in Pipeline script
To enable build monitoring in Pipeline script wrap build commands inside youMonitor
section. For example:
node {
youMonitor {
bat 'mvn install'
}
}
After the first execution of the Pipeline script with youMonitor
tag,
you will be able to open repository for this project
in YouMonitor UI.
Enable monitoring in other projects
-
Open the project you want to monitor and click Configure link:
-
Scroll to the Build Environment section of the configuration page and check Enable YourKit YouMonitor build monitoring item:
- You can now open repository for this project in YouMonitor UI.