Skip to content
Success

Console Output

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
‘my-pod-00nq4-6bf8t’ is offline
Agent my-pod-00nq4-6bf8t is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.cbi.svc.cluster.local/cbi/job/jiro_pod_template_custom_container_ssh/2/"
  labels:
    jenkins: "slave"
    jenkins/my-pod: "true"
  name: "my-pod-00nq4-6bf8t"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "3ff15cc5abe1a0540f6a6794602e45cdd4a6e6f2241374d38b004a4800c577b4"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.cbi.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "my-pod-00nq4-6bf8t"
    - name: "JENKINS_NAME"
      value: "my-pod-00nq4-6bf8t"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.cbi.svc.cluster.local/cbi/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/jenkins-agent:3.29@sha256:bec98792361aa1f3569bd59c3ceb5c42ded1939b24ff3f68dacb8e692af619ca"
    name: "jnlp"
    volumeMounts:
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-known-hosts"
    - mountPath: "/home/jenkins"
      name: "workspace-volume"
      readOnly: false
  - command:
    - "cat"
    image: "maven:alpine"
    name: "maven"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins"
      name: "workspace-volume"
      readOnly: false
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - emptyDir: {}
    name: "workspace-volume"
  - configMap:
      name: "known-hosts"
    name: "volume-known-hosts"

Running on my-pod-00nq4-6bf8t in /home/jenkins/workspace/jiro_pod_template_custom_container_ssh
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[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-957.10.1.el7.x86_64", arch: "amd64", family: "unix"
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
[Pipeline] container
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials genie.cbi (genie.cbi (ssh://projects-storage.eclipse.org))
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
Executing shell script inside container [jnlp] of pod [my-pod-00nq4-6bf8t]
Executing command: "ssh-agent" 
exit
SSH_AUTH_SOCK=/tmp/ssh-aaUIi4pSPD0T/agent.103; export SSH_AUTH_SOCK;
SSH_AGENT_PID=104; export SSH_AGENT_PID;
echo Agent pid 104;
SSH_AUTH_SOCK=/tmp/ssh-aaUIi4pSPD0T/agent.103
SSH_AGENT_PID=104
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/workspace/jiro_pod_template_custom_container_ssh@tmp/private_key_3876776278079188194.key (/home/jenkins/workspace/jiro_pod_template_custom_container_ssh@tmp/private_key_3876776278079188194.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ ssh genie.cbi@projects-storage.eclipse.org ls -al /home/data/httpd/download.eclipse.org/cbi
total 12
drwxrwsr-x   6 tha       technology.cbi   83 Dec 21  2018 .
drwxr-xr-x 312 root      root           8192 Jul 15 16:20 ..
drwxrwsr-x   3 tha       technology.cbi   32 Aug  5  2014 examples
drwxrwsr-x   6 tha       technology.cbi  246 Apr 15  2014 staging
drwxrwsr-x   3 genie.cbi technology.cbi   36 Feb 11 23:41 tpd
drwxrwsr-x   5 tha       technology.cbi   72 Sep  5  2018 updates
[Pipeline] }
Executing shell script inside container [jnlp] of pod [my-pod-00nq4-6bf8t]
Executing command: "ssh-agent" "-k" 
exit
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 104 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
Finished: SUCCESS