Hi Team,
I am following the CICD demo video and started to create build and deploy, But I am getting below error.
Checking out Revision 11347dd42bd8ea49e305c9c0c3a74e98f3656f0a (refs/remotes/origin/master)
Commit message: “Create Jenkinsfile.unix”
git config core.sparsecheckout # timeout=10
git checkout -f 11347dd42bd8ea49e305c9c0c3a74e98f3656f0a # timeout=10
git rev-list --no-walk 11347dd42bd8ea49e305c9c0c3a74e98f3656f0a # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
- /opt/softwareagM107/common/lib/ant/bin/ant -DSAGHome=/opt/softwareagM107 -DSAG_CI_HOME=/opt/CICD/BUILD_PIPELINE_SOURCE -DprojectName=NEW_PIPELINE_PROJECT build
Failed to locateorg.apache.tools.ant.Main
ant.home: /opt/softwareagM107/common/lib/ant
Classpath: /opt/softwareagM107/common/lib/ant/lib/ant-launcher.jar:/opt/softwareagM107/common/lib/ant/lib/ant-antlr.jar:/opt/softwareagM107/common/lib/ant/lib/ant-apache-bcel.jar:/opt/softwareagM107/common/lib/ant/lib/ant-apache-bsf.jar:/opt/softwareagM107/common/lib/ant/lib/ant-apache-log4j.jar:/opt/softwareagM107/common/lib/ant/lib/ant-apache-oro.jar:/opt/softwareagM107/common/lib/ant/lib/ant-apache-regexp.jar:/opt/softwareagM107/common/lib/ant/lib/ant-apache-resolver.jar:/opt/softwareagM107/common/lib/ant/lib/ant-apache-xalan2.jar:/opt/softwareagM107/common/lib/ant/lib/ant-commons-logging.jar:/opt/softwareagM107/common/lib/ant/lib/ant-commons-net.jar:/opt/softwareagM107/common/lib/ant/lib/ant-imageio.jar:/opt/softwareagM107/common/lib/ant/lib/ant-jai.jar:/opt/softwareagM107/common/lib/ant/lib/ant-javamail.jar:/opt/softwareagM107/common/lib/ant/lib/ant-jdepend.jar:/opt/softwareagM107/common/lib/ant/lib/ant-jmf.jar:/opt/softwareagM107/common/lib/ant/lib/ant-jsch.jar:/opt/softwareagM107/common/lib/ant/lib/ant-junit.jar:/opt/softwareagM107/common/lib/ant/lib/ant-junit4.jar:/opt/softwareagM107/common/lib/ant/lib/ant-junitlauncher.jar:/opt/softwareagM107/common/lib/ant/lib/ant-launcher.jar:/opt/softwareagM107/common/lib/ant/lib/ant-netrexx.jar:/opt/softwareagM107/common/lib/ant/lib/ant-swing.jar:/opt/softwareagM107/common/lib/ant/lib/ant-testutil.jar:/opt/softwareagM107/common/lib/ant/lib/ant-xz.jar:/opt/softwareagM107/common/lib/ant/lib/ant.jar
Launcher JAR: /opt/softwareagM107/common/lib/ant/lib/ant-launcher.jar
Launcher Directory: /opt/softwareagM107/common/lib/ant/lib
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
Stage “Deploy” skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
Stage “Test” skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE
#Integration-Server-and-ESB#AgileApps#Cloud-Container#Command-Central#webMethods#Adapters-and-E-Standards#BPM