Fixed name services of cloud run
This commit is contained in:
parent
42f46a5d06
commit
5a4868b397
|
@ -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]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: serving.knative.dev/v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: cbii-jenkins
|
||||
name: cbii-nest-jenkins
|
||||
namespace: siman-448015
|
||||
spec:
|
||||
template:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: serving.knative.dev/v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: cbii-jenkins
|
||||
name: cbii-lotes-jenkins
|
||||
namespace: siman-448015
|
||||
spec:
|
||||
template:
|
||||
|
|
Loading…
Reference in New Issue
Block a user