Started by user Frederic Gurr Running as Frederic Gurr Running in Durability level: PERFORMANCE_OPTIMIZED [Pipeline] Start of Pipeline [Pipeline] podTemplate [Pipeline] { [Pipeline] node Still waiting to schedule task There are no nodes with the label ‘my-agent-pod’ Created Pod: cbi/my-agent-pod-hwnp5-5795s [Normal][cbi/my-agent-pod-hwnp5-5795s][Scheduled] Successfully assigned my-agent-pod-hwnp5-5795s to osnode-vm2.eclipse.org [Normal][cbi/my-agent-pod-hwnp5-5795s][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "m2-repo" [Normal][cbi/my-agent-pod-hwnp5-5795s][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "workspace-volume" [Normal][cbi/my-agent-pod-hwnp5-5795s][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "settings-xml" [Normal][cbi/my-agent-pod-hwnp5-5795s][SuccessfulMountVolume] MountVolume.SetUp succeeded for volume "default-token-979jd" [Normal][cbi/my-agent-pod-hwnp5-5795s][Pulling] pulling image "maven:alpine" [Normal][cbi/my-agent-pod-hwnp5-5795s][Pulled] Successfully pulled image "maven:alpine" [Normal][cbi/my-agent-pod-hwnp5-5795s][Created] Created container [Normal][cbi/my-agent-pod-hwnp5-5795s][Started] Started container [Normal][cbi/my-agent-pod-hwnp5-5795s][Pulled] Container image "eclipsecbijenkins/basic-agent:4.2" already present on machine [Normal][cbi/my-agent-pod-hwnp5-5795s][Created] Created container [Normal][cbi/my-agent-pod-hwnp5-5795s][Started] Started container Agent my-agent-pod-hwnp5-5795s is provisioned from template my-agent-pod-hwnp5 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jiro_custom_container_test_pipeline/7/" runUrl: "job/jiro_custom_container_test_pipeline/7/" labels: jenkins: "slave" jenkins/label: "my-agent-pod" name: "my-agent-pod-hwnp5-5795s" spec: containers: - command: - "cat" image: "maven:alpine" name: "maven" 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.cbi.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "my-agent-pod-hwnp5-5795s" - name: "JENKINS_NAME" value: "my-agent-pod-hwnp5-5795s" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/" image: "eclipsecbijenkins/basic-agent:4.2" name: "jnlp" resources: requests: cpu: "100m" memory: "256Mi" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: beta.kubernetes.io/os: "linux" restartPolicy: "Never" securityContext: {} 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 my-agent-pod-hwnp5-5795s in /home/jenkins/agent/workspace/jiro_custom_container_test_pipeline [Pipeline] { [Pipeline] stage [Pipeline] { (Run maven) [Pipeline] container [Pipeline] { [Pipeline] sh + mvn -version Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z) Maven home: /usr/share/maven Java version: 1.8.0_212, vendor: IcedTea, runtime: /usr/lib/jvm/java-1.8-openjdk/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-1062.el7.x86_64", arch: "amd64", family: "unix" [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline Finished: SUCCESS