I\'m doing a build on my Ubuntu 14.04 LTS but I\'m getting the following:
Started by user anonymous
Building in workspace /var/lib/jenkins/workspace/videovixx
&
I had the same problem I added maven in my global tool configuration but not worked. the reason is my instance is a enter image description herenewly created one. I installed maven after that it worked.
I had the same problem on colab and i installed mav in Jenkins Server and issue was fixed.
!sudo apt install maven
import imagej;
ij = imagej.init();
print(ij.getVersion())
If you are just looking for simplest solution then you should go to global jenkins configuration
http://localhost:32773/configureTools/
And configure maven like that
Then you have to go to your project. Inside settings you have build. Chose maven which you have created a minute ago.
After configured Maven in globally Created Build a maven2/3 project job instead of Build a free-style software project and post build sonar works fine!
There are multiple things here.
You either didn't select Maven version in Job configuration.
Or you didn't configure Jenkins to install a Maven version.
Or you expected to use locally installed Maven on the Slave, but it's not configured for jenkins
user.
Since I don't know what you've configured (or didn't configure) and what you expected to use, I can't answer directly, but I can explain how it works.
jenkins
user
sudo jenkins
, and then execute mvn
on your Slave to verify that jenkins
user can run mvn
Default
. This is the setting that uses the version that's installed locally on the nodeI had the same problem and i installed maven in Jenkins Server and issue was fixed.
sudo yum install maven