Started by user Maxim Nesen Rebuilds build #4 Running as Maxim Nesen Agent basic-5cmth is provisioned from template basic --- apiVersion: "v1" kind: "Pod" metadata: annotations: {} labels: jenkins: "slave" jenkins/label: "" name: "basic-5cmth" spec: containers: - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-discovery.jersey.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "basic-5cmth" - name: "JENKINS_REMOTING_JAVA_OPTS" value: "-showversion -XshowSettings:vm -Xmx256m -Dsun.zip.disableMemoryMapping=true\ \ -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true" - name: "JAVA_TOOL_OPTIONS" value: "" - name: "_JAVA_OPTIONS" value: "" - name: "OPENJ9_JAVA_OPTIONS" value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle" - name: "JENKINS_NAME" value: "basic-5cmth" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.jersey.svc.cluster.local/jersey/" image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-4.2.1" imagePullPolicy: "Always" name: "jnlp" resources: limits: memory: "4096Mi" cpu: "2000m" requests: memory: "4096Mi" cpu: "1000m" securityContext: privileged: false tty: true volumeMounts: - mountPath: "/home/jenkins/.m2/toolchains.xml" name: "m2-dir" readOnly: true subPath: "toolchains.xml" - mountPath: "/home/jenkins/.mavenrc" name: "m2-dir" readOnly: true subPath: ".mavenrc" - mountPath: "/opt/tools" name: "volume-0" readOnly: false - mountPath: "/home/jenkins" name: "volume-2" readOnly: false - mountPath: "/home/jenkins/.m2/repository" name: "volume-3" readOnly: false - mountPath: "/home/jenkins/.m2/settings-security.xml" name: "m2-secret-dir" readOnly: true subPath: "settings-security.xml" - mountPath: "/home/jenkins/.m2/wrapper" name: "volume-4" readOnly: false - mountPath: "/home/jenkins/.m2/settings.xml" name: "m2-secret-dir" readOnly: true subPath: "settings.xml" - mountPath: "/home/jenkins/.ssh" name: "volume-1" readOnly: false - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false workingDir: "/home/jenkins/agent" nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} volumes: - name: "volume-0" persistentVolumeClaim: claimName: "tools-claim-jiro-jersey" readOnly: true - name: "m2-secret-dir" secret: secretName: "m2-secret-dir" - emptyDir: medium: "" name: "volume-2" - configMap: name: "m2-dir" name: "m2-dir" - configMap: name: "known-hosts" name: "volume-1" - emptyDir: medium: "" name: "workspace-volume" - emptyDir: medium: "" name: "volume-4" - emptyDir: medium: "" name: "volume-3" Building remotely on basic-5cmth in workspace /home/jenkins/agent/workspace/restore_release_from_tag [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... using credential github-bot-ssh Cloning the remote Git repository Cloning repository git@github.com:eclipse-ee4j/jersey.git > git init /home/jenkins/agent/workspace/restore_release_from_tag # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/jersey.git > git --version # timeout=10 using GIT_SSH to set credentials GitHub bot SSH > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jersey.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:eclipse-ee4j/jersey.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/jersey.git # timeout=10 Fetching upstream changes from git@github.com:eclipse-ee4j/jersey.git using GIT_SSH to set credentials GitHub bot SSH > git fetch --tags --force --progress -- git@github.com:eclipse-ee4j/jersey.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse tags/3.0.0-M5^{commit} # timeout=10 > git rev-parse refs/remotes/origin/tags/3.0.0-M5^{commit} # timeout=10 Checking out Revision 3a5946b4fc51fca2366d83ff0f4ab7e5d79a604b (tags/3.0.0-M5) > git config core.sparsecheckout # timeout=10 > git checkout -f 3a5946b4fc51fca2366d83ff0f4ab7e5d79a604b # timeout=10 Commit message: "3.0.0-M5" > git rev-list --no-walk 3a5946b4fc51fca2366d83ff0f4ab7e5d79a604b # timeout=10 [restore_release_from_tag] $ /bin/bash -ex /tmp/jenkins4082764317165415446.sh + TOOLS_PREFIX=/opt/tools + JAVA_PREFIX=/opt/tools/java/openjdk + MVN_HOME=/opt/tools/apache-maven/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 + HELP_PLUGIN=org.apache.maven.plugins:maven-help-plugin:3.1.0 + '[' -z 3.0.0-M5 ']' + STAGING_PROFILE_ID=70fa3a107a8918 + TARGET='package source:jar javadoc:jar gpg:sign install:install' + DEPLOY_TARGET= + ZX_BRANCH_MODULES= /tmp/jenkins4082764317165415446.sh: line 25: syntax error near unexpected token `fi' Build step 'Execute shell' marked build as failure Finished: FAILURE