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