Files
vscode/build/tfs/linux/run-agent.sh
2017-07-03 11:07:57 +02:00

15 lines
308 B
Bash
Executable File

#!/bin/bash
if [ ! -f pat ]; then
echo "Error: file pat not found"
exit 1
fi
docker run \
-e VSTS_ACCOUNT="monacotools" \
-e VSTS_TOKEN="$(cat pat)" \
-e VSTS_AGENT="tb-lnx-local" \
-e VSTS_POOL=linux \
-e VSTS_WORK="/var/vsts/work" \
--name "tb-lnx-local" \
-it joaomoreno/vscode-vso-agent