title: Jenkins Error - errorWhenCurrentBuildResultIsWorseOrEqualTo.groovy
body: <p>I am trying to setup a Continuous Delivery pipeline using Jenkins for the address-manager application built using Java and S4/HANA Extension SDK. But upon starting Jenkins and starting the app for pipeline build on localhost, I see that the job which I schedule as a multi branch fails.</p>
  
  <p>The errors I get via stage view looks like this:
  <a href="https://pasteboard.co/HT3V5va.png" rel="nofollow noreferrer">Jenkins Error</a></p>
  
  <p>And some error messages that popped up are:</p>
  
  <pre><code>13:31:37  [PMD] Plug-in Result: Failed - &lt;a href="pmdResult"&gt;3 
  warnings&lt;/a&gt; of &lt;a href="pmdResult/HIGH"&gt;priority High&lt;/a&gt; exceed 
  the threshold of 0 by 3
  [Pipeline] echo
  13:31:37  --- BEGIN LIBRARY STEP: 
  errorWhenCurrentBuildResultIsWorseOrEqualTo.groovy
  [Pipeline] error
  [Pipeline] echo
  13:31:37  ----------------------------------------------------------
  13:31:37  --- ERROR OCCURRED IN LIBRARY STEP: 
  errorWhenCurrentBuildResultIsWorseOrEqualTo
  13:31:37  ----------------------------------------------------------
  13:31:37  
  13:31:37  FOLLOWING PARAMETERS WERE AVAILABLE TO THIS STEP:
  13:31:37  ***
  13:31:37  [script:Script1@23932457, errorStatus:FAILURE, 
  errorHandler:buildFailureReason$_closure1@5966ff12, 
  errorHandlerParameter:PMD, errorMessage:Please examine the PMD 
  reports.]
  13:31:37  ***
  13:31:37  
  13:31:37  ERROR WAS:
  13:31:37  ***
  13:31:37  hudson.AbortException: Build was ABORTED and marked as 
  FAILURE. Please examine the PMD reports.
  13:31:37  ***
  </code></pre>
  
  <p>I am not sure what I am doing wrong. Upon running <code>docker ps</code>, I do see two containers that are active.</p>
  
  <pre><code>docker ps
  CONTAINER ID        IMAGE                         COMMAND                  
  CREATED             STATUS              PORTS                                       
  NAMES
  5c8d5ebde36c        sonatype/nexus3:3.13.0        "sh -c 
  ${SONATYPE_DI…"   39 minutes ago      Up 39 minutes       8081/tcp                                    
  s4sdk-nexus
  39b22d39b7ed        s4sdk/jenkins-master:latest   "/sbin/tini -- 
  /usr/…"   44 hours ago        Up 38 minutes       8443/tcp, 
  50000/tcp, 0.0.0.0:80-&gt;8080/tcp   s4sdk-jenkins-master
  </code></pre>
  
  <p>Any pointers to proceed forward would be appreciated. Thank you.</p>