FailedConsole Output

Started by user Tom Jenkinson
Agent default-java-mqwjr is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (): 

[EnvInject] - Loading node environment variables.
Building remotely on default-java-mqwjr in workspace /home/jenkins/workspace/eclipse-ee4j_jta-api-EE4J_8-release
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-gO4mpZOIW8Hc/agent.89
SSH_AGENT_PID=91
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/eclipse-ee4j_jta-api-EE4J_8-release@tmp/private_key_7629631828579248322.key (/home/jenkins/workspace/eclipse-ee4j_jta-api-EE4J_8-release@tmp/private_key_7629631828579248322.key)
[ssh-agent] Using credentials jta-bot (GitHub Bot SSH)
Cloning the remote Git repository
Cloning repository git@github.com:eclipse-ee4j/jta-api.git
 > git init /home/jenkins/workspace/eclipse-ee4j_jta-api-EE4J_8-release # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jta-api.git
 > git --version # timeout=10
using GIT_SSH to set credentials GitHub Bot SSH
 > git fetch --tags --progress git@github.com:eclipse-ee4j/jta-api.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git@github.com:eclipse-ee4j/jta-api.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:eclipse-ee4j/jta-api.git # timeout=10
Fetching upstream changes from git@github.com:eclipse-ee4j/jta-api.git
using GIT_SSH to set credentials GitHub Bot SSH
 > git fetch --tags --progress git@github.com:eclipse-ee4j/jta-api.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/EE4J_8^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/EE4J_8^{commit} # timeout=10
Checking out Revision 455ed6a1bc5e14b27389d00efa5f3fcf0c97173b (refs/remotes/origin/EE4J_8)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 455ed6a1bc5e14b27389d00efa5f3fcf0c97173b
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b EE4J_8 455ed6a1bc5e14b27389d00efa5f3fcf0c97173b
Commit message: "Merge pull request #23 from tomjenkinson/LICENCE"
 > git rev-list --no-walk e441d8d41703da0b7f84dbc140d2283d98ef2edf # timeout=10
provisioning config files...
copy managed file [settings-security.xml] to file:/home/jenkins/.m2/settings-security.xml
copy managed file [settings-jta.xml] to file:/home/jenkins/.m2/settings-jta.xml
[eclipse-ee4j_jta-api-EE4J_8-release] $ /bin/sh -xe /tmp/jenkins318057398956355188.sh
+ TOOLS_PREFIX=/opt/tools
+ JAVA_PREFIX=/opt/tools/java/oracle
+ MVN_HOME=/opt/tools/apache-maven/latest
+ JAVA_HOME=/opt/tools/java/oracle/jdk-8/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/oracle/jdk-8/latest/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ VERSIONS_PLUGIN=org.codehaus.mojo:versions-maven-plugin:2.5
+ HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:2.1.1
+ grep '<version>' pom.xml
+ grep SNAPSHOT
    <version>1.3.1-SNAPSHOT</version>
+ mvn -B org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate '-Dexpression=project.version'
+ grep -E '^[0-9]+(\.[0-9]+)+-SNAPSHOT$'
+ SNAPSHOT_VERSION=1.3.1-SNAPSHOT
+ '[' -z  ]
+ '[' -z 1.3.1-SNAPSHOT ]
+ echo 1.3.1-SNAPSHOT
+ sed -e s/-SNAPSHOT//
+ RELEASE_VERSION=1.3.1
/tmp/jenkins318057398956355188.sh: line 32: syntax error: unexpected "(" (expecting "fi")
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 91 killed;
[ssh-agent] Stopped.
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: FAILURE