user1748213 February 2016

Building jhipster in Windows Jenkins

When I try to build JHipster on a windows Jenkins instance, I get the following error

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.4:build (run-frontend-build) on project jhipster: Error during : cmd /c bower --version

I tried running Pprod clean package from the commandline and it works fine.

Any thoughts / Help appreciated.

Answers


Gaël Marziou February 2016

That's because Jenkins's node environment is not complete, make sure bower is in its path. Bower should be installed using npm install -g bower

Please refer to our documentation about Jenkins setup: http://jhipster.github.io/setting-up-ci/


user1748213 February 2016

Thanks to Gaƫl Marziou, I zeroed in on the problem to access issues for the Jenkins user. I was able to solve it using the NodeJS plugin.

Post Status

Asked in February 2016
Viewed 3,844 times
Voted 7
Answered 2 times

Search




Leave an answer