Files
devops-lib-gcp/vars/cloudFunctionCICD.groovy
T
2026-08-26 02:02:24 +05:30

31 lines
584 B
Groovy

pipeline {
agent none
environment {
K8S_LABEL = 'cloud-function-cicd-agent'
GITHUB_CRED = 'cicd-github-app'
}
podTemplate(yaml: libraryResource('org/meesho/pod-cloud-function.yaml')) {
node(POD_LABEL) {
container('devops-tools') {
cloudFunctionCICDFlow()
}
}
}
}
def cloudFunctionCICDFlow() {
stages {
stage {
steps {
script {
sh 'ls -al'
echo 'Hello World'
}
}
}
}
}