Hi together, I am currently setting up a build pipeline that uses the artifactory maven plugin to build and publish artifacts.
The following examples were a good start: - https://wiki.jenkins-ci.org/display/JENKINS/Artifactory+-+Working+With+the+Pipeline+Jenkins+Plugin - https://github.com/JFrogDev/project-examples/blob/master/jenkins-pipeline-examples/maven-example/Jenkinsfile However I wasn't able to define the Java Version which should be used to run maven. Setting env.JAVA_HOME and env.PATH works fine for sh 'java -version' but it has no effect for the artifactory maven plugin. Any hints are greatly appreciated. Thanks, Daniel -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8bf5a2ec-dfc3-4800-a2c4-39157138b09e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
