Merge branch 'main' of github.com:sartography/spiff-arena

This commit is contained in:
jasquat 2023-05-15 11:54:40 -04:00
commit eb6a6f5808
1 changed files with 8 additions and 6 deletions

14
Jenkinsfile vendored
View File

@ -49,12 +49,14 @@ pipeline {
stages {
stage('Prep') {
steps { script {
def jobMetaJson = new JsonBuilder([
git_commit: env.GIT_COMMIT.take(7),
git_branch: env.GIT_BRANCH,
build_id: env.BUILD_ID,
]).toPrettyString()
sh "echo '${jobMetaJson}' > version_info.json"
dir("spiffworkflow-${params.COMPONENT}") {
def jobMetaJson = new JsonBuilder([
git_commit: env.GIT_COMMIT.take(7),
git_branch: env.GIT_BRANCH,
build_id: env.BUILD_ID,
]).toPrettyString()
sh "echo '${jobMetaJson}' > version_info.json"
}
} }
}