Is it possible to compile grunt project from maven?

后端 未结 9 1306
滥情空心
滥情空心 2021-01-30 16:55

I\'m trying to execute grunt tasks from within maven without needing to install Node.js or anything. This is because I wan\'t my artifact to be packaged by Jenkins and I can\'t

9条回答
  •  逝去的感伤
    2021-01-30 17:18

    If the problem is installing NodeJS on the Jenkins machine then you can use the NodeJS Jenkins plugin.

    https://wiki.jenkins-ci.org/display/JENKINS/NodeJS+Plugin

    We're not using it with Maven (yet) but we've got grunt running.

提交回复
热议问题