Skip to content

Commit 768960b

Browse files
author
Sam J Sharpe
committed
Log to syslog when fabric is deployed
1 parent d11b68c commit 768960b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deploy.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ set -eu
33

44
govuk_node_list -c jumpbox | while read server; do
55
rsync -av --delete --exclude='.git' "$(pwd)/" "deploy@${server}":/usr/local/share/govuk-fabric/
6-
done
6+
done
7+
logger -p INFO -t jenkins "DEPLOYMENT: ${JOB_NAME} ${BUILD_NUMBER} (${BUILD_URL})"

0 commit comments

Comments
 (0)