I'am configuring Jfrog Artifactory with Jenkins through pipeline.
It is master-slave architecture.
Jenkins master is on Windows where slave is on Redhat Linux.
For maven configuration i have specified on global tools configuration like this: /opt/tools/maven/apache-maven-3.3.9
As i have specified in master(Windows) and it wont be able to find in slave (Linux) i have configured in slave also, under tools option.
I have specified exact locaion of maven: /opt/tools/maven/apache-maven-3.3.9
When i'm trigging build and Artifactory connection is being established but after that build goes failure with the error message:
java.nio.fs.InvalidPathException illegal char <*> at Index 41 /opt/tools/maven/apache-maven-3.3.9\boot\*
After apache-maven-3.3.9 it is adding Windows slash, which is causing this error.
Anyone can tell me how to resolve this error?
This would be really helpful.