Browse Source

Added some useful output to pipeline steps

pull/10/head
Drew Short 4 years ago
parent
commit
6fb88057b5
  1. 15
      pipeline.yml

15
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 .
Loading…
Cancel
Save