Created
March 27, 2019 21:38
-
-
Save subudear/f506d32856cb96e31dfc03d4121cf8a5 to your computer and use it in GitHub Desktop.
export the parameters for ubuntu vsts build agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Provide VSTS account name NOT the FULL URL | |
export VSTS_ACCOUNT=abc-example-dev | |
#Provide the PAT value | |
export VSTS_TOKEN=izpcivnfdfgdgd7gawylkjllw255yvgmoe4qtc4fxqg2mtprx4oyutretjxdpcgp5nvq | |
#The build agent will be ubuntu hostname appended with word agent | |
export VSTS_AGENT='$(hostname)-agent' | |
#Provide the POOL name for agent | |
export VSTS_POOL="Self-Hosted Linux Agent" | |
#provide the path where the agent will install and run, home for the agent | |
export VSTS_HOME=/home/admin | |
#Provide the work directoy | |
export VSTS_WORK=$VSTS_HOME/agent/_work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment