Habitat Depot

The following release process will upload the build Habitat package to the Habitat Depot as specified in the Habitat Origin endpoint.

  1. Click on the ‘Build and Releases’ button at the top of the page and select ‘Releases’.
  2. Click on ‘New Definition’.
  3. Select ‘Agent Phase’ on the left hand side and in the ‘Queue’ on the right select the name of the agent pool that will perform this release.
  4. Click on the ’+’ to the right of the ‘Agent phase’ to add the Release task.
  5. Add the following tasks:
    • Package Upload (Habitat)
      • Set the ‘Habitat Origin’ to the service endpoint created in the previous section.
      • In the ‘Package Path’ add something similar to the following. This uses variables so that it is not explicitly defined (which is what would happen if you use the ellipsis at the end of the text field).


  6. Click ‘Save’ at the top of the page. Optionally add any comments to describe what has changed.
  7. Click on ‘Pipeline’ from the ‘New Release Definition’ toolbar.
  8. Click the circle entitled ‘Add Artifact’.
  9. In the ‘Source (Build Definition)’ select the build artifact to release from the drop down menu. Check the other settings, these can normally be left as default.
  10. Click ‘Add’.
  11. Click ‘Save’ to save the changes
  12. Click on ‘Release’ and select ‘Create Release’.
  13. Ensure that the correct artifact it selected for the release and click ‘Queue’.
  14. Monitor the progress of the build using the link that is provided at the top of the page.

Once the release has completed it should be possible to login to the Habitat Depot and see the newly uploaded package on the dashboard.