Added timestamp to build finished event
This commit is contained in:
parent
2c255dccb1
commit
dad45f56a4
3
.github/workflows/frontend-build-test.yml
vendored
3
.github/workflows/frontend-build-test.yml
vendored
@ -93,8 +93,9 @@ jobs:
|
||||
run: |
|
||||
VERSION=$(node -p -e "require('./package.json').version")-$NOW
|
||||
NAME=$(node -p -e "require('./package.json').name")
|
||||
TIMESTAMP=$(date +%s)
|
||||
echo "Triggering deploy for $NAME $VERSION"
|
||||
curl -XPOST -d 'body={"namespace":"hr.pravila","artifact":"'$NAME'","version":"'$VERSION'"}' -u admin:$ACTIVE_MQ_ADMIN_PASSWORD https://devops.pravilanovait.hr/activemq-api/message?destination=queue://builds
|
||||
curl -XPOST -d 'body={"namespace":"hr.pravila","artifact":"'$NAME'","version":"'$VERSION'","timestamp":`$TIMESTAMP`}' -u admin:$ACTIVE_MQ_ADMIN_PASSWORD https://devops.pravilanovait.hr/activemq-api/message?destination=queue://builds
|
||||
env:
|
||||
ACTIVE_MQ_ADMIN_PASSWORD: ${{ secrets.ACTIVE_MQ_ADMIN_PASSWORD }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user