Can have a big help to look at it, the MVN install my computer is good, can MVN - v out
But I'm in the pipeline of Jenkins execute MVN -v command will quote this wrong, is the same server address, as I've looked at a few days, can not see the problem,,, going crazy
CodePudding user response:
Add, I'm in Jenkins with MVN building project is ok,,,
CodePudding user response:
reference 1/f, expired fluoxetine response: add, I'm in Jenkins MVN building project is ok,,, What do you mean on pipline can execute MVN clean packag such orders? CodePudding user response:
refer to the second floor sleep not to wake the ZWW response: Quote: refer to 1st floor expired fluoxetine response: add, I'm in Jenkins MVN building project is ok,,, What do you mean on pipline can execute MVN clean packag such orders? sure can, but I am in the company's computer running sh MVN - v can come out, my own virtual machine in the paper is the mistake, but my virtual machine MVN - v is no problem to come out version information CodePudding user response:
Look at the environment variable env CodePudding user response:
refer to the 4th floor sleepy ZWW response: see environment variable Env CodePudding user response:
A poor maven_home environment variables, you search the maven environment variables, a filling CodePudding user response:
refer to 6th floor sleepy ZWW reply: sent a maven_home environment variables, you search the maven environment variables, swallow see this is not ok with that CodePudding user response:
refer to 7th floor expired fluoxetine response: Quote: refer to the sixth floor sleep not to wake the ZWW response: sent a maven_home environment variables, you search the maven environment variables, supplement the see this is not match well? You couldn't see the problem CodePudding user response:
refer to the eighth floor sleepy ZWW reply: Quote: refer to the 7th floor expired fluoxetine response: Quote: refer to the sixth floor sleep not to wake the ZWW response: sent a maven_home environment variables, you search the maven environment variables, supplement the see this is not match well? Don't see a problem CodePudding user response:
I baidu you this problem, for many, have you ever tried CodePudding user response:
references to the tenth floor sleepy ZWW reply: I baidu you this problem, the search to a lot of, have you ever tried? search, are MVN didn't installed MVN -v error, but I MVN installed on the machine and then I thought in pipeline sh MVN - v is not running, in the company's servers can run, the version information, it is normal MVN command, Jenkins configuration inside right again, basic no problem, I the MVN mainly in Jenkins build maven project no problem again CodePudding user response:
the expired 11 references, fluoxetine response: Quote: reference to the tenth floor sleepy ZWW reply: I baidu you this problem, the search to a lot of, have you ever tried? search, are MVN didn't installed MVN -v error, but I MVN installed on the machine and then I thought in pipeline sh MVN - v is not running, in the company's servers can run, the version information, it is normal MVN command, Jenkins configuration inside right again, the basic problem, mainly the MVN in Jenkins I build maven projects and no problem http://www.phperz.com/article/15/0523/128824.html MAVEN_HOME into M2_HOME try CodePudding user response:
refer to 12 floor sleepy ZWW reply: Quote: the expired 11 references, fluoxetine response: Quote: reference to the tenth floor sleepy ZWW reply: I baidu you this problem, the search to a lot of, have you ever tried? search, are MVN didn't installed MVN -v error, but I MVN installed on the machine and then I thought in pipeline sh MVN - v is not running, in the company's servers can run, the version information, it is normal MVN command, Jenkins configuration inside right again, the basic problem, mainly the MVN in Jenkins I build maven projects and no problem http://www.phperz.com/article/15/0523/128824.html MAVEN_HOME to try M2_HOME I most begin is the environment variable M2_HOME, then now the environment variable from my company server kao changed, too weird