forked from gitea_admin/simple-node
updated jenkinsfile
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -1,13 +1,13 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
label 'build-agent' // This matches the label you configured
|
label 'jenkins-build-agent'
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
HARBOR_URL = 'harbor.myriadcara.com' // Fixed your URL
|
HARBOR_URL = 'harbor.myriadcara.com'
|
||||||
HARBOR_PROJECT = 'my-todo-app'
|
HARBOR_PROJECT = 'todo-app'
|
||||||
HARBOR_CREDS = 'harbor-credentials-id'
|
HARBOR_CREDS = 'harbor-credentials-id'
|
||||||
K8S_CREDENTIALS_ID = 'k8s-kubeconfig'
|
K8S_CREDENTIALS_ID = 'kubeconfig'
|
||||||
IMAGE_TAG = "${env.BUILD_ID}"
|
IMAGE_TAG = "${env.BUILD_ID}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user