Run a command shell in jenkins

前端 未结 6 2119
甜味超标
甜味超标 2020-12-16 10:08

I\'m trying to execute a command shell in Jenkins, I\'m working on Windows 7. In the console output I have this:

Building in workspace C:\\Program Files (x86         


        
6条回答
  •  眼角桃花
    2020-12-16 10:59

    Go to Jenkins -> Manage Jenkins -> Configure System -> Global properties Check the box 'Environment variables' and add the JAVA_HOME path = "C:\Program Files\Java\jdk-10.0.1"

    *Don't write bin at the end

提交回复
热议问题