jfrog/bamboo-jfrog-plugin

Allow to choose Maven and JDK version in Maven tasks

Opened this issue · 1 comments

We would like to add the option to choose the Maven and JDK versions when working with the plugin, similar to the option available in the Artifactory Bamboo Plugin.

What problem are you trying to solve? Why? Or describe the use case.
Teams are using different versions of Maven and JDK for their projects and would like to have a similar option to choose the right Maven and JDK versions per build.

Feature Description:
Add an option to choose the Maven and JDK versions based on the available versions in Bamboo.

What is the expected behavior?
Be able to choose the Maven and JDK versions, as currently it can be achieved using ENV variables since it will not affect the “JFrog CLI Task”.

JFrog for Bamboo:
JFrog for Bamboo

Artifactory Bamboo Plugin:
Artifactory for Bamboo

What we tried, without success.

  • Configure Environment Variables, in the plan level, but it is not affecting the “JFrog CLI Task”
    Env per plan
  • Adding a “Script” task, which was able to change the Maven and JDK version, however, this was not reflected in the next “JFrog CLI Task”
    Script task

@HarelYoav bamboo-jfrog-plugin v1.0.5 is released supporting this request.

Support variables provided via Project/Plan variables:
image
image

Looking forward to your feedback on it.