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 ‘kubedeploy-agent’
Created Pod: kubedeploy-agent-jm2rr-f0438 in namespace foundation-internal-webdev
Agent kubedeploy-agent-jm2rr-f0438 is provisioned from template kubedeploy-agent-jm2rr
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations:
buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/update-kubernetes-secret-multiline-string/3/"
runUrl: "job/update-kubernetes-secret-multiline-string/3/"
labels:
jenkins: "slave"
jenkins/label: "kubedeploy-agent"
name: "kubedeploy-agent-jm2rr-f0438"
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-jm2rr-f0438"
- name: "JENKINS_NAME"
value: "kubedeploy-agent-jm2rr-f0438"
- 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-jm2rr-f0438 in /home/jenkins/agent/workspace/update-kubernetes-secret-multiline-string
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Deploy to cluster)
[Pipeline] container
[Pipeline] {
[Pipeline] withKubeConfig
[kubernetes-cli] creating missing workspace to write temporary kubeconfig
[Pipeline] {
[Pipeline] sh
+ cat
+ kubectl create + secret generic foobarsecret --from-file=./secret.properties --namespace kubectl foundation-internal-webdev-apps apply --dry-run -f -o -yaml
secret "foobarsecret" created
[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
Finished: SUCCESS