-
Notifications
You must be signed in to change notification settings - Fork 2
build plan
Russell Seymour edited this page Sep 14, 2017
·
2 revisions
VSTS Task Name | VSTS Phase |
---|---|
Build Plan (Habitat) | Build |
Builds the Habitat package
Builds the package using the specified plan.sh. Some defaults have been added to the task but these can be modified as required.
Setting | Required | Default Value | Description |
---|---|---|---|
Display name | yes | Install Habitat | Set the display name for this task |
Source Path | yes | $(Build.SourcesDirectory) |
Root of the project |
Plan Context | yes | habitat | Directory within the project that holds the plan.sh file |
The variable specified in the "Source Path" above comes from VSTS. A list of well known variables can be found here.
Variable | Example Value |
---|---|
$(Build.SourcesDirectory) |
/usr/local/vsts-agent/_work/s |
Given the variables in the table above this task would run the following command:
$> hab pkg -s /usr/local/vsts-agent/_work/s habitat