Browse Source

Added some useful output to pipeline steps

pull/10/head
Drew Short 5 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_version.sh) > ../version/version.info
echo $(./scripts/get_tag.sh) > ../version/tag.info echo $(./scripts/get_tag.sh) > ../version/tag.info
echo "dev" > ../version/tag 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 - task: package
config: config:
platform: linux platform: linux
@ -169,7 +172,10 @@ jobs:
echo $(./scripts/get_version.sh) > ../version/version.info echo $(./scripts/get_version.sh) > ../version/version.info
echo $(./scripts/get_tag.sh) > ../version/tag.info echo $(./scripts/get_tag.sh) > ../version/tag.info
cp ../version/tag.info ../version/tag 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 - task: package
config: config:
platform: linux platform: linux
@ -186,8 +192,7 @@ jobs:
args: args:
- -c - -c
- | - |
mkdir tmp
cd tmp
cd package
cp ../version/* . cp ../version/* .
cp ../git-master/package*.json . cp ../git-master/package*.json .
cp ../git-master/index.js . cp ../git-master/index.js .
@ -198,4 +203,4 @@ jobs:
cp ../git-master/Dockerfile . cp ../git-master/Dockerfile .
cp ../git-master/README.md . cp ../git-master/README.md .
cp ../git-master/LICENSE.md . cp ../git-master/LICENSE.md .
tar -zcvf ../package/baphomet-js-$(cat tag.info).tgz ./*
ls -al .
Loading…
Cancel
Save