Also, are you running on a 32-bit or 64-bit Windows? On Mon, Oct 14, 2019 at 10:19 AM Matt Sicker <[email protected]> wrote:
> By the sounds of it, it looks like you have a file access error of some > sort when Maven goes to run yarn. You can verify the file permissions in > the yarn directory it references to try and debug this. > > On Mon, Oct 14, 2019 at 10:00 AM Kalana Wijethunga < > [email protected]> wrote: > >> Hi Matt, >> >> Thank you for your reply. >> I tried the build after turning windows defender off for both public and >> private networks. Still I am getting the same error.I dont have a virus >> guard installed. >> >> >> On Mon, 14 Oct 2019 at 20:13, Matt Sicker <[email protected]> wrote: >> >>> This definitely works in Windows (a few Jenkins developers are Windows >>> users). It appears as though there's an issue with yarn being run as a >>> subprocess during the JavaScript "compilation" phase (i.e., >>> uglify/minify/etc). Do you have a firewall blocking yarn from making >>> HTTP requests? >>> >>> On Sun, Oct 13, 2019 at 2:25 AM Kalana Wijethunga >>> <[email protected]> wrote: >>> > >>> > Hi, >>> > >>> > I am a newbie to Jenkins who is looking to contribute Jenkins. I am >>> having some trouble in building the project for the first time. I am >>> building Jenkins [1] on windows by typing the command "mvn clean package >>> -pl war -am -DskipTests -Dfindbugs.skip" given in [2]. But there is a build >>> failure on Jenkins war. I get the error "This app can't run on your PC" >>> from windows and when i close that error, the build fails with the >>> following error >>> > "[INFO] Running 'yarn --mutex network' in F:\open source\jenkins\war >>> > [ERROR] Access is denied." >>> > I am assuming that the project can be built on Windows, as you haven't >>> mentioned Ubuntu as prerequisite in building the project. I have tried >>> running the command prompt as an adminstrator as well. Looks like node and >>> yarn do not get permission to run command on the terminal. I have attached >>> an image of the error for further reference. Appreciate your help in >>> resolving this. >>> > >>> > [1] https://github.com/jenkinsci/jenkins >>> > [2] https://github.com/jenkinsci/jenkins/blob/master/CONTRIBUTING.md >>> > >>> > -- >>> > 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 [email protected]. >>> > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/5c6e81d1-514d-420c-8e77-b74a4f23053d%40googlegroups.com >>> . >>> >>> >>> >>> -- >>> Matt Sicker >>> Senior Software Engineer, CloudBees >>> >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/CAEot4oxhr12RHoWpars_2Z_uK5DboEojH%3DSMgHwraDdoSEQFWA%40mail.gmail.com >>> . >>> >> >> >> -- >> >> >> Kalana Wijethunga >> >> Undergraduate >> >> Department of Computer Science & Engineering >> >> University of Moratuwa >> >> >> >> Mobile: +94 77 4052085 >> >> *Profile*: *https://www.linkedin.com/in/kalana-wijethunga >> <https://www.linkedin.com/in/kalana-wijethunga>* >> >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/CAOzcZ0K9kOOpC%2B6Q15fEaLApLWhHc4VE8-f9svygtR5Yc5Zkrw%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/CAOzcZ0K9kOOpC%2B6Q15fEaLApLWhHc4VE8-f9svygtR5Yc5Zkrw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Matt Sicker > Senior Software Engineer, CloudBees > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAEot4oxNv3vB%2BTD88uNs0rKo4mo%3DgKLdV48d-T-vk6%2BdUzz8eQ%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CAEot4oxNv3vB%2BTD88uNs0rKo4mo%3DgKLdV48d-T-vk6%2BdUzz8eQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Website: http://earl-of-code.com -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVdCZocbtoP_n8RhQPk3Tbewue%3D2SPAPgR6Vdx%3DJN%2BrPUg%40mail.gmail.com.
