Skip to content
Failed

Console Output

Push event to branch add-jenkins-build
04:02:20 Connecting to https://api.github.com using GitHub bot (username/token)
Obtained Jenkinsfile from 2be61c44955a683942782a3f15eeac6d6249d1b1
[Pipeline] Start of Pipeline
[Pipeline] echo
[WARNING] label option is deprecated. To use a static pod template, use the 'inheritFrom' option.
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubernetes gemini/gemini-management-agent-pod-qp2kd-kq5z1
Still waiting to schedule task
‘gemini-management-agent-pod-qp2kd-kq5z1’ is offline
Agent gemini-management-agent-pod-qp2kd-kq5z1 is provisioned from template gemini-management-agent-pod-qp2kd
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.gemini.svc.cluster.local/gemini/job/gemini-management-all/job/add-jenkins-build/4/"
    runUrl: "job/gemini-management-all/job/add-jenkins-build/4/"
  labels:
    jenkins: "slave"
    jenkins/label-digest: "d0c292a4c3bb2a46a90280118649430c474837dc"
    jenkins/label: "gemini-management-agent-pod"
  name: "gemini-management-agent-pod-qp2kd-kq5z1"
  namespace: "gemini"
spec:
  containers:
  - command:
    - "cat"
    env:
    - name: "MAVEN_OPTS"
      value: "-Duser.home=/home/jenkins"
    image: "maven:3.9.4-eclipse-temurin-8"
    name: "maven"
    resources:
      limits:
        memory: "2Gi"
        cpu: "1"
      requests:
        memory: "2Gi"
        cpu: "1"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "settings-xml"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.m2/repository"
      name: "m2-repo"
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.gemini.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "gemini-management-agent-pod-qp2kd-kq5z1"
    - name: "JENKINS_NAME"
      value: "gemini-management-agent-pod-qp2kd-kq5z1"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.gemini.svc.cluster.local/gemini/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3131.vf2b_b_798b_ce99"
    name: "jnlp"
    resources:
      requests:
        memory: "256Mi"
        cpu: "100m"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - emptyDir: {}
    name: "m2-repo"
  - name: "settings-xml"
    secret:
      items:
      - key: "settings.xml"
        path: "settings.xml"
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on gemini-management-agent-pod-qp2kd-kq5z1 in /home/jenkins/agent/workspace/management-all_add-jenkins-build
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential github-bot
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Created Pod: kubernetes gemini/gemini-management-agent-pod-qp2kd-kq6h1
Cloning repository https://github.com/eclipse-gemini/gemini.management.git
 > git init /home/jenkins/agent/workspace/management-all_add-jenkins-build # timeout=10
Fetching upstream changes from https://github.com/eclipse-gemini/gemini.management.git
 > git --version # timeout=10
 > git --version # 'git version 2.20.1'
using GIT_ASKPASS to set credentials GitHub bot (username/token)
 > git fetch --no-tags --force --progress -- https://github.com/eclipse-gemini/gemini.management.git +refs/heads/add-jenkins-build:refs/remotes/origin/add-jenkins-build # timeout=10
 > git config remote.origin.url https://github.com/eclipse-gemini/gemini.management.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/add-jenkins-build:refs/remotes/origin/add-jenkins-build # timeout=10
Avoid second fetch
Checking out Revision 2be61c44955a683942782a3f15eeac6d6249d1b1 (add-jenkins-build)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2be61c44955a683942782a3f15eeac6d6249d1b1 # timeout=10
Commit message: "Add basic `Jenkinsfile` to build on JIPP"
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Run maven)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ mvn verify
 > git rev-list --no-walk f8bab6db51839cfbb962806e9ac1fe847d914143 # timeout=10
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.170 s
[INFO] Finished at: 2023-10-21T08:03:38Z
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/home/jenkins/agent/workspace/management-all_add-jenkins-build). Please verify you invoked Maven from the correct directory. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 1

GitHub has been notified of this commit’s build result

Finished: FAILURE