updated jenkinsfile

This commit is contained in:
2026-02-14 06:13:12 +00:00
parent 1eb71897c4
commit 0a288b1971

8
Jenkinsfile vendored
View File

@@ -1,13 +1,13 @@
pipeline {
agent {
label 'build-agent' // This matches the label you configured
label 'jenkins-build-agent'
}
environment {
HARBOR_URL = 'harbor.myriadcara.com' // Fixed your URL
HARBOR_PROJECT = 'my-todo-app'
HARBOR_URL = 'harbor.myriadcara.com'
HARBOR_PROJECT = 'todo-app'
HARBOR_CREDS = 'harbor-credentials-id'
K8S_CREDENTIALS_ID = 'k8s-kubeconfig'
K8S_CREDENTIALS_ID = 'kubeconfig'
IMAGE_TAG = "${env.BUILD_ID}"
}