Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ In this task, you will set parameter and parameter types for the pipeline.

```

{% raw %}
1. Replace the hardcoded paths in the "Restore", "Build", and "Test" tasks with the parameters you just created.

- **Replace projects**: `**/*.sln` with projects: `${{ parameters.dotNetProjects }}` in the `Restore` and `Build` tasks.
Expand Down Expand Up @@ -103,6 +104,7 @@ In this task, you will set parameter and parameter types for the pipeline.
projects: ${{ parameters.testProjects }}

```
{% endraw %}

1. Click on **Validate and save** to save the changes, then click on **Save**.

Expand Down Expand Up @@ -147,11 +149,13 @@ In this task, you will secure the variables and parameters from your pipeline by

1. In the "Build" task, add the configuration parameter to the task to utilize the build configuration from the variable group.

{% raw %}
```yaml
command: 'build'
projects: ${{ parameters.dotNetProjects }}
configuration: $(buildConfiguration)
```
{% endraw %}

1. Click on **Validate and save** to save the changes, then click on **Save**.

Expand Down