Build Plan

Azure DevOps Task Name Azure DevOps Phase
Build Plan (Habitat) Build


Builds the Habitat package


Builds the package using the specified 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 file

The variable specified in the “Source Path” above comes from Azure DevOps. 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


Build Plan Task