dorin....@gmail.com schrieb am Montag, 28. August 2023 um 11:58:53 UTC+2:

Hi everyone,

I updated the *pom.xml *to use *VS 2022*'s integrated *MSBuild.exe*:
https://github.com/jenkinsci/hpe-application-automation-tools-plugin/pull/610/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8

Since then, the ”ci.jenkins.io / Jenkins” check fails: 
Caused by: java.io.IOException: Cannot run program "C:\Program 
Files\Microsoft Visual 
Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe" (in directory 
"C:\Jenkins\agent\workspace\n-automation-tools-plugin_PR-610\HpToolsLauncher"): 
CreateProcess error=2, The system cannot find the file specified

https://github.com/jenkinsci/hpe-application-automation-tools-plugin/pull/610/checks?check_run_id=16262369304

We use a Jenkinsfile like this:
https://github.com/jenkinsci/hpe-application-automation-tools-plugin/blob/latest/Jenkinsfile

How can we tell the Jenkins builder to use the new MSBuild.exe ?


Did you check if the jenkins project windows workers have VS2022 installed 
at all?  And if the answer is yes, is the path correct? These tests are not 
runnig  on your local machine, so don't expect arbitrary tools to be 
available.
See 
e.g. 
https://github.com/jenkins-infra/documentation/blob/main/ci.adoc#jenkins-on-jenkins

 

Please help.

*Note: *We do *NOT *use / need Docker. 

Thank you in advance,
Dorin.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/e6caa918-016c-41fd-8632-2ab191a9599fn%40googlegroups.com.

Reply via email to