github.com/stevenmatthewt/agent@v3.5.4+incompatible/packaging/linux/root/usr/share/buildkite-agent/hooks/environment.sample (about) 1 #!/bin/bash 2 3 # The `environment` hook will run before all other commands, and can be used 4 # to set up secrets, data, etc. Anything exported in hooks will be available 5 # to the build script. 6 # 7 # For example: 8 # 9 # export SECRET_VAR=token 10 11 set -e