Skip to content

Console Output

Started by user Dmitry Kornilov
Running as Dmitry Kornilov
Agent default-agent-tx5z5 is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label: "slave-default"
  name: "default-agent-tx5z5"
spec:
  containers:
  - env:
    - name: "MAVEN_OPTS"
      value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ca.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-tx5z5"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-tx5z5"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.ca.svc.cluster.local/ca/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/jenkins-agent:3.35@sha256:dff125e05404688a78bd67d5b47d107d98ec7583282e8ed9ca6646a2a76874e2"
    imagePullPolicy: "IfNotPresent"
    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: "toolchains-xml"
      readOnly: true
      subPath: "toolchains.xml"
    - 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: "settings-security-xml"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "settings-xml"
      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: "settings-security-xml"
    secret:
      items:
      - key: "settings-security.xml"
        path: "settings-security.xml"
      secretName: "m2-secret-dir"
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-ca"
      readOnly: true
  - configMap:
      items:
      - key: "toolchains.xml"
        path: "toolchains.xml"
      name: "m2-dir"
    name: "toolchains-xml"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - name: "settings-xml"
    secret:
      items:
      - key: "settings.xml"
        path: "settings.xml"
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - emptyDir:
      medium: ""
    name: "volume-3"

Building remotely on default-agent-tx5z5 in workspace /home/jenkins/agent/workspace/CA_parent_staging
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse-ee4j/common-annotations-api.git
 > git init /home/jenkins/agent/workspace/CA_parent_staging # timeout=10
Fetching upstream changes from https://github.com/eclipse-ee4j/common-annotations-api.git
 > git --version # timeout=10
 > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/common-annotations-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse-ee4j/common-annotations-api.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse-ee4j/common-annotations-api.git # timeout=10
Fetching upstream changes from https://github.com/eclipse-ee4j/common-annotations-api.git
 > git fetch --tags --force --progress -- https://github.com/eclipse-ee4j/common-annotations-api.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/2.0.0-RC1-BRANCH^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/2.0.0-RC1-BRANCH^{commit} # timeout=10
Checking out Revision 10cdbea15098bbc95203fabdf6fe70f588cda2ff (refs/remotes/origin/2.0.0-RC1-BRANCH)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 10cdbea15098bbc95203fabdf6fe70f588cda2ff # timeout=10
Commit message: "Prepare next development cycle for 2.0.0-SNAPSHOT"
First time build. Skipping changelog.
[CA_parent_staging] $ /bin/bash -ex /tmp/jenkins4940749919204349572.sh
+ export REPO_URL=https://jakarta.oss.sonatype.org/content/groups/staging
+ REPO_URL=https://jakarta.oss.sonatype.org/content/groups/staging
+ mvn -B -Prelease deploy:deploy-file -Dfile=pom.xml -Durl=https://jakarta.oss.sonatype.org/content/groups/staging -DgroupId=jakarta.annotation -DartifactId=ca-parent -Dversion=2.0.0-RC1 -Dpackaging=pom -DgeneratePom=false -DpomFile=pom.xml
/tmp/jenkins4940749919204349572.sh: line 5: mvn: command not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE