#!groovydef application = Constants.SONARQUBE_POCdef build = new org.ppluk.JenkinsPipelineBootstrap().setupBuild(application.name, application.next_version)
#!groovy// vim: set syntax=groovy:// Author: // Description: Declarative Pipeline Bootstrap actions
package org.ppluk
String setupBuild(String applicationName, String nextVersion) {pipeline { agent { label "Java" } tools { maven "M3" } stages { stage('test') { when { branch "feature/*" } steps { echo "helloworld" } } }}}
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0c4059ee-4d53-40de-b6a2-de299352e08c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.