title: Jenkins Build Error: Build step 'Invoke top-level Maven targets' marked build as failure
body: <p>Jenkins build is failing with</p>
  
  <p><strong>Build step 'Invoke top-level Maven targets' marked build as failure</strong></p>
  
  <p>I am new to Jenkins and not sure why build is failing.
  Please see the log:</p>
  
  <pre><code>[INFO] yarn install v0.27.5
  [INFO] [1/4] Resolving packages...
  [INFO] [2/4] Fetching packages...
  [WARNING] warning fsevents@1.1.1: The platform "linux" is incompatible with this module.
  [INFO] info "fsevents@1.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
  [INFO] [3/4] Linking dependencies...
  [INFO] [4/4] Building fresh packages...
  Build step 'Invoke top-level Maven targets' marked build as failure
  Finished: FAILURE
  </code></pre>
  
  <p>My pom.xml has below configurations:</p>
  
  <pre><code>&lt;properties&gt;
          &lt;project.frontend.nodeVersion&gt;v6.10.0&lt;/project.frontend.nodeVersion&gt;
          &lt;project.frontend.yarnVersion&gt;v0.27.5&lt;/project.frontend.yarnVersion&gt;
          &lt;skipGulp&gt;false&lt;/skipGulp&gt;
          &lt;build.args&gt;publish:dev:all&lt;/build.args&gt;
      &lt;/properties&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.github.eirslett&lt;/groupId&gt;
                  &lt;artifactId&gt;frontend-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.3&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;skip&gt;${skipGulp}&lt;/skip&gt;
                  &lt;/configuration&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;install node and yarn&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;install-node-and-yarn&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;nodeVersion&gt;${project.frontend.nodeVersion}&lt;/nodeVersion&gt;
                              &lt;yarnVersion&gt;${project.frontend.yarnVersion}&lt;/yarnVersion&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                      &lt;execution&gt;
                          &lt;id&gt;yarn install&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;yarn&lt;/goal&gt;
                          &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;failOnError&gt;false&lt;/failOnError&gt;
              &lt;/configuration&gt;
                      &lt;/execution&gt;
            &lt;execution&gt;
              &lt;id&gt;fix node-sass package&lt;/id&gt;
              &lt;goals&gt;
                &lt;goal&gt;npm&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;arguments&gt;rebuild node-sass&lt;/arguments&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
                      &lt;execution&gt;
                          &lt;id&gt;yarn&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;yarn&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;arguments&gt;run ${build.args}&lt;/arguments&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  </code></pre>
  
  <p>I will really appreciate any help on this.
  Thanks.</p>