Skip to content

azure devops setup project

devonfw-core edited this page Dec 27, 2022 · 3 revisions

Setup Azure DevOps project

By the end of this guide a new project in Azure DevOps will be created.

Prerequisites

  1. Sign up into Azure DevOps (just follow the section Sign up with a personal Microsoft account).

  2. Install the Azure CLI.

  3. Create an Azure DevOps Personal Access Token (PAT).

Creating the Azure DevOps project

There are two ways of creating an Azure DevOps project:

  1. Create it manually using the web interface following Microsoft official guide.

  2. Create it in an automated way using the provided script, as shown below.

Note
Both when done manually and when using the script with -p flag, you will need to choose a process workflow. Learn more about the different options in the official documentation. By default, "Basic" workflow is chosen.

Creating Azure DevOps project using provided script

The script located at scripts/accounts/azure-devops/create-project.sh enables you to create a new Azure DevOps project or configure an existing one.

Usage

create-project.sh \
  -n <name> \
  -d <description> \
  -o <organization> \
  -v <visibility> \
  -t <PAT> \
  [-w <process workflow>]

Flags

-n    [Required] Name of the new project.
-d    [Required] Description for the new project.
-o    [Required] Name of the organization for which the project will be configured.
-v    [Required] Visibility. Accepted values: private, public.
-t    [Required] PAT token to login Azure DevOps.
-w               Process workflow that will be used. Accepted values: basic, agile, scrum, cmmi. Default: basic.

Example

./create-project.sh -n "Hello World" -d "This is a sample application" -o devon-hangar -v public -t myToken -w agile

Guides per provider

Clone this wiki locally