Fixed name services of cloud run

This commit is contained in:
Duvan Rondon 2025-02-24 16:10:17 -05:00
parent 42f46a5d06
commit 5a4868b397
3 changed files with 6 additions and 4 deletions

View File

@ -19,7 +19,9 @@ pipeline {
stage('Authenticate') {
steps {
sh 'gcloud auth activate-service-account --key-file="$GCLOUD_CREDS"'
withCredentials([file(credentialsId: 'gcloud-creds', variable: 'GCLOUD_CREDS')]) {
sh 'gcloud auth activate-service-account --key-file="$GCLOUD_CREDS"'
}
}
}
@ -56,7 +58,7 @@ pipeline {
if (cloudRunUrlMatchNest) {
env.CLOUD_RUN_NEST = cloudRunUrlMatchNest[0][1]
}
if (cloudRunUrlMatchSpring) {
if (cloudRunUrlMatchLotes) {
env.CLOUD_RUN_LOTES = cloudRunUrlMatchLotes[0][1]
}
}

View File

@ -1,7 +1,7 @@
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: cbii-jenkins
name: cbii-nest-jenkins
namespace: siman-448015
spec:
template:

View File

@ -1,7 +1,7 @@
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: cbii-jenkins
name: cbii-lotes-jenkins
namespace: siman-448015
spec:
template: