We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f612a2e commit 8f3fb6bCopy full SHA for 8f3fb6b
utils/log-collector
@@ -96,12 +96,13 @@ echo "Collecting ASG activity for $autoScalingGroup"
96
aws autoscaling describe-scaling-activities --auto-scaling-group-name "$autoScalingGroup" >> "${dir}/asg-activities-${stackName}.log"
97
98
# Make an archive with the logs
99
-## zip -jq buildkite-logs-"$now".zip "$dir"/*.log
100
tar -czvf buildkite-logs-"$now".tar.gz "$dir"/*.log
101
102
# Clean up the unneeded files
103
rm -r "$dir"
104
105
-echo "Finished collecting logs, you can find them here: ${dir}/buildkite-logs-${now}.tar.gz"
+pwd=$(pwd)
+
106
+echo "Finished collecting logs, you can find them here: ${pwd}/buildkite-logs-${now}.tar.gz"
107
108
exit 0
0 commit comments