eirslett / frontend-maven-plugin

"Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.
Apache License 2.0
4.21k stars 867 forks source link

script still gets run on jenkins although code is commented out #1034

Open geyuqiu opened 2 years ago

geyuqiu commented 2 years ago

Do you want to request a feature or report a bug? could be a feature or bug What is the current behavior? npm script still gets run on jenkins although code is commented out If the current behavior is a bug, please provide the steps to reproduce.

execution is commented out

<!--                        <execution>-->
<!--                            <id>npmBuild</id>-->
<!--                            <goals>-->
<!--                                <goal>npm</goal>-->
<!--                            </goals>-->
<!--                            <phase>prepare-package</phase>-->
<!--                            <configuration>-->
<!--                                <arguments>run ui-test</arguments>-->
<!--                            </configuration>-->
<!--                        </execution>-->

What is the expected behavior?

the commented out part should not be run at mvn clean verify

Please mention your frontend-maven-plugin and operating system version. frontend-maven-plugin: 1.2