From 6fb88057b54e4758ea270ae215abc6f067dd5926 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Mon, 30 Dec 2019 15:35:04 -0600 Subject: [PATCH] Added some useful output to pipeline steps --- pipeline.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index 4644a6c..b228bbb 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -86,7 +86,10 @@ jobs: echo $(./scripts/get_version.sh) > ../version/version.info echo $(./scripts/get_tag.sh) > ../version/tag.info echo "dev" > ../version/tag - cat ../version/build.info + echo "Build Information: $(cat ../version/build.info)" + echo "Version Information: $(cat ../version/version.info)" + echo "Tag Information: $(cat ../version/tag.info)" + echo "Docker Image Tag: $(cat ../version/tag)" - task: package config: platform: linux @@ -169,7 +172,10 @@ jobs: echo $(./scripts/get_version.sh) > ../version/version.info echo $(./scripts/get_tag.sh) > ../version/tag.info cp ../version/tag.info ../version/tag - cat ../version/build.info + echo "Build Information: $(cat ../version/build.info)" + echo "Version Information: $(cat ../version/version.info)" + echo "Tag Information: $(cat ../version/tag.info)" + echo "Docker Image Tag: $(cat ../version/tag)" - task: package config: platform: linux @@ -186,8 +192,7 @@ jobs: args: - -c - | - mkdir tmp - cd tmp + cd package cp ../version/* . cp ../git-master/package*.json . cp ../git-master/index.js . @@ -198,4 +203,4 @@ jobs: cp ../git-master/Dockerfile . cp ../git-master/README.md . cp ../git-master/LICENSE.md . - tar -zcvf ../package/baphomet-js-$(cat tag.info).tgz ./* + ls -al .