added files
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user