Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74941

Build step 'Execute shell' marked build as failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • build-pipeline-plugin
    • None
    • Jenkins server on AWS linux Instance. Maven and code calling from bitbucket

      With the build issue deployment is failing.
      Started by user
      admin
      Running as SYSTEM
      Building in workspace /var/lib/jenkins/workspace/PN02-NCM-continuous-BB
      [WS-CLEANUP] Deleting project workspace...
      [WS-CLEANUP] Deferred wipeout is used...
      The recommended git tool is: NONE
      using credential Bitbucket_NewPassword
      Cloning the remote Git repository
      > git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10
      Avoid second fetch
      > git rev-parse refs/remotes/origin/Develop^{commit} # timeout=10
      Checking out Revision 4d0a574e756f202321d741adf3c649f2fcad972f (refs/remotes/origin/Develop)
      > git config core.sparsecheckout # timeout=10
      > git checkout -f 4d0a574e756f202321d741adf3c649f2fcad972f # timeout=10
      Commit message: "As part of ITIT-4361"
      > git rev-list --no-walk 4d0a574e756f202321d741adf3c649f2fcad972f # timeout=10
      No emails were triggered.
      Xvfb starting$ /usr/bin//Xvfb :102 .fbdir7995848219972332487
      [PN02-NCM-continuous-BB] $ /bin/sh -xe /tmp/jenkins1087714733924505770.sh
      + export VersionName=3.169
      + VersionName=3.169
      + export PATH=/cint/local/appl/tibco/cinteaiBW513/tra/5.10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
      + PATH=/cint/local/appl/tibco/cinteaiBW513/tra/5.10/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
      + mkdir build
      + NAME=PN02-NCM
      + NAME=PN02-NCM
      + EAR_NAME=/Deployment/PN02-NCM.archive
      + awk -1);print $1"="ws"/"libName"/"$1}'
      + awk -F= '{if (NF==3) {if($2!="File Alias")

      {print $2}

      }}' PN02-NCM/.designtimelibs
      + echo stax2-api-3.1.4.jar=/var/lib/jenkins/workspace/PN02-NCM-continuous-BB/Jars/stax2-api-3.1.4.jar
      + echo scanner-resource.jar=/var/lib/jenkins/workspace/PN02-NCM-continuous-BB/lib/scanner-resource.jar
      + echo scanner-resourceLatest.jar=/var/lib/jenkins/workspace/PN02-NCM-continuous-BB/lib/scanner-resourceLatest.jar
      + echo ncm-resource.jar=/var/lib/jenkins/workspace/PN02-NCM-continuous-BB/lib/ncm-resource.jar
      + echo restfulresource-0.7.jar=/var/lib/jenkins/workspace/PN02-NCM-continuous-BB/restfulresource/restfulresource-0.7.jar
      + echo java-json.jar=/var/lib/jenkins/workspace/PN02-NCM-continuous-BB/lib/java-json.jar
      + buildear -x -v -a /var/lib/jenkins/workspace/PN02-NCM-continuous-BB/build/projlibs.properties -o /var/lib/jenkins/workspace/PN02-NCM-continuous-BB/build/PN02-NCM-3.169.ear -p /var/lib/jenkins/workspace/PN02-NCM-continuous-BB/PN02-NCM -ear /Deployment/PN02-NCM.archive
      /tmp/jenkins1087714733924505770.sh: line 25: buildear: command not found
      Build step 'Execute shell' marked build as failure
      Xvfb stopping
      Archiving artifacts
      Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
      Email was triggered for: Failure - Any
      Sending email for trigger: Failure - Any
      Request made to compress build log
      Sending email to: postnordcintdevops.in@capgemini.com
      [WS-CLEANUP] Deleting project workspace...
      [WS-CLEANUP] Deferred wipeout is used...
      [WS-CLEANUP] done
      Finished: FAILURE

            Unassigned Unassigned
            rupasri_nunna RupaSri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: