Hi When running a Visual Studio job from a declarative script on a Windows agent I see:
E:\jenkins\workspace\CMake_tests_1_Windows_trunk>call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat" \Java\jre1.8.0_241\bin"" was unexpected at this time. I want to check the value of JAVA_HOME. Where is that set for a Windows agent? Best regards David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAJK_iegQXheUok%3DpY8DV25GtjKK0D_a5fr6WD56JXPbpzs9DgQ%40mail.gmail.com.