Skip to content
Started by user Frederic Gurr
Rebuilds build #21
Running as Frederic Gurr
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Created Pod: kubedeploy-agent-pqvjb-22f3h in namespace foundation-internal-webdev
Still waiting to schedule task
‘kubedeploy-agent-pqvjb-22f3h’ is offline
Agent kubedeploy-agent-pqvjb-22f3h is provisioned from template kubedeploy-agent-pqvjb
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/read-kubernetes-secret/22/"
    runUrl: "job/read-kubernetes-secret/22/"
  labels:
    jenkins: "slave"
    jenkins/label: "kubedeploy-agent"
  name: "kubedeploy-agent-pqvjb-22f3h"
spec:
  containers:
  - command:
    - "cat"
    image: "eclipsefdn/kubectl:1.9-alpine"
    name: "kubectl"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.foundation-internal-webdev.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "kubedeploy-agent-pqvjb-22f3h"
    - name: "JENKINS_NAME"
      value: "kubedeploy-agent-pqvjb-22f3h"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/"
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/basic-agent:3.36"
    name: "jnlp"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector:
    beta.kubernetes.io/os: "linux"
  restartPolicy: "Never"
  securityContext: {}
  volumes:
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Running on kubedeploy-agent-pqvjb-22f3h in /home/jenkins/agent/workspace/read-kubernetes-secret
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Deploy to cluster)
[Pipeline] container
[Pipeline] {
[Pipeline] withKubeConfig
[kubernetes-cli] creating missing workspace to write temporary kubeconfig
[Pipeline] {
[Pipeline] sh
{
    "apiVersion": "v1",
    "data": {
        "secret.properties": "dGVzdD1zdXBlcnNlY3JldApibGE9Ymx1Ygphc2Rhcz1zc2QKCg=="
    },
    "kind": "Secret",
    "metadata": {
        "annotations": {
            "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"data\":{\"secret.properties\":\"dGVzdD1zdXBlcnNlY3JldApibGE9Ymx1Ygphc2Rhcz1zc2QKCg==\"},\"kind\":\"Secret\",\"metadata\":{\"annotations\":{},\"creationTimestamp\":null,\"name\":\"foobarsecret\",\"namespace\":\"foundation-internal-webdev-apps\"}}\n"
        },
        "creationTimestamp": "2020-03-26T18:16:07Z",
        "name": "foobarsecret",
        "namespace": "foundation-internal-webdev-apps",
        "resourceVersion": "343542797",
        "selfLink": "/api/v1/namespaces/foundation-internal-webdev-apps/secrets/foobarsecret",
        "uid": "dcb43d82-6f8d-11ea-95c9-525400a92cff"
    },
    "type": "Opaque"
}

null

Decoded secret: test=supersecret
bla=blub
asdas=ssd
[Pipeline] }
[kubernetes-cli] kubectl configuration cleaned up
[Pipeline] // withKubeConfig
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
[withMaven] WARNING abort infinite build trigger loop. Please consider opening a Jira issue: Infinite loop of job triggers 
Finished: SUCCESS