Hi Jan, Sorry for the late response, I was off for a while. Yes, I can run commands on the windows agent. I solved the problem! Apparently I could not run these two commands in one window: npm install and npm run build . When I separated it and run it in two separate 'execute windows batch command' it works. Thanks for the response!
On Saturday, May 18, 2019 at 1:19:31 PM UTC-4, Jan Monterrubio wrote: > > Can you use any command on the windows agent? Let’s double check that > things are running on it. Try to just echo something. > > Is npm installed? If not you’d get a command not found error when running. > > On Wed, May 15, 2019 at 15:17 LP <[email protected] <javascript:>> wrote: > >> Hi, I am new to Jenkins but have done a few builds/deployment jobs of >> .net project successfully. Now I am trying to build/deploy Vue js project >> through Jenkins but just cannot get through... >> I can build the project directly on a server using command prompt. It >> builds and creates files for deployment in a right directory. >> When I am trying to do it in Jenkins job (using the same npm commands) it >> does not give any error messages, says it built successfully but it does >> NOT create any files for deployment. >> Does anybody encounter this problem? Did anybody build Vue js project >> through Jenkins? Any help appreciated. Thanks! >> >> -- >> 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 [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/c3eb0ee9-6aac-4c5d-8d59-9282310b7a80%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/c3eb0ee9-6aac-4c5d-8d59-9282310b7a80%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3559c80a-8c67-4228-931f-469385129605%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
