Closed bhaskarJhaPS closed 1 year ago
I'm not sure tbh.
Can you try manually overriding the Java classpath system property to an empty value?
mvn verify -Djava.class.path=
Courgette will use the custom classpath anyway so this value is ignored / removed
I tried the above suggestion. But the issue still persists.
@bhaskarJhaPS please try adding the following. This is only if you are running on a Windows-based machine
@sobi-ki I couldn't able to find the maven plugin for the same.
@bhaskarJhaPS Did you try running any other projects (that uses Courgette and the classPath option) to see if it runs successfully on Azure CMD ?
@bhaskarJhaPS Maven plugin
`
`
Closing issue. Please re-open if there are any new updates.
I followed the instructions given in https://github.com/prashant-ramcharan/courgette-jvm-classpath-example. It is working fine in my local machine. But It is still failing in Azure CMD with error java.io.IOException: Cannot run program "java": CreateProcess error=206, The filename or extension is too long at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048).
The yaml that I am using is:
The runner file that I am using is:
The error that I am getting is:
Any suggestions?