chamikaramj commented on code in PR #32841:
URL: https://github.com/apache/beam/pull/32841#discussion_r1806778762
##########
release/src/main/groovy/TestScripts.groovy:
##########
@@ -209,16 +220,17 @@ class TestScripts {
</profile>
</profiles>
</settings>
- """
- def cmd = "mvn ${args} -s ${settings.absolutePath} -Ptestrel -B"
- String path = System.getenv("PATH");
- // Set the path on jenkins executors to use a recent maven
- // MAVEN_HOME is not set on some executors, so default to 3.5.2
- String maven_home = System.getenv("MAVEN_HOME") ?:
'/home/jenkins/tools/maven/apache-maven-3.5.4'
- println "Using maven ${maven_home}"
- def mvnPath = "${maven_home}/bin"
- def setPath = "export PATH=\"${mvnPath}:${path}\" && "
- return _execute(setPath + cmd)
+ """
+ }
+ def cmd = "mvn ${args} -s ${settings.absolutePath} -Ptestrel -B"
Review Comment:
Ack. Thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]