Java Version for Maven through Artifactory Plugin

27 views
Skip to first unread message

Daniel

unread,
Dec 2, 2016, 3:22:46 PM12/2/16
to Jenkins Users
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:
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

Daniel

unread,
Dec 4, 2016, 6:04:39 AM12/4/16
to Jenkins Users
Reply all
Reply to author
Forward
0 new messages