Commit 7d8dca83 authored by xujian's avatar xujian

xx

parent 0e33561d
...@@ -7,8 +7,7 @@ pipeline { ...@@ -7,8 +7,7 @@ pipeline {
steps { steps {
script { script {
def yamlFile = readFile('project.yaml') def yamlFile = readFile('project.yaml')
def data = new groovy.yaml.YamlSlurper().parseText(yamlFile) echo "Building ${yamlFile} version ${yamlFile}"
echo "Building ${data.base.namespace} version ${data.version}"
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment