Bamboo MAVEN tasks gives syntax error of the command

Devendar Gangapuram
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2022

Hi Team,

We have a Bamboo MAVEN(3.84) task in our instance, while deployment is executing it gives error: "The syntax of the command is incorrect " error. But the same command when I execute it on CMD it works fine. Please look in this issue and help me out as soon a spossible , because it is stoppin gour dpeloyment work. 

 

 

NOTE: We are using windows default agent

 

Script:-MVN Task syntac ERROR.PNG

C:\apache-maven-3.8.4\bin\mvn.cmd -B -Dartifact=ie.zurich.rtf:hello-world-service:1.0.23:jar -DoutputDirectory=. -Dinclude=org.mule.tools.maven:mule-maven-plugin,org.mule.tools.maven:mule-app-maven-plugin mule:deploy -U -Dmaven.groupId=ie.zurich.rtf -Dmaven.artifactId=hello-world-service -Dmaven.version=1.0.23 -Danypoint.account.username=svc-Mule-GIDeployUAT -Danypoint.account.password=******** -Ddeploy.applicationName=hello-world-service -Danypoint.runtime.environment=uat -Danypoint.runtime.target=zurich-gi-uat422-cluster -Danypoint.runtime.targetType=cluster -Danypoint.account.businessGroup="Zurich Ireland\General Insurance" -f arm-deploy-pom.xml -Dmule.version=3.8.4 -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.http.auth.proxying.disabledSchemes="" -Djava.net.useSystemProxies=true -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmule.artifact=hello-world-service-1.0.23-mule-application.jar

 

 

 

Thanks in advance

Dev G

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events