Jenkins build error #3641
Replies: 2 comments 1 reply
-
I've never tried Jenkins, the CI builds here run on AppVeyor. Looks like there is a problem running cmd.exe, my only suggestion would be to try using an absolute path. https://github.com/cefsharp/CefSharp/blob/cefsharp/91/build.ps1#L61 |
Beta Was this translation helpful? Give feedback.
-
Found the solution. Jenkins appends the java and other program locations to the PATH setting in dos. Solution i found is here: at its simplest means adding |
Beta Was this translation helpful? Give feedback.
-
I am using the build.ps1 script to eventually create a custom CEFSharp build.
For my first tests I am just going to build an existing branch, in this case cefsharp91
If I run builds.ps1 from a cmd (standard not admin) prompt on my windows build machine it works just fine.
However when I run the same command from a Jenkins windows command it seems to have problems
getting the location of my java install correct. See the output below:
Has anyone run into this problem?
One theory i have is the startup user of the Jenkins server is different from the one I use when running it manually. Will have to check with devops to get that changed.
Beta Was this translation helpful? Give feedback.
All reactions