Is your feature request related to a problem? Please describe.
Defining MAVEN_OPTS as a variable inside an artifactory_maven task is not working.We were able to overcome the heap memory error after defining the MAVEN_OPTS as a global variable which is having the scope of all tasks.
Here we defined the variable in our environment, removing it from Maven@3 task .
Describe the solution you'd like to see
As it is just a work around with defining the MAVEN_OPTS as a global variable and outside the ARTIFACTORY_MAVEN task ,we are looking for a scenario where if there is a scope where we can define a variable inside the maven task with MAVEN_OPTS.
Describe alternatives you've considered
Scope where we can define a variable inside the maven task
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. Defining MAVEN_OPTS as a variable inside an artifactory_maven task is not working.We were able to overcome the heap memory error after defining the MAVEN_OPTS as a global variable which is having the scope of all tasks. Here we defined the variable in our environment, removing it from Maven@3 task .
Pipeline snippet:- variables:
Describe the solution you'd like to see As it is just a work around with defining the MAVEN_OPTS as a global variable and outside the ARTIFACTORY_MAVEN task ,we are looking for a scenario where if there is a scope where we can define a variable inside the maven task with MAVEN_OPTS.
Describe alternatives you've considered Scope where we can define a variable inside the maven task
Additional context Add any other context or screenshots about the feature request here.
variables: