Hi all,
I use Jenkinsfile and create the pipeline from jenkins console, but I don’t know how to add Description for each job, please look the print.
Hi all,
I use Jenkinsfile and create the pipeline from jenkins console, but I don’t know how to add Description for each job, please look the print.
looking at How can I add job description in Jenkins 2 multi-branch pipeline? - Stack Overflow I would say easiest is
currentBuild.parent/*branch*/.parent/*top branch*/.setDisplayName("whatever you want")
Though you may want to just set the builds name/description - How to set build name in Pipeline job?