Skip to content

Commit 32fcf9c

Browse files
committed
update jenkinsfile
1 parent d137fbd commit 32fcf9c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Jenkinsfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,12 @@ node('high-cpu') {
9090
returnStdout: true
9191
).trim()
9292

93-
docker.image(imageNames[0])
94-
.inside("-e KUBECONFIG=${env.WORKSPACE}/.kube/config " +
95-
" --network=host --entrypoint=''") {
96-
sh "/app/gitops-playground --yes --trace --internal-registry-port=${registryPort} " +
97-
"--registry --jenkins --content-examples " +
98-
"--argocd --monitoring --vault=dev --ingress-nginx --mailhog --base-url=http://localhost --cert-manager"
99-
}
93+
94+
95+
docker.image(imageNames[0]).run("-e KUBECONFIG=${env.WORKSPACE}/.kube/config --network=host",
96+
"--yes --trace --internal-registry-port=${registryPort} " +
97+
"--registry --jenkins --content-examples " +
98+
"--argocd --monitoring --vault=dev --ingress-nginx --mailhog --base-url=http://localhost --cert-manager")
10099
}
101100
}
102101
)

0 commit comments

Comments
 (0)