更新 'Jenkinsfile'

main
newrain001 11 months ago
parent dac56337f3
commit fef3d528cc
  1. 18
      Jenkinsfile

18
Jenkinsfile vendored

@ -8,24 +8,6 @@ apiVersion: "v1"
kind: "Pod"
spec:
containers:
- args:
- "********"
- "default-x5z2m"
command:
- "jenkins-agent"
env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-agent.default.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "default-x5z2m"
- name: "JENKINS_NAME"
value: "default-x5z2m"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins.default.svc.cluster.local:8080/"
image: "jenkins/jnlp-agent-docker"
imagePullPolicy: "IfNotPresent"
name: "jnlp"

Loading…
Cancel
Save