Skip to content
Started by user Christopher Guindon
Running as Christopher Guindon
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’
Agent kubedeploy-agent-t6nwz-95gw0 is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations:
    buildUrl: "http://jenkins-ui.foundation-internal-webdev.svc.cluster.local/ci/webdev/job/update-kubernetes-secret/7/"
  labels:
    jenkins: "slave"
    jenkins/kubedeploy-agent: "true"
  name: "kubedeploy-agent-t6nwz-95gw0"
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-t6nwz-95gw0"
    - name: "JENKINS_NAME"
      value: "kubedeploy-agent-t6nwz-95gw0"
    - 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/jenkins-agent:3.29@sha256:d7df679b5f7337f1bf77922400a148b80e3c483ccba72933a18f0c87be98f8b1"
    name: "jnlp"
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - emptyDir: {}
    name: "workspace-volume"

Running on kubedeploy-agent-t6nwz-95gw0 in /home/jenkins/agent/workspace/update-kubernetes-secret
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Deploy to cluster)
[Pipeline] container
[Pipeline] {
[Pipeline] withKubeConfig
creating missing workspace to write kubeconfig
Executing shell script inside container [kubectl] of pod [kubedeploy-agent-t6nwz-95gw0]
Executing command: "kubectl" "config" "set-cluster" "k8s" "--server=https://console-int.c1-ci.eclipse.org" "--insecure-skip-tls-verify=true" 
exit
Cluster "k8s" set.
Executing shell script inside container [kubectl] of pod [kubedeploy-agent-t6nwz-95gw0]
Executing command: "kubectl" "config" "set-credentials" "cluster-admin" ******** 
exit
User "cluster-admin" set.
Executing shell script inside container [kubectl] of pod [kubedeploy-agent-t6nwz-95gw0]
Executing command: "kubectl" "config" "set-context" "k8s" "--cluster=k8s" "--user=cluster-admin" 
exit
Context "k8s" created.
Executing shell script inside container [kubectl] of pod [kubedeploy-agent-t6nwz-95gw0]
Executing command: "kubectl" "config" "use-context" "k8s" 
exit
Switched to context "k8s".
[Pipeline] {
[Pipeline] sh
+ cat
+ kubectl create secret generic github-sync-secrets --from-file=./api-token --namespace foundation-internal-webdev-apps --dry-run -o yaml
+ kubectl apply -f -
secret "github-sync-secrets" configured
[Pipeline] }
kubectl configuration cleaned up
[Pipeline] // withKubeConfig
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
Finished: SUCCESS