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.
