Hello everyone, i'm in trouble about some jenkins stuff. I have a hybrid application, and i need to setup automatic build for that. i follow those steps to build the app.
npm i ionic cordova platform add android --no-interactive ionic cordova build android --prod --no-interactive and that's works fine. But when i put this commands into a build.sh file, and put this file into Jenkins "shell command", when i run "build" into jenkins, i get an error "ionic: command not found". I'm working on MacOS, and Jenkins have a separate User. Of Course, from CLI, all works fine. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/056ae4f1-8b84-48a2-878d-62f360f97580%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.