Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Jenkins Declarative Multibranch Pipeline

Moderators: Vladimir Kondratyev, Anton Katilin

Jenkins Declarative Multibranch Pipeline

Postby kthoms » Sat Oct 13, 2018 4:18 pm

I wanted to give YouMonitor a test on one of my Eclipse Open Source projects. We are using usually a Multibranch Pipeline job defined as a Declarative Pipeline with a Jenkinsfile.

In the configuration of a Multibranch Pipeline job there is no Build Environment entry, it is all defined by the Jenkinsfile. How should YouMonitor be activated in there?

Example: https://github.com/eclipse/xtext-lib/bl ... enkinsfile

About Pipelines:
https://jenkins.io/doc/book/pipeline/#s ... ndamentals
kthoms
 
Posts: 1
Joined: Sat Oct 13, 2018 4:11 pm

Re: Jenkins Declarative Multibranch Pipeline

Postby Ilya Kalikin » Mon Oct 15, 2018 10:03 am

The syntax from the instructions should work in Jenkins pipeline:

Code: Select all
node {
  youMonitor {
    // ...
  }
}


Make sure to install Jenkins plugin first.
When the build is completed use "Open Repository..." action to see the results.
Ilya Kalikin
 
Posts: 11
Joined: Mon Jun 12, 2017 3:06 pm


Return to YouMonitor

Who is online

Users browsing this forum: No registered users and 1 guest