I have created a job in Jenkins tool. I am getting error like this “Started by user CodeBind
Running as SYSTEM
Building in workspace C:Usersuser_OneDriveDesktopaccess-mgmt
[access-mgmt] $ cmd.exe /C “mvn -s “C:Usersuser_OneDriveDesktopaccess-mgmt””C:Usersuser_OneDriveDesktopaccess-mgmt””” -gs “C:Usersuser_OneDriveDesktopaccess-mgmt””C:Usersuser_OneDriveDesktopaccess-mgmt””” clean package && exit %%ERRORLEVEL%%”
‘mvn’ is not recognized as an internal or external command,
operable program or batch file.
Build step ‘Invoke top-level Maven targets’ marked build as failure
Finished: FAILURE”.
I have tried I a lot by changing path location
Hema is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.