更新 'Jenkinsfile'

main
newrain001 9 months ago
parent 0254536e48
commit 1370be86e6
  1. 9
      Jenkinsfile

9
Jenkinsfile vendored

@ -40,7 +40,6 @@ spec:
image: bitnami/kubectl:1.22.0
imagePullPolicy: IfNotPresent
tty: true
args: ["get","pod","-A"]
volumeMounts:
- mountPath: "/etc/localtime"
name: "volume-2"
@ -102,5 +101,13 @@ spec:
}
}
}
stage('Check Kubernetes ENV') {
steps {
container(name: 'kubectl', shell: 'echo') {
sh 'sleep 10'
}
}
}
}
}

Loading…
Cancel
Save