From ff313154ef210196562c871115306f4c93bffc06 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 23 Dec 2023 12:04:11 +0100
Subject: [PATCH 01/51] Update xunit-dotnet monorepo (#464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index db93ce3b..73ed06de 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,8 +22,8 @@
-
-
+
+
From 9cc3845e45a3d1050db5fcb2f1efa6b011657327 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 5 Jan 2024 07:50:42 +0000
Subject: [PATCH 02/51] Update dependency xunit to v2.6.5 (#465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 73ed06de..baaaac9e 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,7 +22,7 @@
-
+
From 8164b210ea1d579346f4776bcc642754b2760ca9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 15 Jan 2024 12:11:50 +0000
Subject: [PATCH 03/51] Update dependency xunit to v2.6.6 (#466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index baaaac9e..cb8211d0 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,7 +22,7 @@
-
+
From b94529db83f2a8c6125f0e44daf4205ce449dc7f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 6 Feb 2024 19:20:51 +0000
Subject: [PATCH 04/51] Update dependency Microsoft.NET.Test.Sdk to v17.9.0
(#467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index cb8211d0..3ec3e644 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -14,7 +14,7 @@
-
+
From 4a78217231f5b0e71b4f6328724f63331eda31eb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 10 Feb 2024 20:21:50 +0000
Subject: [PATCH 05/51] Update dotnet monorepo (#453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 6 +++---
global.json | 2 +-
tests/frosting/net6.0/global.json | 2 +-
tests/frosting/net7.0/global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net6.0/global.json | 2 +-
tests/script-runner/net7.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index a8b12550..27aab7dc 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,9 +11,9 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.417 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.404 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.100 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.418 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.405 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.101 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/global.json b/global.json
index 3660ff88..2b2b8e4e 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.100",
+ "version": "8.0.101",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net6.0/global.json b/tests/frosting/net6.0/global.json
index c31f98b7..a08b059e 100644
--- a/tests/frosting/net6.0/global.json
+++ b/tests/frosting/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.100",
+ "version": "6.0.418",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net7.0/global.json b/tests/frosting/net7.0/global.json
index e9812526..78666b56 100644
--- a/tests/frosting/net7.0/global.json
+++ b/tests/frosting/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.100",
+ "version": "7.0.405",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index 3660ff88..2b2b8e4e 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.100",
+ "version": "8.0.101",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/global.json b/tests/script-runner/net6.0/global.json
index c31f98b7..a08b059e 100644
--- a/tests/script-runner/net6.0/global.json
+++ b/tests/script-runner/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.100",
+ "version": "6.0.418",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/global.json b/tests/script-runner/net7.0/global.json
index e9812526..78666b56 100644
--- a/tests/script-runner/net7.0/global.json
+++ b/tests/script-runner/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.100",
+ "version": "7.0.405",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index 3660ff88..2b2b8e4e 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.100",
+ "version": "8.0.101",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From d9bf67c2adfed4ac282532e6390f1753c89aca23 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 14 Feb 2024 23:49:37 +0000
Subject: [PATCH 06/51] Update dotnet monorepo (#468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 6 +++---
global.json | 2 +-
tests/frosting/net6.0/global.json | 2 +-
tests/frosting/net7.0/global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net6.0/global.json | 2 +-
tests/script-runner/net7.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index 27aab7dc..17483892 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,9 +11,9 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.418 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.405 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.101 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.419 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.406 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.200 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/global.json b/global.json
index 2b2b8e4e..01488e21 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.101",
+ "version": "8.0.200",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net6.0/global.json b/tests/frosting/net6.0/global.json
index a08b059e..d5fb9ee5 100644
--- a/tests/frosting/net6.0/global.json
+++ b/tests/frosting/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.418",
+ "version": "6.0.419",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net7.0/global.json b/tests/frosting/net7.0/global.json
index 78666b56..d7aea78d 100644
--- a/tests/frosting/net7.0/global.json
+++ b/tests/frosting/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.405",
+ "version": "7.0.406",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index 2b2b8e4e..01488e21 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.101",
+ "version": "8.0.200",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/global.json b/tests/script-runner/net6.0/global.json
index a08b059e..d5fb9ee5 100644
--- a/tests/script-runner/net6.0/global.json
+++ b/tests/script-runner/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.418",
+ "version": "6.0.419",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/global.json b/tests/script-runner/net7.0/global.json
index 78666b56..d7aea78d 100644
--- a/tests/script-runner/net7.0/global.json
+++ b/tests/script-runner/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.405",
+ "version": "7.0.406",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index 2b2b8e4e..01488e21 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.101",
+ "version": "8.0.200",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From c1821dd115c4184a8d550efb92a7a90bb97e86d1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 16 Feb 2024 20:12:05 +0100
Subject: [PATCH 07/51] Update xunit-dotnet monorepo (#469)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 3ec3e644..0a6e81e9 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,8 +22,8 @@
-
-
+
+
From 01679997c51eed2ef0e4388fa60f3e60a609c2e3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 16 Feb 2024 19:58:52 +0000
Subject: [PATCH 08/51] Update dependency dotnet-sdk to v8.0.201 (#470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 2 +-
global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index 17483892..f9aafeda 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -13,7 +13,7 @@ install:
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.419 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.406 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.200 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.201 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/global.json b/global.json
index 01488e21..76a2c539 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.200",
+ "version": "8.0.201",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index 01488e21..76a2c539 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.200",
+ "version": "8.0.201",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index 01488e21..76a2c539 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.200",
+ "version": "8.0.201",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From a942bbbe476a477a761cc465897bd4ce450b6c73 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 13 Mar 2024 12:22:13 +0000
Subject: [PATCH 09/51] Update dotnet monorepo (#472)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 6 +++---
global.json | 2 +-
tests/frosting/net6.0/global.json | 2 +-
tests/frosting/net7.0/global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net6.0/global.json | 2 +-
tests/script-runner/net7.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index f9aafeda..5ff48cdf 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,9 +11,9 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.419 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.406 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.201 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.420 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.407 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.202 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/global.json b/global.json
index 76a2c539..0e577f47 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.201",
+ "version": "8.0.202",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net6.0/global.json b/tests/frosting/net6.0/global.json
index d5fb9ee5..198c2bcb 100644
--- a/tests/frosting/net6.0/global.json
+++ b/tests/frosting/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.419",
+ "version": "6.0.420",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net7.0/global.json b/tests/frosting/net7.0/global.json
index d7aea78d..b4db81db 100644
--- a/tests/frosting/net7.0/global.json
+++ b/tests/frosting/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.406",
+ "version": "7.0.407",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index 76a2c539..0e577f47 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.201",
+ "version": "8.0.202",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/global.json b/tests/script-runner/net6.0/global.json
index d5fb9ee5..198c2bcb 100644
--- a/tests/script-runner/net6.0/global.json
+++ b/tests/script-runner/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.419",
+ "version": "6.0.420",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/global.json b/tests/script-runner/net7.0/global.json
index d7aea78d..b4db81db 100644
--- a/tests/script-runner/net7.0/global.json
+++ b/tests/script-runner/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.406",
+ "version": "7.0.407",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index 76a2c539..0e577f47 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.201",
+ "version": "8.0.202",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From ef121938b83dc5ee5492ccb190162767f1fa2b51 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 16 Mar 2024 08:04:00 +0000
Subject: [PATCH 10/51] Update dependency dotnet-sdk to v8.0.203 (#473)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 2 +-
global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index 5ff48cdf..39147259 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -13,7 +13,7 @@ install:
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.420 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.407 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.202 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.203 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/global.json b/global.json
index 0e577f47..e5917046 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.202",
+ "version": "8.0.203",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index 0e577f47..e5917046 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.202",
+ "version": "8.0.203",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index 0e577f47..e5917046 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.202",
+ "version": "8.0.203",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From 1438c9f7351e0405d9c323888f550b21f4084917 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 22 Apr 2024 20:01:21 +0200
Subject: [PATCH 11/51] Update xunit-dotnet monorepo (#475)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 0a6e81e9..103c3183 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,8 +22,8 @@
-
-
+
+
From 9b81cc0b8882376056d771d2b8597b019b706ed1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 26 Apr 2024 05:54:32 +0000
Subject: [PATCH 12/51] Update dotnet monorepo (#474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 6 +++---
global.json | 2 +-
tests/frosting/net6.0/global.json | 2 +-
tests/frosting/net7.0/global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net6.0/global.json | 2 +-
tests/script-runner/net7.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index 39147259..8fe9c6b8 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,9 +11,9 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.420 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.407 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.203 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.421 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.204 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/global.json b/global.json
index e5917046..945bfe26 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.203",
+ "version": "8.0.204",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net6.0/global.json b/tests/frosting/net6.0/global.json
index 198c2bcb..16d9f932 100644
--- a/tests/frosting/net6.0/global.json
+++ b/tests/frosting/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.420",
+ "version": "6.0.421",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net7.0/global.json b/tests/frosting/net7.0/global.json
index b4db81db..8fd606ae 100644
--- a/tests/frosting/net7.0/global.json
+++ b/tests/frosting/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.407",
+ "version": "7.0.408",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index e5917046..945bfe26 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.203",
+ "version": "8.0.204",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/global.json b/tests/script-runner/net6.0/global.json
index 198c2bcb..16d9f932 100644
--- a/tests/script-runner/net6.0/global.json
+++ b/tests/script-runner/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.420",
+ "version": "6.0.421",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/global.json b/tests/script-runner/net7.0/global.json
index b4db81db..8fd606ae 100644
--- a/tests/script-runner/net7.0/global.json
+++ b/tests/script-runner/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.407",
+ "version": "7.0.408",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index e5917046..945bfe26 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.203",
+ "version": "8.0.204",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From 0f2a48d2592ecd29abafebcfbdd523223c276b98 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 27 Apr 2024 22:59:14 +0200
Subject: [PATCH 13/51] Update xunit-dotnet monorepo to v2.8.0 (#476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 103c3183..32995669 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,8 +22,8 @@
-
-
+
+
From b861fb632e5a61b78f429f65ea79f88c6d91c4d0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 15 May 2024 07:04:46 +0000
Subject: [PATCH 14/51] Update dotnet monorepo (#477)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 6 +++---
global.json | 2 +-
tests/frosting/net6.0/global.json | 2 +-
tests/frosting/net7.0/global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net6.0/global.json | 2 +-
tests/script-runner/net7.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index 8fe9c6b8..a8e9e63f 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,9 +11,9 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.421 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.204 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.422 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.409 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.300 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/global.json b/global.json
index 945bfe26..aa185890 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.204",
+ "version": "8.0.300",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net6.0/global.json b/tests/frosting/net6.0/global.json
index 16d9f932..1dea3760 100644
--- a/tests/frosting/net6.0/global.json
+++ b/tests/frosting/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.421",
+ "version": "6.0.422",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net7.0/global.json b/tests/frosting/net7.0/global.json
index 8fd606ae..9cf9f7a7 100644
--- a/tests/frosting/net7.0/global.json
+++ b/tests/frosting/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.408",
+ "version": "7.0.409",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index 945bfe26..aa185890 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.204",
+ "version": "8.0.300",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/global.json b/tests/script-runner/net6.0/global.json
index 16d9f932..1dea3760 100644
--- a/tests/script-runner/net6.0/global.json
+++ b/tests/script-runner/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.421",
+ "version": "6.0.422",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/global.json b/tests/script-runner/net7.0/global.json
index 8fd606ae..9cf9f7a7 100644
--- a/tests/script-runner/net7.0/global.json
+++ b/tests/script-runner/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.408",
+ "version": "7.0.409",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index 945bfe26..aa185890 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.204",
+ "version": "8.0.300",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From 826dc5c5a4d55774d666d036ea49d4ac3e2b0cd7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 22 May 2024 19:26:34 +0200
Subject: [PATCH 15/51] Update dependency Microsoft.NET.Test.Sdk to v17.10.0
(#478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 32995669..25d200f5 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -14,7 +14,7 @@
-
+
From f6f12e4f960b0069e9a4197c3d7db2c247e7937a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 25 May 2024 09:13:55 +0200
Subject: [PATCH 16/51] Update xunit-dotnet monorepo to v2.8.1 (#479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 25d200f5..52d50274 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,8 +22,8 @@
-
-
+
+
From bdf780ded74fa3c25f0db2960026d0c37fd46eb6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 7 Aug 2024 22:42:43 +0200
Subject: [PATCH 17/51] Migrate config .github/renovate.json (#483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/renovate.json | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/renovate.json b/.github/renovate.json
index 2aa46b6f..4f8685ad 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -10,10 +10,10 @@
"matchManagers": [
"nuget"
],
- "matchPackagePatterns": [
- "Microsoft.TeamFoundationServer.Client|Microsoft.VisualStudio.Services.InteractiveClient"
- ],
- "groupName": "Azure DevOps Client"
+ "groupName": "Azure DevOps Client",
+ "matchPackageNames": [
+ "/Microsoft.TeamFoundationServer.Client|Microsoft.VisualStudio.Services.InteractiveClient/"
+ ]
}
]
-}
\ No newline at end of file
+}
From ddd9623b53b982adf5040e585fb765d0376abf89 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sun, 25 Aug 2024 20:47:12 +0200
Subject: [PATCH 18/51] Update macOS versions (#485)
---
azure-pipelines.yml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 2e53f365..dc2a3bd7 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -46,7 +46,7 @@ jobs:
- job: Build_macOS
displayName: Build & Test macOS
pool:
- vmImage: 'macOS-11'
+ vmImage: 'macOS-12'
steps:
# .NET 5 required for GitVersion
- task: UseDotNet@2
@@ -257,7 +257,7 @@ jobs:
displayName: Integration Tests Frosting macOS (.NET 6)
dependsOn: Build_macOS
pool:
- vmImage: 'macOS-11'
+ vmImage: 'macOS-12'
steps:
- download: current
artifact: NuGet Package macOS
@@ -282,7 +282,7 @@ jobs:
displayName: Integration Tests Frosting macOS (.NET 7)
dependsOn: Build_macOS
pool:
- vmImage: 'macOS-11'
+ vmImage: 'macOS-13'
steps:
- download: current
artifact: NuGet Package macOS
@@ -307,7 +307,7 @@ jobs:
displayName: Integration Tests Frosting macOS (.NET 8)
dependsOn: Build_macOS
pool:
- vmImage: 'macOS-11'
+ vmImage: 'macOS-14'
steps:
- download: current
artifact: NuGet Package macOS
@@ -332,7 +332,7 @@ jobs:
displayName: Integration Tests Script Runner macOS (.NET 6)
dependsOn: Build_macOS
pool:
- vmImage: 'macOS-11'
+ vmImage: 'macOS-12'
steps:
- download: current
artifact: NuGet Package macOS
@@ -357,7 +357,7 @@ jobs:
displayName: Integration Tests Script Runner macOS (.NET 7)
dependsOn: Build_macOS
pool:
- vmImage: 'macOS-11'
+ vmImage: 'macOS-13'
steps:
- download: current
artifact: NuGet Package macOS
@@ -382,7 +382,7 @@ jobs:
displayName: Integration Tests Script Runner macOS (.NET 8)
dependsOn: Build_macOS
pool:
- vmImage: 'macOS-11'
+ vmImage: 'macOS-14'
steps:
- download: current
artifact: NuGet Package macOS
From f87a365ab48614d2f9e37929f1b27df12f58c8b1 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 25 Aug 2024 19:14:00 +0000
Subject: [PATCH 19/51] Update xunit-dotnet monorepo (#482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 52d50274..fafa5462 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,8 +22,8 @@
-
-
+
+
From c6ebd005eed1829c98d60e336a40b04aa04b05b0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 25 Aug 2024 20:09:27 +0000
Subject: [PATCH 20/51] Update dotnet monorepo (#480)
* Update dotnet monorepo
* Update AppVeyor
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 6 +++---
global.json | 2 +-
tests/frosting/net6.0/global.json | 2 +-
tests/frosting/net7.0/global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net6.0/global.json | 2 +-
tests/script-runner/net7.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index a8e9e63f..67ea8d62 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,9 +11,9 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.422 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.409 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.300 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.425 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.410 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.401 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/global.json b/global.json
index aa185890..fb43bdf0 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.300",
+ "version": "8.0.401",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net6.0/global.json b/tests/frosting/net6.0/global.json
index 1dea3760..b1256f62 100644
--- a/tests/frosting/net6.0/global.json
+++ b/tests/frosting/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.422",
+ "version": "6.0.425",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net7.0/global.json b/tests/frosting/net7.0/global.json
index 9cf9f7a7..33bedcd2 100644
--- a/tests/frosting/net7.0/global.json
+++ b/tests/frosting/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.409",
+ "version": "7.0.410",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index aa185890..fb43bdf0 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.300",
+ "version": "8.0.401",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/global.json b/tests/script-runner/net6.0/global.json
index 1dea3760..b1256f62 100644
--- a/tests/script-runner/net6.0/global.json
+++ b/tests/script-runner/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.422",
+ "version": "6.0.425",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/global.json b/tests/script-runner/net7.0/global.json
index 9cf9f7a7..33bedcd2 100644
--- a/tests/script-runner/net7.0/global.json
+++ b/tests/script-runner/net7.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.409",
+ "version": "7.0.410",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index aa185890..fb43bdf0 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.300",
+ "version": "8.0.401",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From 22da539615738f49f39577ec6aef566853f448fc Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sun, 25 Aug 2024 20:30:04 +0000
Subject: [PATCH 21/51] Update dependency Microsoft.NET.Test.Sdk to v17.11.0
(#484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index fafa5462..46a5360c 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -14,7 +14,7 @@
-
+
From 4dcc45b47c294026ee158ed4d176807cad753b25 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 5 Sep 2024 13:26:45 +0200
Subject: [PATCH 22/51] Update dependency Microsoft.NET.Test.Sdk to 17.11.1
(#486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 46a5360c..db608862 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -14,7 +14,7 @@
-
+
From 13c9ceca75e4bf79e3a538d8d1eacec077d0350f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 24 Sep 2024 07:42:46 +0200
Subject: [PATCH 23/51] Update dependency xunit to 2.9.1 (#487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index db608862..b4fce1e5 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,7 +22,7 @@
-
+
From 451ad8dc8ff81c4f8971800c0e62fbfa759131a6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Oct 2024 21:48:57 +0200
Subject: [PATCH 24/51] Update dependency xunit to 2.9.2 (#489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index b4fce1e5..fe76affa 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -22,7 +22,7 @@
-
+
From 56f7841ba5c9477a5d9208bf86f6f3372b274f44 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Oct 2024 22:34:42 +0200
Subject: [PATCH 25/51] Update dependency dotnet-sdk to v8.0.402 (#488)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/global.json b/global.json
index fb43bdf0..d5871b50 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.401",
+ "version": "8.0.402",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index fb43bdf0..d5871b50 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.401",
+ "version": "8.0.402",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index fb43bdf0..d5871b50 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.401",
+ "version": "8.0.402",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From 70c2f689e99047eefb01120a59f34f31ebcc7df9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Wed, 9 Oct 2024 22:12:53 +0200
Subject: [PATCH 26/51] Update dotnet monorepo (#490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
global.json | 2 +-
tests/frosting/net6.0/global.json | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net6.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/global.json b/global.json
index d5871b50..a83ed4da 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.402",
+ "version": "8.0.403",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net6.0/global.json b/tests/frosting/net6.0/global.json
index b1256f62..ec034b02 100644
--- a/tests/frosting/net6.0/global.json
+++ b/tests/frosting/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.425",
+ "version": "6.0.427",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index d5871b50..a83ed4da 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.402",
+ "version": "8.0.403",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/global.json b/tests/script-runner/net6.0/global.json
index b1256f62..ec034b02 100644
--- a/tests/script-runner/net6.0/global.json
+++ b/tests/script-runner/net6.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.425",
+ "version": "6.0.427",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index d5871b50..a83ed4da 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.402",
+ "version": "8.0.403",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From a707fdd5c652b3c192212fc585fa606ad7338d17 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Wed, 13 Nov 2024 22:38:35 +0100
Subject: [PATCH 27/51] Multi-Target .NET 8 & .NET 9 (#496)
---
.appveyor.yml | 3 +-
README.md | 26 +-
azure-pipelines.yml | 290 ++++--------------
global.json | 2 +-
.../Cake.AzureDevOps.Tests.csproj | 2 +-
src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 2 +-
tests/frosting/net7.0/build.ps1 | 13 -
tests/frosting/net7.0/build.sh | 10 -
tests/frosting/net7.0/build/Build.csproj | 11 -
tests/frosting/net7.0/build/Program.cs | 157 ----------
tests/frosting/net7.0/nuget.config | 14 -
tests/frosting/{net6.0 => net9.0}/build.ps1 | 0
tests/frosting/{net6.0 => net9.0}/build.sh | 0
.../{net6.0 => net9.0}/build/Build.csproj | 2 +-
.../{net6.0 => net9.0}/build/Program.cs | 0
tests/frosting/{net7.0 => net9.0}/global.json | 2 +-
.../frosting/{net6.0 => net9.0}/nuget.config | 0
tests/script-runner/net6.0/global.json | 7 -
.../net7.0/.config/dotnet-tools.json | 12 -
tests/script-runner/net7.0/build.cake | 120 --------
tests/script-runner/net7.0/build.ps1 | 15 -
tests/script-runner/net7.0/build.sh | 11 -
tests/script-runner/net7.0/global.json | 7 -
tests/script-runner/net7.0/nuget.config | 11 -
.../.config/dotnet-tools.json | 0
.../{net6.0 => net9.0}/build.cake | 0
.../{net6.0 => net9.0}/build.ps1 | 0
.../script-runner/{net6.0 => net9.0}/build.sh | 0
.../net9.0}/global.json | 2 +-
.../{net6.0 => net9.0}/nuget.config | 0
30 files changed, 84 insertions(+), 635 deletions(-)
delete mode 100644 tests/frosting/net7.0/build.ps1
delete mode 100755 tests/frosting/net7.0/build.sh
delete mode 100644 tests/frosting/net7.0/build/Build.csproj
delete mode 100644 tests/frosting/net7.0/build/Program.cs
delete mode 100644 tests/frosting/net7.0/nuget.config
rename tests/frosting/{net6.0 => net9.0}/build.ps1 (100%)
rename tests/frosting/{net6.0 => net9.0}/build.sh (100%)
rename tests/frosting/{net6.0 => net9.0}/build/Build.csproj (88%)
rename tests/frosting/{net6.0 => net9.0}/build/Program.cs (100%)
rename tests/frosting/{net7.0 => net9.0}/global.json (75%)
rename tests/frosting/{net6.0 => net9.0}/nuget.config (100%)
delete mode 100644 tests/script-runner/net6.0/global.json
delete mode 100644 tests/script-runner/net7.0/.config/dotnet-tools.json
delete mode 100644 tests/script-runner/net7.0/build.cake
delete mode 100644 tests/script-runner/net7.0/build.ps1
delete mode 100755 tests/script-runner/net7.0/build.sh
delete mode 100644 tests/script-runner/net7.0/global.json
delete mode 100644 tests/script-runner/net7.0/nuget.config
rename tests/script-runner/{net6.0 => net9.0}/.config/dotnet-tools.json (100%)
rename tests/script-runner/{net6.0 => net9.0}/build.cake (100%)
rename tests/script-runner/{net6.0 => net9.0}/build.ps1 (100%)
rename tests/script-runner/{net6.0 => net9.0}/build.sh (100%)
rename tests/{frosting/net6.0 => script-runner/net9.0}/global.json (75%)
rename tests/script-runner/{net6.0 => net9.0}/nuget.config (100%)
diff --git a/.appveyor.yml b/.appveyor.yml
index 67ea8d62..7273aaf7 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,9 +11,8 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.425 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.410 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.401 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 9.0.100 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/README.md b/README.md
index 5ed73c25..50a1152a 100644
--- a/README.md
+++ b/README.md
@@ -17,20 +17,20 @@ This addin for Cake allows you to work with Azure DevOps.
|:------------------:|:------------:|:-------------------------------:|:-------------------:|:-------:|:------:|
| Build & Unit Tests | AppVeyor | N/A | Windows Server 2019 |[![Build status](https://ci.appveyor.com/api/projects/status/45blf3csh70opuos/branch/develop?svg=true)](https://ci.appveyor.com/project/cakecontrib/cake-azuredevops/branch/develop)|[![Build status](https://ci.appveyor.com/api/projects/status/45blf3csh70opuos/branch/master?svg=true)](https://ci.appveyor.com/project/cakecontrib/cake-azuredevops/branch/master)|
| Build & Unit Tests | Azure DevOps | N/A | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Build%20%26%20Test%20Windows)](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Build%20%26%20Test%20Windows)](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Build & Unit Tests | Azure DevOps | N/A | macOS 11 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Build%20%26%20Test%20macOS)](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Build%20%26%20Test%20macOS)](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Build & Unit Tests | Azure DevOps | N/A | macOS 12 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Build%20%26%20Test%20macOS)](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Build%20%26%20Test%20macOS)](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
| Build & Unit Tests | Azure DevOps | N/A | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Build%20%26%20Test%20Ubuntu)](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Build%20%26%20Test%20Ubuntu)](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Frosting on .NET 6.0 | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20Windows%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20Windows%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Frosting on .NET 7.0 | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20Windows%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20Windows%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Scripting on .NET 6.0 | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20Windows%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20Windows%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Scripting on .NET 7.0 | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20Windows%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20Windows%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Frosting on .NET 6.0 | macOS 11 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20macOS%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20macOS%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Frosting on .NET 7.0 | macOS 11 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20macOS%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20macOS%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Scripting on .NET 6.0 | macOS 11 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20macOS%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20macOS%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Scripting on .NET 7.0 | macOS 11 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20macOS%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20macOS%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Frosting on .NET 6.0 | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20Ubuntu%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20Ubuntu%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Frosting on .NET 7.0 | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20Ubuntu%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20Ubuntu%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Scripting on .NET 6.0 | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20Ubuntu%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20Ubuntu%20(.NET%206))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
-| Integration Tests | Azure DevOps | Cake Scripting on .NET 7.0 | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20Ubuntu%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20Ubuntu%20(.NET%207))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Frosting on .NET 8.0 | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20Windows%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20Windows%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Frosting on .NET 9.0 | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20Windows%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20Windows%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Scripting on .NET 8.0 | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20Windows%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20Windows%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Scripting on .NET 9.0 | Windows Server 2022 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20Windows%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20Windows%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Frosting on .NET 8.0 | macOS 14 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20macOS%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20macOS%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Frosting on .NET 9.0 | macOS 14 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20macOS%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20macOS%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Scripting on .NET 8.0 | macOS 14 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20macOS%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20macOS%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Scripting on .NET 9.0 | macOS 14 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20macOS%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20macOS%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Frosting on .NET 8.0 | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20Ubuntu%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20Ubuntu%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Frosting on .NET 9.0 | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Frosting%20Ubuntu%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Frosting%20Ubuntu%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Scripting on .NET 8.0 | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20Ubuntu%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20Ubuntu%20(.NET%208))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
+| Integration Tests | Azure DevOps | Cake Scripting on .NET 9.0 | Ubuntu 20.04 |[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=develop&jobName=Integration%20Tests%20Script%20Runner%20Ubuntu%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_apis/build/status/cake-contrib.Cake.AzureDevOps?branchName=master&jobName=Integration%20Tests%20Script%20Runner%20Ubuntu%20(.NET%209))](https://dev.azure.com/cake-contrib/Cake.AzureDevOps/_build/latest?definitionId=24&branchName=master)|
## Demos
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index dc2a3bd7..bfa8f676 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -21,18 +21,14 @@ jobs:
inputs:
version: '5.x'
displayName: 'Install .NET 5'
- - task: UseDotNet@2
- inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
- - task: UseDotNet@2
- inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
- task: UseDotNet@2
inputs:
version: '8.x'
displayName: 'Install .NET 8'
+ - task: UseDotNet@2
+ inputs:
+ version: '9.x'
+ displayName: 'Install .NET 9'
- powershell: |
$ENV:CAKE_SKIP_GITVERSION=([string]::IsNullOrEmpty($ENV:SYSTEM_PULLREQUEST_PULLREQUESTID) -eq $False).ToString()
.\build.ps1
@@ -53,18 +49,14 @@ jobs:
inputs:
version: '5.x'
displayName: 'Install .NET 5'
- - task: UseDotNet@2
- inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
- - task: UseDotNet@2
- inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
- task: UseDotNet@2
inputs:
version: '8.x'
displayName: 'Install .NET 8'
+ - task: UseDotNet@2
+ inputs:
+ version: '9.x'
+ displayName: 'Install .NET 9'
- bash: |
./build.sh
displayName: 'Cake Build'
@@ -83,18 +75,14 @@ jobs:
inputs:
version: '5.x'
displayName: 'Install .NET 5'
- - task: UseDotNet@2
- inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
- - task: UseDotNet@2
- inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
- task: UseDotNet@2
inputs:
version: '8.x'
displayName: 'Install .NET 8'
+ - task: UseDotNet@2
+ inputs:
+ version: '9.x'
+ displayName: 'Install .NET 9'
- bash: |
./build.sh --verbosity=diagnostic
displayName: 'Cake Build'
@@ -102,56 +90,6 @@ jobs:
artifact: NuGet Package Ubuntu
displayName: 'Publish NuGet package as build artifact'
-# Integration Tests Frosting Windows (.NET 6)
-- job: Test_Frosting_Windows_Net6
- displayName: Integration Tests Frosting Windows (.NET 6)
- dependsOn: Build_Windows
- pool:
- vmImage: 'windows-2019'
- steps:
- - download: current
- artifact: NuGet Package Windows
- displayName: 'Download build artifact'
- - task: CopyFiles@2
- inputs:
- sourceFolder: $(Pipeline.Workspace)/NuGet Package Windows
- targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
- displayName: 'Copy build artifact for test run'
- - task: UseDotNet@2
- inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
- - powershell: ./build.ps1 --verbosity=diagnostic
- workingDirectory: ./tests/frosting/net6.0
- displayName: 'Run integration tests'
- env:
- SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-
-# Integration Tests Frosting Windows (.NET 7)
-- job: Test_Frosting_Windows_Net7
- displayName: Integration Tests Frosting Windows (.NET 7)
- dependsOn: Build_Windows
- pool:
- vmImage: 'windows-2022'
- steps:
- - download: current
- artifact: NuGet Package Windows
- displayName: 'Download build artifact'
- - task: CopyFiles@2
- inputs:
- sourceFolder: $(Pipeline.Workspace)/NuGet Package Windows
- targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
- displayName: 'Copy build artifact for test run'
- - task: UseDotNet@2
- inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
- - powershell: ./build.ps1 --verbosity=diagnostic
- workingDirectory: ./tests/frosting/net7.0
- displayName: 'Run integration tests'
- env:
- SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-
# Integration Tests Frosting Windows (.NET 8)
- job: Test_Frosting_Windows_Net8
displayName: Integration Tests Frosting Windows (.NET 8)
@@ -177,34 +115,9 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-# Integration Tests Script Runner Windows (.NET 6)
-- job: Test_Script_Runner_Windows_Net6
- displayName: Integration Tests Script Runner Windows (.NET 6)
- dependsOn: Build_Windows
- pool:
- vmImage: 'windows-2019'
- steps:
- - download: current
- artifact: NuGet Package Windows
- displayName: 'Download build artifact'
- - task: CopyFiles@2
- inputs:
- sourceFolder: $(Pipeline.Workspace)/NuGet Package Windows
- targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
- displayName: 'Copy build artifact for test run'
- - task: UseDotNet@2
- inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
- - powershell: ./build.ps1 --verbosity=diagnostic
- workingDirectory: ./tests/script-runner/net6.0
- displayName: 'Run integration tests'
- env:
- SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-
-# Integration Tests Script Runner Windows (.NET 7)
-- job: Test_Script_Runner_Windows_Net7
- displayName: Integration Tests Script Runner Windows (.NET 7)
+# Integration Tests Frosting Windows (.NET 9)
+- job: Test_Frosting_Windows_Net9
+ displayName: Integration Tests Frosting Windows (.NET 9)
dependsOn: Build_Windows
pool:
vmImage: 'windows-2022'
@@ -219,10 +132,10 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
+ version: '9.x'
+ displayName: 'Install .NET 9'
- powershell: ./build.ps1 --verbosity=diagnostic
- workingDirectory: ./tests/script-runner/net7.0
+ workingDirectory: ./tests/frosting/net9.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
@@ -252,52 +165,27 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-# Integration Tests Frosting macOS (.NET 6)
-- job: Test_Frosting_macOS_Net6
- displayName: Integration Tests Frosting macOS (.NET 6)
- dependsOn: Build_macOS
- pool:
- vmImage: 'macOS-12'
- steps:
- - download: current
- artifact: NuGet Package macOS
- displayName: 'Download build artifact'
- - task: CopyFiles@2
- inputs:
- sourceFolder: $(Pipeline.Workspace)/NuGet Package macOS
- targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
- displayName: 'Copy build artifact for test run'
- - task: UseDotNet@2
- inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
- - bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/frosting/net6.0
- displayName: 'Run integration tests'
- env:
- SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-
-# Integration Tests Frosting macOS (.NET 7)
-- job: Test_Frosting_macOS_Net7
- displayName: Integration Tests Frosting macOS (.NET 7)
- dependsOn: Build_macOS
+# Integration Tests Script Runner Windows (.NET 9)
+- job: Test_Script_Runner_Windows_Net9
+ displayName: Integration Tests Script Runner Windows (.NET 9)
+ dependsOn: Build_Windows
pool:
- vmImage: 'macOS-13'
+ vmImage: 'windows-2022'
steps:
- download: current
- artifact: NuGet Package macOS
+ artifact: NuGet Package Windows
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
- sourceFolder: $(Pipeline.Workspace)/NuGet Package macOS
+ sourceFolder: $(Pipeline.Workspace)/NuGet Package Windows
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
- - bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/frosting/net7.0
+ version: '9.x'
+ displayName: 'Install .NET 9'
+ - powershell: ./build.ps1 --verbosity=diagnostic
+ workingDirectory: ./tests/script-runner/net9.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
@@ -327,37 +215,12 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-# Integration Tests Script Runner macOS (.NET 6)
-- job: Test_Script_Runner_macOS_Net6
- displayName: Integration Tests Script Runner macOS (.NET 6)
- dependsOn: Build_macOS
- pool:
- vmImage: 'macOS-12'
- steps:
- - download: current
- artifact: NuGet Package macOS
- displayName: 'Download build artifact'
- - task: CopyFiles@2
- inputs:
- sourceFolder: $(Pipeline.Workspace)/NuGet Package macOS
- targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
- displayName: 'Copy build artifact for test run'
- - task: UseDotNet@2
- inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
- - bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/script-runner/net6.0
- displayName: 'Run integration tests'
- env:
- SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-
-# Integration Tests Script Runner macOS (.NET 7)
-- job: Test_Script_Runner_macOS_Net7
- displayName: Integration Tests Script Runner macOS (.NET 7)
+# Integration Tests Frosting macOS (.NET 9)
+- job: Test_Frosting_macOS_Net9
+ displayName: Integration Tests Frosting macOS (.NET 9)
dependsOn: Build_macOS
pool:
- vmImage: 'macOS-13'
+ vmImage: 'macOS-14'
steps:
- download: current
artifact: NuGet Package macOS
@@ -369,10 +232,10 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
+ version: '9.x'
+ displayName: 'Install .NET 9'
- bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/script-runner/net7.0
+ workingDirectory: ./tests/frosting/net9.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
@@ -402,52 +265,27 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-# Integration Tests Frosting Ubuntu (.NET 6)
-- job: Test_Frosting_Ubuntu_Net6
- displayName: Integration Tests Frosting Ubuntu (.NET 6)
- dependsOn: Build_Ubuntu
- pool:
- vmImage: 'ubuntu-20.04'
- steps:
- - download: current
- artifact: NuGet Package Ubuntu
- displayName: 'Download build artifact'
- - task: CopyFiles@2
- inputs:
- sourceFolder: $(Pipeline.Workspace)/NuGet Package Ubuntu
- targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
- displayName: 'Copy build artifact for test run'
- - task: UseDotNet@2
- inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
- - bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/frosting/net6.0
- displayName: 'Run integration tests'
- env:
- SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-
-# Integration Tests Frosting Ubuntu (.NET 7)
-- job: Test_Frosting_Ubuntu_Net7
- displayName: Integration Tests Frosting Ubuntu (.NET 7)
- dependsOn: Build_Ubuntu
+# Integration Tests Script Runner macOS (.NET 9)
+- job: Test_Script_Runner_macOS_Net9
+ displayName: Integration Tests Script Runner macOS (.NET 9)
+ dependsOn: Build_macOS
pool:
- vmImage: 'ubuntu-20.04'
+ vmImage: 'macOS-14'
steps:
- download: current
- artifact: NuGet Package Ubuntu
+ artifact: NuGet Package macOS
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
- sourceFolder: $(Pipeline.Workspace)/NuGet Package Ubuntu
+ sourceFolder: $(Pipeline.Workspace)/NuGet Package macOS
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
+ version: '9.x'
+ displayName: 'Install .NET 9'
- bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/frosting/net7.0
+ workingDirectory: ./tests/script-runner/net9.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
@@ -477,9 +315,9 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-# Integration Tests Script Runner Ubuntu (.NET 6)
-- job: Test_Script_Runner_Ubuntu_Net6
- displayName: Integration Tests Script Runner Ubuntu (.NET 6)
+# Integration Tests Frosting Ubuntu (.NET 9)
+- job: Test_Frosting_Ubuntu_Net9
+ displayName: Integration Tests Frosting Ubuntu (.NET 9)
dependsOn: Build_Ubuntu
pool:
vmImage: 'ubuntu-20.04'
@@ -494,17 +332,17 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
- version: '6.x'
- displayName: 'Install .NET 6'
+ version: '9.x'
+ displayName: 'Install .NET 9'
- bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/script-runner/net6.0
+ workingDirectory: ./tests/frosting/net9.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-# Integration Tests Script Runner Ubuntu (.NET 7)
-- job: Test_Script_Runner_Ubuntu_Net7
- displayName: Integration Tests Script Runner Ubuntu (.NET 7)
+# Integration Tests Script Runner Ubuntu (.NET 8)
+- job: Test_Script_Runner_Ubuntu_Net8
+ displayName: Integration Tests Script Runner Ubuntu (.NET 8)
dependsOn: Build_Ubuntu
pool:
vmImage: 'ubuntu-20.04'
@@ -519,17 +357,17 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
- version: '7.x'
- displayName: 'Install .NET 7'
+ version: '8.x'
+ displayName: 'Install .NET 8'
- bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/script-runner/net7.0
+ workingDirectory: ./tests/script-runner/net8.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
-# Integration Tests Script Runner Ubuntu (.NET 8)
-- job: Test_Script_Runner_Ubuntu_Net8
- displayName: Integration Tests Script Runner Ubuntu (.NET 8)
+# Integration Tests Script Runner Ubuntu (.NET 9)
+- job: Test_Script_Runner_Ubuntu_Net9
+ displayName: Integration Tests Script Runner Ubuntu (.NET 9)
dependsOn: Build_Ubuntu
pool:
vmImage: 'ubuntu-20.04'
@@ -544,10 +382,10 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
- version: '8.x'
- displayName: 'Install .NET 8'
+ version: '9.x'
+ displayName: 'Install .NET 9'
- bash: ./build.sh --verbosity=diagnostic
- workingDirectory: ./tests/script-runner/net8.0
+ workingDirectory: ./tests/script-runner/net9.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
diff --git a/global.json b/global.json
index a83ed4da..5110c037 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.403",
+ "version": "9.0.100",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index fe76affa..6a5c4d81 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -1,7 +1,7 @@
- net6.0;net7.0;net8.0
+ net8.0;net9.0
false
Cake.AzureDevOps
Copyright © Pascal Berger
diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
index ca6a0202..369cb3d5 100644
--- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
+++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
@@ -1,7 +1,7 @@
- net6.0;net7.0;net8.0
+ net8.0;net9.0
diff --git a/tests/frosting/net7.0/build.ps1 b/tests/frosting/net7.0/build.ps1
deleted file mode 100644
index c56e9b94..00000000
--- a/tests/frosting/net7.0/build.ps1
+++ /dev/null
@@ -1,13 +0,0 @@
-$ADDIN_PACKAGE_PATH = "packages/cake.azuredevops"
-if (Test-Path $ADDIN_PACKAGE_PATH)
-{
- Write-Host "Cleaning up cached version of $ADDIN_PACKAGE_PATH..."
- Remove-Item $ADDIN_PACKAGE_PATH -Recurse;
-}
-else
-{
- Write-Host "$ADDIN_PACKAGE_PATH not cached..."
-}
-
-dotnet run --project build/Build.csproj -- $args
-exit $LASTEXITCODE;
\ No newline at end of file
diff --git a/tests/frosting/net7.0/build.sh b/tests/frosting/net7.0/build.sh
deleted file mode 100755
index 8d8f53fa..00000000
--- a/tests/frosting/net7.0/build.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-$ADDIN_PACKAGE_PATH = "packages/cake.azuredevops"
-if [ -d "$ADDIN_PACKAGE_PATH" ]
-then
- echo "Cleaning up cached version of $ADDIN_PACKAGE_PATH..."
- rm -Rf $ADDIN_PACKAGE_PATH
-else
- echo "$ADDIN_PACKAGE_PATH not cached..."
-fi
-
-dotnet run --project ./build/Build.csproj -- "$@"
\ No newline at end of file
diff --git a/tests/frosting/net7.0/build/Build.csproj b/tests/frosting/net7.0/build/Build.csproj
deleted file mode 100644
index 939e0eb3..00000000
--- a/tests/frosting/net7.0/build/Build.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
- Exe
- net7.0
- $(MSBuildProjectDirectory)
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/frosting/net7.0/build/Program.cs b/tests/frosting/net7.0/build/Program.cs
deleted file mode 100644
index 61cd2527..00000000
--- a/tests/frosting/net7.0/build/Program.cs
+++ /dev/null
@@ -1,157 +0,0 @@
-using Cake.Common.Build;
-using Cake.Common.Diagnostics;
-using Cake.Core;
-using Cake.Core.Diagnostics;
-using Cake.Frosting;
-using Cake.AzureDevOps;
-using System.Linq;
-
-public static class Program
-{
- public static int Main(string[] args)
- {
- return new CakeHost()
- .UseContext()
- .Run(args);
- }
-}
-
-public class BuildContext : FrostingContext
-{
- public BuildContext(ICakeContext context)
- : base(context)
- {
- }
-}
-
-[TaskName("Read-Build")]
-public sealed class ReadBuildTask : FrostingTask
-{
- public override void Run(BuildContext context)
- {
- var build =
- context.AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- context.Information(build.BuildId);
- }
-}
-
-[TaskName("Read-BuildChanges")]
-public sealed class ReadBuildChangesTask : FrostingTask
-{
- public override void Run(BuildContext context)
- {
- var build =
- context.AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- var changes = build.GetChanges();
- if (!changes.Any())
- {
- context.Information("No changes found.");
- }
- else
- {
- foreach (var change in changes)
- {
- context.Information("{0}: {1} by {2}", change.Id, change.Message, change.Author);
- }
- }
- }
-}
-
-[TaskName("Read-BuildTimelineRecords")]
-public sealed class ReadBuildTimelineRecordsTask : FrostingTask
-{
- public override void Run(BuildContext context)
- {
- var build =
- context.AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- var timelineRecords = build.GetTimelineRecords();
- if (!timelineRecords.Any())
- {
- context.Information("No timeline records found.");
- }
- else
- {
- foreach (var timelineRecord in timelineRecords)
- {
- context.Information("{0}: {1}", timelineRecord.Id, timelineRecord.Name);
- }
- }
- }
-}
-
-[TaskName("Read-BuildArtifacts")]
-public sealed class ReadBuildArtifactsTask : FrostingTask
-{
- public override void Run(BuildContext context)
- {
- // var build =
- // context.AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- // var artifacts = build.GetArtifacts();
- // if (!artifacts.Any())
- // {
- // context.Information("No artifacts found.");
- // }
- // else
- // {
- // foreach (var artifact in artifacts)
- // {
- // context.Information("{0}: {1}", artifact.Id, artifact.Name);
- // }
- // }
- }
-}
-
-[TaskName("Read-BuildTestRuns")]
-public sealed class ReadBuildTestRunsTask : FrostingTask
-{
- public override void Run(BuildContext context)
- {
- // var build =
- // context.AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- // var testRuns = build.GetTestRuns();
- // if (!testRuns.Any())
- // {
- // context.Information("No test runs found.");
- // }
- // else
- // {
- // foreach (var testRun in testRuns)
- // {
- // context.Information("{0}", testRun.RunId);
- // }
- // }
- }
-}
-
-[TaskName("Read-PullRequest")]
-public sealed class ReadPullRequestTask : FrostingTask
-{
- public override bool ShouldRun(BuildContext context)
- {
- return context.BuildSystem().IsPullRequest;
- }
-
- public override void Run(BuildContext context)
- {
- // var pullRequest =
- // context.AzureDevOpsPullRequestUsingAzurePipelinesOAuthToken();
-
- // context.Information(pullRequest.TargetRefName);
- }
-}
-
-[TaskName("Default")]
-[IsDependentOn(typeof(ReadBuildTask))]
-[IsDependentOn(typeof(ReadBuildChangesTask))]
-[IsDependentOn(typeof(ReadBuildTimelineRecordsTask))]
-[IsDependentOn(typeof(ReadBuildArtifactsTask))]
-[IsDependentOn(typeof(ReadBuildTestRunsTask))]
-[IsDependentOn(typeof(ReadPullRequestTask))]
-public class DefaultTask : FrostingTask
-{
-}
diff --git a/tests/frosting/net7.0/nuget.config b/tests/frosting/net7.0/nuget.config
deleted file mode 100644
index 663b555f..00000000
--- a/tests/frosting/net7.0/nuget.config
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/frosting/net6.0/build.ps1 b/tests/frosting/net9.0/build.ps1
similarity index 100%
rename from tests/frosting/net6.0/build.ps1
rename to tests/frosting/net9.0/build.ps1
diff --git a/tests/frosting/net6.0/build.sh b/tests/frosting/net9.0/build.sh
similarity index 100%
rename from tests/frosting/net6.0/build.sh
rename to tests/frosting/net9.0/build.sh
diff --git a/tests/frosting/net6.0/build/Build.csproj b/tests/frosting/net9.0/build/Build.csproj
similarity index 88%
rename from tests/frosting/net6.0/build/Build.csproj
rename to tests/frosting/net9.0/build/Build.csproj
index 63149696..38875e78 100644
--- a/tests/frosting/net6.0/build/Build.csproj
+++ b/tests/frosting/net9.0/build/Build.csproj
@@ -1,7 +1,7 @@
Exe
- net6.0
+ net9.0
$(MSBuildProjectDirectory)
diff --git a/tests/frosting/net6.0/build/Program.cs b/tests/frosting/net9.0/build/Program.cs
similarity index 100%
rename from tests/frosting/net6.0/build/Program.cs
rename to tests/frosting/net9.0/build/Program.cs
diff --git a/tests/frosting/net7.0/global.json b/tests/frosting/net9.0/global.json
similarity index 75%
rename from tests/frosting/net7.0/global.json
rename to tests/frosting/net9.0/global.json
index 33bedcd2..5110c037 100644
--- a/tests/frosting/net7.0/global.json
+++ b/tests/frosting/net9.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "7.0.410",
+ "version": "9.0.100",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/frosting/net6.0/nuget.config b/tests/frosting/net9.0/nuget.config
similarity index 100%
rename from tests/frosting/net6.0/nuget.config
rename to tests/frosting/net9.0/nuget.config
diff --git a/tests/script-runner/net6.0/global.json b/tests/script-runner/net6.0/global.json
deleted file mode 100644
index ec034b02..00000000
--- a/tests/script-runner/net6.0/global.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "sdk": {
- "allowPrerelease": true,
- "version": "6.0.427",
- "rollForward": "latestFeature"
- }
-}
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/.config/dotnet-tools.json b/tests/script-runner/net7.0/.config/dotnet-tools.json
deleted file mode 100644
index 7b346950..00000000
--- a/tests/script-runner/net7.0/.config/dotnet-tools.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "version": 1,
- "isRoot": true,
- "tools": {
- "cake.tool": {
- "version": "4.0.0",
- "commands": [
- "dotnet-cake"
- ]
- }
- }
- }
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/build.cake b/tests/script-runner/net7.0/build.cake
deleted file mode 100644
index 20015a30..00000000
--- a/tests/script-runner/net7.0/build.cake
+++ /dev/null
@@ -1,120 +0,0 @@
-#addin nuget:?package=Cake.AzureDevOps&prerelease
-
-//////////////////////////////////////////////////
-// ARGUMENTS
-//////////////////////////////////////////////////
-
-var target = Argument("target", "Default");
-
-//////////////////////////////////////////////////
-// TARGETS
-//////////////////////////////////////////////////
-
-Task("Read-Build")
- .Does(() =>
-{
- var build = AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- Information(build.BuildId);
-});
-
-Task("Read-BuildChanges")
- .Does(() =>
-{
- var build = AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- var changes = build.GetChanges();
- if (!changes.Any())
- {
- Information("No changes found.");
- }
- else
- {
- foreach (var change in changes)
- {
- Information("{0}: {1} by {2}", change.Id, change.Message, change.Author);
- }
- }
-});
-
-Task("Read-BuildTimelineRecords")
- .Does(() =>
-{
- var build = AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- var timelineRecords = build.GetTimelineRecords();
- if (!timelineRecords.Any())
- {
- Information("No timeline records found.");
- }
- else
- {
- foreach (var timelineRecord in timelineRecords)
- {
- Information("{0}: {1}", timelineRecord.Id, timelineRecord.Name);
- }
- }
-});
-
-Task("Read-BuildArtifacts")
- .Does(() =>
-{
- // var build = AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- // var artifacts = build.GetArtifacts();
- // if (!artifacts.Any())
- // {
- // Information("No artifacts found.");
- // }
- // else
- // {
- // foreach (var artifact in artifacts)
- // {
- // Information("{0}: {1}", artifact.Id, artifact.Name);
- // }
- // }
-});
-
-Task("Read-BuildTestRuns")
- .Does(() =>
-{
- // var build = AzureDevOpsBuildUsingAzurePipelinesOAuthToken();
-
- // var testRuns = build.GetTestRuns();
- // if (!testRuns.Any())
- // {
- // Information("No test runs found.");
- // }
- // else
- // {
- // foreach (var testRun in testRuns)
- // {
- // Information("{0}", testRun.RunId);
- // }
- // }
-});
-
-Task("Read-PullRequest")
- .WithCriteria((context) => context.BuildSystem().IsPullRequest, "Only supported for pull request builds.")
- .Does(() =>
-{
- // var pullRequest =
- // AzureDevOpsPullRequestUsingAzurePipelinesOAuthToken();
-
- // Information(pullRequest.TargetRefName);
-});
-
-
-Task("Default")
- .IsDependentOn("Read-Build")
- .IsDependentOn("Read-BuildChanges")
- .IsDependentOn("Read-BuildTimelineRecords")
- .IsDependentOn("Read-BuildArtifacts")
- .IsDependentOn("Read-BuildTestRuns")
- .IsDependentOn("Read-PullRequest");
-
-//////////////////////////////////////////////////
-// EXECUTION
-//////////////////////////////////////////////////
-
-RunTarget(target);
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/build.ps1 b/tests/script-runner/net7.0/build.ps1
deleted file mode 100644
index fe602768..00000000
--- a/tests/script-runner/net7.0/build.ps1
+++ /dev/null
@@ -1,15 +0,0 @@
-$ErrorActionPreference = 'Stop'
-
-$SCRIPT_NAME = "build.cake"
-
-Write-Host "Restoring .NET Core tools"
-dotnet tool restore
-if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
-
-Write-Host "Bootstrapping Cake"
-dotnet cake $SCRIPT_NAME --bootstrap
-if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
-
-Write-Host "Running Build"
-dotnet cake $SCRIPT_NAME @args
-if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/build.sh b/tests/script-runner/net7.0/build.sh
deleted file mode 100755
index 921a3241..00000000
--- a/tests/script-runner/net7.0/build.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-SCRIPT_NAME="build.cake"
-
-echo "Restoring .NET Core tools"
-dotnet tool restore
-
-echo "Bootstrapping Cake"
-dotnet cake $SCRIPT_NAME --bootstrap
-
-echo "Running Build"
-dotnet cake $SCRIPT_NAME "$@"
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/global.json b/tests/script-runner/net7.0/global.json
deleted file mode 100644
index 33bedcd2..00000000
--- a/tests/script-runner/net7.0/global.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "sdk": {
- "allowPrerelease": true,
- "version": "7.0.410",
- "rollForward": "latestFeature"
- }
-}
\ No newline at end of file
diff --git a/tests/script-runner/net7.0/nuget.config b/tests/script-runner/net7.0/nuget.config
deleted file mode 100644
index 62768c3d..00000000
--- a/tests/script-runner/net7.0/nuget.config
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/.config/dotnet-tools.json b/tests/script-runner/net9.0/.config/dotnet-tools.json
similarity index 100%
rename from tests/script-runner/net6.0/.config/dotnet-tools.json
rename to tests/script-runner/net9.0/.config/dotnet-tools.json
diff --git a/tests/script-runner/net6.0/build.cake b/tests/script-runner/net9.0/build.cake
similarity index 100%
rename from tests/script-runner/net6.0/build.cake
rename to tests/script-runner/net9.0/build.cake
diff --git a/tests/script-runner/net6.0/build.ps1 b/tests/script-runner/net9.0/build.ps1
similarity index 100%
rename from tests/script-runner/net6.0/build.ps1
rename to tests/script-runner/net9.0/build.ps1
diff --git a/tests/script-runner/net6.0/build.sh b/tests/script-runner/net9.0/build.sh
similarity index 100%
rename from tests/script-runner/net6.0/build.sh
rename to tests/script-runner/net9.0/build.sh
diff --git a/tests/frosting/net6.0/global.json b/tests/script-runner/net9.0/global.json
similarity index 75%
rename from tests/frosting/net6.0/global.json
rename to tests/script-runner/net9.0/global.json
index ec034b02..5110c037 100644
--- a/tests/frosting/net6.0/global.json
+++ b/tests/script-runner/net9.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "6.0.427",
+ "version": "9.0.100",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net6.0/nuget.config b/tests/script-runner/net9.0/nuget.config
similarity index 100%
rename from tests/script-runner/net6.0/nuget.config
rename to tests/script-runner/net9.0/nuget.config
From ec50ce7f6bffde49e32d380f9d22912272c71ed4 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Wed, 13 Nov 2024 22:53:10 +0100
Subject: [PATCH 28/51] Ignore Cake runner minor and patch updates (#497)
---
.github/renovate.json | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.github/renovate.json b/.github/renovate.json
index 4f8685ad..6cd0ad3f 100644
--- a/.github/renovate.json
+++ b/.github/renovate.json
@@ -5,6 +5,15 @@
":includeNodeModules"
],
"packageRules": [
+ {
+ "description": "Ignore Cake runner minor and patch updates",
+ "matchDepNames": [
+ "Cake.Tool",
+ "Cake.Frosting"
+ ],
+ "matchUpdateTypes": ["minor", "patch"],
+ "enabled": false
+ },
{
"description": "Group Azure DevOps packages together",
"matchManagers": [
From d0ee7de75e1cf6330bcda71caeb9fb816783513d Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 14 Nov 2024 07:09:59 +0100
Subject: [PATCH 29/51] Update dependency Microsoft.CodeAnalysis.NetAnalyzers
to v9 (#498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
index 369cb3d5..7cfc5d61 100644
--- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
+++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
@@ -36,7 +36,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
From e1b0ed7b79c125c7192d21c5fe4baf6ebd6b68d6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 14 Nov 2024 08:34:12 +0000
Subject: [PATCH 30/51] Update cake monorepo to v5 (#492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 6 +++---
src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 4 ++--
tests/frosting/net8.0/build/Build.csproj | 2 +-
tests/frosting/net9.0/build/Build.csproj | 2 +-
tests/script-runner/net8.0/.config/dotnet-tools.json | 2 +-
tests/script-runner/net9.0/.config/dotnet-tools.json | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 6a5c4d81..6b944a2e 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -15,9 +15,9 @@
-
-
-
+
+
+
diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
index 7cfc5d61..eff19495 100644
--- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
+++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
@@ -34,8 +34,8 @@
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/tests/frosting/net8.0/build/Build.csproj b/tests/frosting/net8.0/build/Build.csproj
index da4a6688..cc479b78 100644
--- a/tests/frosting/net8.0/build/Build.csproj
+++ b/tests/frosting/net8.0/build/Build.csproj
@@ -5,7 +5,7 @@
$(MSBuildProjectDirectory)
-
+
\ No newline at end of file
diff --git a/tests/frosting/net9.0/build/Build.csproj b/tests/frosting/net9.0/build/Build.csproj
index 38875e78..0764ffee 100644
--- a/tests/frosting/net9.0/build/Build.csproj
+++ b/tests/frosting/net9.0/build/Build.csproj
@@ -5,7 +5,7 @@
$(MSBuildProjectDirectory)
-
+
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/.config/dotnet-tools.json b/tests/script-runner/net8.0/.config/dotnet-tools.json
index 7b346950..f92efc2b 100644
--- a/tests/script-runner/net8.0/.config/dotnet-tools.json
+++ b/tests/script-runner/net8.0/.config/dotnet-tools.json
@@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
- "version": "4.0.0",
+ "version": "5.0.0",
"commands": [
"dotnet-cake"
]
diff --git a/tests/script-runner/net9.0/.config/dotnet-tools.json b/tests/script-runner/net9.0/.config/dotnet-tools.json
index 7b346950..f92efc2b 100644
--- a/tests/script-runner/net9.0/.config/dotnet-tools.json
+++ b/tests/script-runner/net9.0/.config/dotnet-tools.json
@@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
- "version": "4.0.0",
+ "version": "5.0.0",
"commands": [
"dotnet-cake"
]
From 7d6e92c6b13bddd1caba2436537e02d4d69d1f0a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 14 Nov 2024 10:13:57 +0000
Subject: [PATCH 31/51] Update dependency dotnet-sdk to v8.0.404 (#493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
.appveyor.yml | 2 +-
tests/frosting/net8.0/global.json | 2 +-
tests/script-runner/net8.0/global.json | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.appveyor.yml b/.appveyor.yml
index 7273aaf7..70d0f080 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -11,7 +11,7 @@ install:
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
- - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.401 -InstallDir $env:DOTNET_INSTALL_DIR'
+ - ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 8.0.404 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 9.0.100 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info
diff --git a/tests/frosting/net8.0/global.json b/tests/frosting/net8.0/global.json
index a83ed4da..db28d4c7 100644
--- a/tests/frosting/net8.0/global.json
+++ b/tests/frosting/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.403",
+ "version": "8.0.404",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
diff --git a/tests/script-runner/net8.0/global.json b/tests/script-runner/net8.0/global.json
index a83ed4da..db28d4c7 100644
--- a/tests/script-runner/net8.0/global.json
+++ b/tests/script-runner/net8.0/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
"allowPrerelease": true,
- "version": "8.0.403",
+ "version": "8.0.404",
"rollForward": "latestFeature"
}
}
\ No newline at end of file
From ab33ed976846efd01f89955476ac76d204a036b6 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Thu, 14 Nov 2024 23:44:22 +0100
Subject: [PATCH 32/51] Build separate addin for Cake.Frosting (#499)
---
.../nuget}/3rdPartyLicense.txt | 0
nuspec/nuget/Cake.AzureDevOps.nuspec | 46 ++++++++++++
nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec | 46 ++++++++++++
.../nuget/Cake.Frosting.AzureDevOps.targets | 11 +++
.../nuget}/icon.png | Bin
recipe.cake | 1 -
src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 68 ------------------
7 files changed, 103 insertions(+), 69 deletions(-)
rename {src/Cake.AzureDevOps => nuspec/nuget}/3rdPartyLicense.txt (100%)
create mode 100644 nuspec/nuget/Cake.AzureDevOps.nuspec
create mode 100644 nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
create mode 100644 nuspec/nuget/Cake.Frosting.AzureDevOps.targets
rename {src/Cake.AzureDevOps => nuspec/nuget}/icon.png (100%)
diff --git a/src/Cake.AzureDevOps/3rdPartyLicense.txt b/nuspec/nuget/3rdPartyLicense.txt
similarity index 100%
rename from src/Cake.AzureDevOps/3rdPartyLicense.txt
rename to nuspec/nuget/3rdPartyLicense.txt
diff --git a/nuspec/nuget/Cake.AzureDevOps.nuspec b/nuspec/nuget/Cake.AzureDevOps.nuspec
new file mode 100644
index 00000000..61f1f97f
--- /dev/null
+++ b/nuspec/nuget/Cake.AzureDevOps.nuspec
@@ -0,0 +1,46 @@
+
+
+
+ Cake.AzureDevOps
+ Cake.AzureDevOps
+ 0.0.0
+ Pascal Berger
+ pascalberger
+ Addin for the Cake build automation system for working with Azure DevOps
+
+Addin for the Cake build automation system for working with Azure DevOps.
+
+NOTE:
+This is the version of the addin compatible with Cake Script Runners.
+For addin compatible with Cake Frosting see Cake.Frosting.AzureDevOps.
+
+ MIT
+ http://cake-contrib.github.io/Cake.AzureDevOps/
+ icon.png
+ false
+
+ Copyright © Pascal Berger
+ cake cake-addin azure-devops azure-devops-server
+ https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/5.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
new file mode 100644
index 00000000..33d16bb4
--- /dev/null
+++ b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
@@ -0,0 +1,46 @@
+
+
+
+ Cake.Frosting.AzureDevOps
+ Cake.Frosting.AzureDevOps
+ 0.0.0
+ Pascal Berger
+ pascalberger
+ Addin for the Cake build automation system for working with Azure DevOps
+
+Addin for the Cake build automation system for working with Azure DevOps.
+
+NOTE:
+This is the version of the addin compatible with Cake Frosting.
+For addin compatible with Cake Script Runners see Cake.AzureDevOps.
+
+ MIT
+ http://cake-contrib.github.io/Cake.AzureDevOps/
+ icon.png
+ false
+
+ Copyright © Pascal Berger
+ cake cake-addin azure-devops azure-devops-server
+ https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/5.0.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/nuspec/nuget/Cake.Frosting.AzureDevOps.targets b/nuspec/nuget/Cake.Frosting.AzureDevOps.targets
new file mode 100644
index 00000000..dd89fd90
--- /dev/null
+++ b/nuspec/nuget/Cake.Frosting.AzureDevOps.targets
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/icon.png b/nuspec/nuget/icon.png
similarity index 100%
rename from src/Cake.AzureDevOps/icon.png
rename to nuspec/nuget/icon.png
diff --git a/recipe.cake b/recipe.cake
index 9909382e..551671f4 100644
--- a/recipe.cake
+++ b/recipe.cake
@@ -11,7 +11,6 @@ BuildParameters.SetParameters(
repositoryName: "Cake.AzureDevOps",
appVeyorAccountName: "cakecontrib",
shouldCalculateVersion: true,
- shouldRunDotNetCorePack: true,
shouldGenerateDocumentation: false, // Fails to restore tool on AppVeyor
shouldRunCoveralls: false, // Fails to restore tool on AppVeyor
shouldRunCodecov: false); // Fails to restore tool on AppVeyor
diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
index eff19495..b62b4706 100644
--- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
+++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
@@ -16,13 +16,6 @@
Addin for the Cake build automation system for working with Azure DevOps.
Pascal Berger
Copyright © Pascal Berger
- cake cake-addin azure-devops azure-devops-server
- icon.png
- http://cake-contrib.github.io/Cake.AzureDevOps/
- MIT
- git
- https://github.com/cake-contrib/Cake.AzureDevOps.git
- https://github.com/cake-contrib/Cake.AzureDevOps/releases/tag/$(Version)
true
false
$(TargetsForTfmSpecificContentInPackage);PackBuildOutputs
@@ -45,65 +38,4 @@
-
-
-
-
-
-
-
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
- lib\$(TargetFramework)\
-
-
-
From fab62c1ccf3adfea73f879409f212aed49821100 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Fri, 15 Nov 2024 00:16:01 +0100
Subject: [PATCH 33/51] Update to Cake.Recipe 4 Alpha (#501)
---
.config/dotnet-tools.json | 2 +-
recipe.cake | 6 +-----
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index 4903ba5f..dd76b6d1 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
- "version": "1.3.0",
+ "version": "2.3.0",
"commands": [
"dotnet-cake"
]
diff --git a/recipe.cake b/recipe.cake
index 551671f4..5fa63f26 100644
--- a/recipe.cake
+++ b/recipe.cake
@@ -1,4 +1,4 @@
-#load nuget:?package=Cake.Recipe&version=3.1.1
+#load nuget:https://pkgs.dev.azure.com/cake-contrib/Home/_packaging/addins/nuget/v3/index.json?package=Cake.Recipe&version=4.0.0-alpha0126
Environment.SetVariableNames();
@@ -10,7 +10,6 @@ BuildParameters.SetParameters(
repositoryOwner: "cake-contrib",
repositoryName: "Cake.AzureDevOps",
appVeyorAccountName: "cakecontrib",
- shouldCalculateVersion: true,
shouldGenerateDocumentation: false, // Fails to restore tool on AppVeyor
shouldRunCoveralls: false, // Fails to restore tool on AppVeyor
shouldRunCodecov: false); // Fails to restore tool on AppVeyor
@@ -23,7 +22,4 @@ ToolSettings.SetToolSettings(
testCoverageExcludeByAttribute: "*.ExcludeFromCodeCoverage*",
testCoverageExcludeByFile: "*/*Designer.cs;*/*.g.cs;*/*.g.i.cs");
-// Disable Upload-Coveralls-Report task since it fails to install the tool on AppVeyor
-BuildParameters.Tasks.UploadCoverallsReportTask.WithCriteria(() => false);
-
Build.RunDotNetCore();
From 8d661a4b1f2e47570c93c4323eb08b41f0de9cbe Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Fri, 15 Nov 2024 00:30:04 +0100
Subject: [PATCH 34/51] Enable deterministic builds (#500)
---
recipe.cake | 1 +
1 file changed, 1 insertion(+)
diff --git a/recipe.cake b/recipe.cake
index 5fa63f26..27fecc99 100644
--- a/recipe.cake
+++ b/recipe.cake
@@ -10,6 +10,7 @@ BuildParameters.SetParameters(
repositoryOwner: "cake-contrib",
repositoryName: "Cake.AzureDevOps",
appVeyorAccountName: "cakecontrib",
+ shouldUseDeterministicBuilds: true,
shouldGenerateDocumentation: false, // Fails to restore tool on AppVeyor
shouldRunCoveralls: false, // Fails to restore tool on AppVeyor
shouldRunCodecov: false); // Fails to restore tool on AppVeyor
From 6fa87e907395953b4ffe360fc195fd3717683611 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 15 Nov 2024 00:51:51 +0100
Subject: [PATCH 35/51] Update dependency TfsUrlParser to 1.5.0 (#411)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec | 4 ++--
src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
index 33d16bb4..b4b2cd2d 100644
--- a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
+++ b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
@@ -27,13 +27,13 @@ For addin compatible with Cake Script Runners see Cake.AzureDevOps.
-
+
-
+
diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
index b62b4706..6c1ff3c9 100644
--- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
+++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
@@ -36,6 +36,6 @@
-
+
From 8feaeb045c836856d8341e350f97b3cf5dba1648 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Sat, 16 Nov 2024 20:33:49 +0100
Subject: [PATCH 36/51] Update Azure DevOps Client to v19 (major) (#471)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger
---
nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec | 8 ++++----
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 2 +-
src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
index b4b2cd2d..ab6223c0 100644
--- a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
+++ b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
@@ -25,14 +25,14 @@ For addin compatible with Cake Script Runners see Cake.AzureDevOps.
-
-
+
+
-
-
+
+
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 6b944a2e..ecbb6afc 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
index 6c1ff3c9..8e908e7a 100644
--- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
+++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
@@ -34,8 +34,8 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
+
+
From 1a4812ffe7a9f2edbd9c051610f6055a9479cf6a Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 20:41:54 +0100
Subject: [PATCH 37/51] Update GitReleaseManager config
---
GitReleaseManager.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/GitReleaseManager.yaml b/GitReleaseManager.yaml
index 721c1ba4..f5d7620c 100644
--- a/GitReleaseManager.yaml
+++ b/GitReleaseManager.yaml
@@ -3,6 +3,7 @@ issue-labels-include:
- Feature
- Bug
- Improvement
+- Dependencies
- Documentation
issue-labels-exclude:
- Build
From 61652757548d3f24aaf2fb18a85e660ee9c1642f Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 21:28:57 +0100
Subject: [PATCH 38/51] Use ThrowIfEqual (CA1512)
---
src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs b/src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs
index 8baf27e1..5d7b4d12 100644
--- a/src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs
+++ b/src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs
@@ -18,10 +18,7 @@ public abstract class BaseAzureDevOpsProjectSettings : BaseAzureDevOpsCollection
protected BaseAzureDevOpsProjectSettings(Uri collectionUrl, Guid projectGuid, IAzureDevOpsCredentials credentials)
: base(collectionUrl, credentials)
{
- if (projectGuid == Guid.Empty)
- {
- throw new ArgumentOutOfRangeException(nameof(projectGuid));
- }
+ ArgumentOutOfRangeException.ThrowIfEqual(projectGuid, Guid.Empty);
this.ProjectGuid = projectGuid;
}
From fa5a86bbb7f5a0f9b8525d1011d6ffb36bc23fd1 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 21:30:27 +0100
Subject: [PATCH 39/51] Use generic overload (CA2263)
---
.../CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs b/src/Cake.AzureDevOps.Tests/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs
index d7f0e3f3..049c19a5 100644
--- a/src/Cake.AzureDevOps.Tests/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs
+++ b/src/Cake.AzureDevOps.Tests/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs
@@ -32,7 +32,7 @@ public void Should_Return_Empty_Comment_Thread()
// Then
thread.ShouldNotBeNull();
- thread.InnerThread.ShouldBeOfType(typeof(GitPullRequestCommentThread));
+ thread.InnerThread.ShouldBeOfType();
thread.Id.ShouldBe(default);
thread.FilePath.ShouldBeNull();
thread.Status.ShouldBe(default);
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
index 6775d400..380175be 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
@@ -687,7 +687,7 @@ private async Task> GetTestResults(
runId,
skip: resultCount,
top: resultsToRead,
- outcomes: filterOutcomesList?.Select(o => (TestOutcome)Enum.Parse(typeof(TestOutcome), o, true)).ToList())
+ outcomes: filterOutcomesList?.Select(o => Enum.Parse(o, true)).ToList())
.ConfigureAwait(false))
.Select(test =>
new AzureDevOpsTestResult
From 9db79198c3d693ece7f8ba9a3bec1ddfed9e13a3 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 21:38:01 +0100
Subject: [PATCH 40/51] Simplify "if" statements (IDE0045)
---
.../AzureDevOpsAliases.Pipelines.cs | 7 +-
.../AzureDevOpsAliases.PullRequest.cs | 7 +-
.../AzureDevOpsAliases.WorkItemTracking.cs | 7 +-
.../WorkItemTracking/AzureDevOpsWorkItem.cs | 200 ++----------------
.../EnvironmentVariableHelper.cs | 40 ++--
.../Pipelines/ArtifactResourceExtensions.cs | 12 +-
.../Pipelines/AzureDevOpsBuild.cs | 110 ++--------
.../AzureDevOpsCreatePullRequestSettings.cs | 13 +-
.../PullRequest/AzureDevOpsPullRequest.cs | 126 ++---------
.../AzureDevOpsPullRequestSettings.cs | 11 +-
.../AzureDevOpsPullRequestCommentThread.cs | 53 ++---
11 files changed, 96 insertions(+), 490 deletions(-)
diff --git a/src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs b/src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs
index 01744f53..c75922ed 100644
--- a/src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs
+++ b/src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs
@@ -50,12 +50,7 @@ public static AzureDevOpsBuild AzureDevOpsBuild(
var build = new AzureDevOpsBuild(context.Log, settings, new BuildClientFactory(), new TestManagementClientFactory(), new WorkItemTrackingClientFactory());
- if (build.HasBuildLoaded)
- {
- return build;
- }
-
- return null;
+ return build.HasBuildLoaded ? build : null;
}
///
diff --git a/src/Cake.AzureDevOps/AzureDevOpsAliases.PullRequest.cs b/src/Cake.AzureDevOps/AzureDevOpsAliases.PullRequest.cs
index a6a1e986..65c644d3 100644
--- a/src/Cake.AzureDevOps/AzureDevOpsAliases.PullRequest.cs
+++ b/src/Cake.AzureDevOps/AzureDevOpsAliases.PullRequest.cs
@@ -52,12 +52,7 @@ public static AzureDevOpsPullRequest AzureDevOpsPullRequest(
var pullRequest = new AzureDevOpsPullRequest(context.Log, settings, new GitClientFactory());
- if (pullRequest.HasPullRequestLoaded)
- {
- return pullRequest;
- }
-
- return null;
+ return pullRequest.HasPullRequestLoaded ? pullRequest : null;
}
///
diff --git a/src/Cake.AzureDevOps/AzureDevOpsAliases.WorkItemTracking.cs b/src/Cake.AzureDevOps/AzureDevOpsAliases.WorkItemTracking.cs
index f78528dd..d68ce8dd 100644
--- a/src/Cake.AzureDevOps/AzureDevOpsAliases.WorkItemTracking.cs
+++ b/src/Cake.AzureDevOps/AzureDevOpsAliases.WorkItemTracking.cs
@@ -48,12 +48,7 @@ public static AzureDevOpsWorkItem AzureDevOpsWorkItem(
var workItem = new AzureDevOpsWorkItem(context.Log, settings, new WorkItemTrackingClientFactory());
- if (workItem.HasWorkItemLoaded)
- {
- return workItem;
- }
-
- return null;
+ return workItem.HasWorkItemLoaded ? workItem : null;
}
///
diff --git a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs
index 10d2dfff..b0a96164 100644
--- a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs
+++ b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs
@@ -148,18 +148,7 @@ internal AzureDevOpsWorkItem(
///
/// If work item could not be found and
/// is set to true.
- public int WorkItemId
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return 0;
- }
-
- return this.workItem.Id ?? 0;
- }
- }
+ public int WorkItemId => this.ValidateWorkItem() ? this.workItem.Id ?? 0 : 0;
///
/// Gets the title of the work item.
@@ -168,18 +157,7 @@ public int WorkItemId
///
/// If work item could not be found and
/// is set to true.
- public string Title
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return string.Empty;
- }
-
- return this.GetField("System.Title");
- }
- }
+ public string Title => this.ValidateWorkItem() ? this.GetField("System.Title") : string.Empty;
///
/// Gets the description of the work item.
@@ -188,18 +166,7 @@ public string Title
///
/// If work item could not be found and
/// is set to true.
- public string Description
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return string.Empty;
- }
-
- return this.GetField("System.Description");
- }
- }
+ public string Description => this.ValidateWorkItem() ? this.GetField("System.Description") : string.Empty;
///
/// Gets the area path of the work item.
@@ -208,18 +175,7 @@ public string Description
///
/// If work item could not be found and
/// is set to true.
- public string AreaPath
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return string.Empty;
- }
-
- return this.GetField("System.AreaPath");
- }
- }
+ public string AreaPath => this.ValidateWorkItem() ? this.GetField("System.AreaPath") : string.Empty;
///
/// Gets the team project name of the work item.
@@ -228,18 +184,7 @@ public string AreaPath
///
/// If work item could not be found and
/// is set to true.
- public string TeamProject
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return string.Empty;
- }
-
- return this.GetField("System.TeamProject");
- }
- }
+ public string TeamProject => this.ValidateWorkItem() ? this.GetField("System.TeamProject") : string.Empty;
///
/// Gets the iteration path of the work item.
@@ -248,18 +193,7 @@ public string TeamProject
///
/// If work item could not be found and
/// is set to true.
- public string IterationPath
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return string.Empty;
- }
-
- return this.GetField("System.IterationPath");
- }
- }
+ public string IterationPath => this.ValidateWorkItem() ? this.GetField("System.IterationPath") : string.Empty;
///
/// Gets the type of the work item.
@@ -268,18 +202,7 @@ public string IterationPath
///
/// If work item could not be found and
/// is set to true.
- public string WorkItemType
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return string.Empty;
- }
-
- return this.GetField("System.WorkItemType");
- }
- }
+ public string WorkItemType => this.ValidateWorkItem() ? this.GetField("System.WorkItemType") : string.Empty;
///
/// Gets the state of the work item.
@@ -288,18 +211,7 @@ public string WorkItemType
///
/// If work item could not be found and
/// is set to true.
- public string State
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return string.Empty;
- }
-
- return this.GetField("System.State");
- }
- }
+ public string State => this.ValidateWorkItem() ? this.GetField("System.State") : string.Empty;
///
/// Gets the reason of the state of the work item.
@@ -308,18 +220,7 @@ public string State
///
/// If work item could not be found and
/// is set to true.
- public string Reason
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return string.Empty;
- }
-
- return this.GetField("System.Reason");
- }
- }
+ public string Reason => this.ValidateWorkItem() ? this.GetField("System.Reason") : string.Empty;
///
/// Gets the create date of the work item.
@@ -328,18 +229,7 @@ public string Reason
///
/// If work item could not be found and
/// is set to true.
- public DateTime CreateDate
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return DateTime.MinValue;
- }
-
- return this.GetFieldAsDate("System.CreatedDate");
- }
- }
+ public DateTime CreateDate => this.ValidateWorkItem() ? this.GetFieldAsDate("System.CreatedDate") : DateTime.MinValue;
///
/// Gets the modify date of the work item.
@@ -348,18 +238,7 @@ public DateTime CreateDate
///
/// If work item could not be found and
/// is set to true.
- public DateTime ChangeDate
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return DateTime.MinValue;
- }
-
- return this.GetFieldAsDate("System.ChangedDate");
- }
- }
+ public DateTime ChangeDate => this.ValidateWorkItem() ? this.GetFieldAsDate("System.ChangedDate") : DateTime.MinValue;
///
/// Gets the tags of the work item.
@@ -368,18 +247,9 @@ public DateTime ChangeDate
///
/// If work item could not be found and
/// is set to true.
- public IEnumerable Tags
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return Array.Empty();
- }
-
- return this.GetField("System.Tags").Split("; ", StringSplitOptions.RemoveEmptyEntries);
- }
- }
+ public IEnumerable Tags => this.ValidateWorkItem()
+ ? (IEnumerable)this.GetField("System.Tags").Split("; ", StringSplitOptions.RemoveEmptyEntries)
+ : Array.Empty();
///
/// Gets the id of the parent work item.
@@ -388,18 +258,7 @@ public IEnumerable Tags
///
/// If work item could not be found and
/// is set to true.
- public int ParentWorkItemId
- {
- get
- {
- if (!this.ValidateWorkItem())
- {
- return 0;
- }
-
- return this.GetFieldAsInt("System.Parent");
- }
- }
+ public int ParentWorkItemId => this.ValidateWorkItem() ? this.GetFieldAsInt("System.Parent") : 0;
///
/// Gets the parent work item or null of no parent exists.
@@ -445,38 +304,17 @@ private bool ValidateWorkItem()
private string GetField(string fieldName)
{
- if (this.workItem.Fields.TryGetValue(fieldName, out var field))
- {
- return field.ToString();
- }
- else
- {
- return string.Empty;
- }
+ return this.workItem.Fields.TryGetValue(fieldName, out var field) ? field.ToString() : string.Empty;
}
private DateTime GetFieldAsDate(string fieldName)
{
- if (this.workItem.Fields.TryGetValue(fieldName, out var field))
- {
- return (DateTime)field;
- }
- else
- {
- return DateTime.MinValue;
- }
+ return this.workItem.Fields.TryGetValue(fieldName, out var field) ? (DateTime)field : DateTime.MinValue;
}
private int GetFieldAsInt(string fieldName)
{
- if (this.workItem.Fields.TryGetValue(fieldName, out var field))
- {
- return Convert.ToInt32(field);
- }
- else
- {
- return 0;
- }
+ return this.workItem.Fields.TryGetValue(fieldName, out var field) ? Convert.ToInt32(field) : 0;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/EnvironmentVariableHelper.cs b/src/Cake.AzureDevOps/EnvironmentVariableHelper.cs
index 40ded4cd..e93e1433 100644
--- a/src/Cake.AzureDevOps/EnvironmentVariableHelper.cs
+++ b/src/Cake.AzureDevOps/EnvironmentVariableHelper.cs
@@ -15,13 +15,10 @@ internal static class EnvironmentVariableHelper
public static string GetSystemAccessToken()
{
var accessToken = Environment.GetEnvironmentVariable("SYSTEM_ACCESSTOKEN", EnvironmentVariableTarget.Process);
- if (string.IsNullOrWhiteSpace(accessToken))
- {
- throw new InvalidOperationException(
+ return !string.IsNullOrWhiteSpace(accessToken)
+ ? accessToken
+ : throw new InvalidOperationException(
"Failed to read the SYSTEM_ACCESSTOKEN environment variable. Make sure you are running in an Azure Pipelines build and that the 'Allow Scripts to access OAuth token' option is enabled.");
- }
-
- return accessToken;
}
///
@@ -32,13 +29,10 @@ public static string GetSystemAccessToken()
public static Uri GetSystemTeamFoundationCollectionUri()
{
var collectionUrl = Environment.GetEnvironmentVariable("SYSTEM_TEAMFOUNDATIONCOLLECTIONURI", EnvironmentVariableTarget.Process);
- if (string.IsNullOrWhiteSpace(collectionUrl))
- {
- throw new InvalidOperationException(
- "Failed to read the SYSTEM_TEAMFOUNDATIONCOLLECTIONURI environment variable. Make sure you are running in an Azure Pipelines build.");
- }
-
- return new Uri(collectionUrl);
+ return string.IsNullOrWhiteSpace(collectionUrl)
+ ? throw new InvalidOperationException(
+ "Failed to read the SYSTEM_TEAMFOUNDATIONCOLLECTIONURI environment variable. Make sure you are running in an Azure Pipelines build.")
+ : new Uri(collectionUrl);
}
///
@@ -49,13 +43,10 @@ public static Uri GetSystemTeamFoundationCollectionUri()
public static string GetSystemTeamProject()
{
var projectName = Environment.GetEnvironmentVariable("SYSTEM_TEAMPROJECT", EnvironmentVariableTarget.Process);
- if (string.IsNullOrWhiteSpace(projectName))
- {
- throw new InvalidOperationException(
- "Failed to read the SYSTEM_TEAMPROJECT environment variable. Make sure you are running in an Azure Pipelines build.");
- }
-
- return projectName;
+ return string.IsNullOrWhiteSpace(projectName)
+ ? throw new InvalidOperationException(
+ "Failed to read the SYSTEM_TEAMPROJECT environment variable. Make sure you are running in an Azure Pipelines build.")
+ : projectName;
}
///
@@ -77,12 +68,9 @@ public static int GetBuildId()
throw new InvalidOperationException("BUILD_BUILDID environment variable should contain integer value");
}
- if (buildIdValue <= 0)
- {
- throw new InvalidOperationException("BUILD_BUILDID environment variable should contain integer value and it should be greater than zero");
- }
-
- return buildIdValue;
+ return buildIdValue <= 0
+ ? throw new InvalidOperationException("BUILD_BUILDID environment variable should contain integer value and it should be greater than zero")
+ : buildIdValue;
}
}
}
diff --git a/src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs b/src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs
index f353bd6f..24c07983 100644
--- a/src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs
@@ -18,20 +18,16 @@ public static AzureDevOpsArtifactResource ToAzureDevOpsArtifactResource(this Art
{
artifactResource.NotNull(nameof(artifactResource));
- if (!Enum.TryParse(artifactResource.Type, true, out AzurePipelinesArtifactType type))
- {
- throw new InvalidOperationException($"Unexpected value for artifact type '{artifactResource.Type}'");
- }
-
- return
- new AzureDevOpsArtifactResource
+ return Enum.TryParse(artifactResource.Type, true, out AzurePipelinesArtifactType type)
+ ? new AzureDevOpsArtifactResource
{
Data = artifactResource.Data,
DownloadUrl = artifactResource.DownloadUrl,
Type = type,
Url = artifactResource.Url,
Properties = artifactResource.Properties,
- };
+ }
+ : throw new InvalidOperationException($"Unexpected value for artifact type '{artifactResource.Type}'");
}
}
}
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
index 380175be..cc655529 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
@@ -162,18 +162,7 @@ internal AzureDevOpsBuild(
///
/// If build could not be found and
/// is set to true.
- public Guid ProjectId
- {
- get
- {
- if (!this.ValidateBuild())
- {
- return Guid.Empty;
- }
-
- return this.build.Project.Id;
- }
- }
+ public Guid ProjectId => this.ValidateBuild() ? this.build.Project.Id : Guid.Empty;
///
/// Gets the name of the Azure DevOps project.
@@ -182,18 +171,7 @@ public Guid ProjectId
///
/// If build could not be found and
/// is set to true.
- public string ProjectName
- {
- get
- {
- if (!this.ValidateBuild())
- {
- return string.Empty;
- }
-
- return this.build.Project.Name;
- }
- }
+ public string ProjectName => this.ValidateBuild() ? this.build.Project.Name : string.Empty;
///
/// Gets the name of the Git repository.
@@ -202,18 +180,7 @@ public string ProjectName
///
/// If build could not be found and
/// is set to true.
- public string RepositoryName
- {
- get
- {
- if (!this.ValidateBuild())
- {
- return string.Empty;
- }
-
- return this.build.Repository.Name;
- }
- }
+ public string RepositoryName => this.ValidateBuild() ? this.build.Repository.Name : string.Empty;
///
/// Gets the ID of the repository.
@@ -222,18 +189,7 @@ public string RepositoryName
///
/// If build could not be found and
/// is set to true.
- public Guid RepositoryId
- {
- get
- {
- if (!this.ValidateBuild())
- {
- return Guid.Empty;
- }
-
- return new Guid(this.build.Repository.Id);
- }
- }
+ public Guid RepositoryId => this.ValidateBuild() ? new Guid(this.build.Repository.Id) : Guid.Empty;
///
/// Gets the ID of the build.
@@ -242,18 +198,7 @@ public Guid RepositoryId
///
/// If build could not be found and
/// is set to true.
- public int BuildId
- {
- get
- {
- if (!this.ValidateBuild())
- {
- return 0;
- }
-
- return this.build.Id;
- }
- }
+ public int BuildId => this.ValidateBuild() ? this.build.Id : 0;
///
/// Gets the status of the build.
@@ -262,18 +207,10 @@ public int BuildId
///
/// If build could not be found and
/// is set to true.
- public AzureDevOpsBuildStatus? Status
- {
- get
- {
- if (!this.ValidateBuild())
- {
- return 0;
- }
-
- return this.build.Status?.ToAzureDevOpsBuildStatus();
- }
- }
+ public AzureDevOpsBuildStatus? Status =>
+ this.ValidateBuild()
+ ? this.build.Status?.ToAzureDevOpsBuildStatus()
+ : (AzureDevOpsBuildStatus?)0;
///
/// Gets the result of the build.
@@ -286,18 +223,10 @@ public AzureDevOpsBuildStatus? Status
///
/// If build could not be found and
/// is set to true.
- public AzureDevOpsBuildResult? Result
- {
- get
- {
- if (!this.ValidateBuild())
- {
- return 0;
- }
-
- return this.build.Result?.ToAzureDevOpsBuildResult();
- }
- }
+ public AzureDevOpsBuildResult? Result =>
+ this.ValidateBuild()
+ ? this.build.Result?.ToAzureDevOpsBuildResult()
+ : (AzureDevOpsBuildResult?)0;
///
/// Gets the finish time of the build.
@@ -306,18 +235,7 @@ public AzureDevOpsBuildResult? Result
///
/// If build could not be found and
/// is set to true.
- public DateTime? FinishTime
- {
- get
- {
- if (!this.ValidateBuild())
- {
- return null;
- }
-
- return this.build.FinishTime;
- }
- }
+ public DateTime? FinishTime => this.ValidateBuild() ? this.build.FinishTime : null;
///
/// Gets the parameters passed to the build.
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs
index d50d9aaf..f3307a3a 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs
@@ -76,20 +76,17 @@ public static AzureDevOpsCreatePullRequestSettings UsingAzurePipelinesOAuthToken
{
var accessToken = Environment.GetEnvironmentVariable("SYSTEM_ACCESSTOKEN", EnvironmentVariableTarget.Process);
- if (string.IsNullOrWhiteSpace(accessToken))
- {
- throw new InvalidOperationException(
- "Failed to read the SYSTEM_ACCESSTOKEN environment variable. Make sure you are running in an Azure Pipelines build and that the 'Allow Scripts to access OAuth token' option is enabled.");
- }
-
return
- new AzureDevOpsCreatePullRequestSettings(
+ !string.IsNullOrWhiteSpace(accessToken)
+ ? new AzureDevOpsCreatePullRequestSettings(
repositoryUrl,
sourceRefName,
targetRefName,
title,
description,
- new AzureDevOpsOAuthCredentials(accessToken));
+ new AzureDevOpsOAuthCredentials(accessToken))
+ : throw new InvalidOperationException(
+ "Failed to read the SYSTEM_ACCESSTOKEN environment variable. Make sure you are running in an Azure Pipelines build and that the 'Allow Scripts to access OAuth token' option is enabled.");
}
}
}
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
index a287930d..63b5ecd6 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
@@ -171,18 +171,7 @@ internal AzureDevOpsPullRequest(ICakeLog log, AzureDevOpsPullRequestSettings set
///
/// If pull request could not be found and
/// is set to true.
- public Guid RepositoryId
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return Guid.Empty;
- }
-
- return this.pullRequest.Repository.Id;
- }
- }
+ public Guid RepositoryId => this.ValidatePullRequest() ? this.pullRequest.Repository.Id : Guid.Empty;
///
/// Gets the ID of the pull request.
@@ -191,18 +180,7 @@ public Guid RepositoryId
///
/// If pull request could not be found and
/// is set to true.
- public int PullRequestId
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return 0;
- }
-
- return this.pullRequest.PullRequestId;
- }
- }
+ public int PullRequestId => this.ValidatePullRequest() ? this.pullRequest.PullRequestId : 0;
///
/// Gets if the pull request is in draft mode.
@@ -211,18 +189,7 @@ public int PullRequestId
///
/// If pull request could not be found and
/// is set to true.
- public bool? IsDraft
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return null;
- }
-
- return this.pullRequest.IsDraft;
- }
- }
+ public bool? IsDraft => this.ValidatePullRequest() ? this.pullRequest.IsDraft : null;
///
/// Gets the status of the pull request.
@@ -231,18 +198,10 @@ public bool? IsDraft
///
/// If pull request could not be found and
/// is set to true.
- public AzureDevOpsPullRequestState PullRequestStatus
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return AzureDevOpsPullRequestState.NotSet;
- }
-
- return this.pullRequest.Status.ToAzureDevOpsPullRequestState();
- }
- }
+ public AzureDevOpsPullRequestState PullRequestStatus =>
+ this.ValidatePullRequest()
+ ? this.pullRequest.Status.ToAzureDevOpsPullRequestState()
+ : AzureDevOpsPullRequestState.NotSet;
///
/// Gets the ID of the code review.
@@ -251,18 +210,7 @@ public AzureDevOpsPullRequestState PullRequestStatus
///
/// If pull request could not be found and
/// is set to true.
- public int CodeReviewId
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return 0;
- }
-
- return this.pullRequest.CodeReviewId;
- }
- }
+ public int CodeReviewId => this.ValidatePullRequest() ? this.pullRequest.CodeReviewId : 0;
///
/// Gets the name of the source branch from the pull request.
@@ -271,18 +219,7 @@ public int CodeReviewId
/// is set to false..
/// If pull request could not be found and
/// is set to true.
- public string SourceRefName
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return string.Empty;
- }
-
- return this.pullRequest.SourceRefName;
- }
- }
+ public string SourceRefName => this.ValidatePullRequest() ? this.pullRequest.SourceRefName : string.Empty;
///
/// Gets the name of the target branch.
@@ -291,18 +228,7 @@ public string SourceRefName
///
/// If pull request could not be found and
/// is set to true.
- public string TargetRefName
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return string.Empty;
- }
-
- return this.pullRequest.TargetRefName;
- }
- }
+ public string TargetRefName => this.ValidatePullRequest() ? this.pullRequest.TargetRefName : string.Empty;
///
/// Gets the commit at the head of the source branch at the time of the last pull request merge.
@@ -311,18 +237,10 @@ public string TargetRefName
///
/// If pull request could not be found and
/// is set to true.
- public string LastSourceCommitId
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return string.Empty;
- }
-
- return this.pullRequest.LastMergeSourceCommit.CommitId;
- }
- }
+ public string LastSourceCommitId =>
+ this.ValidatePullRequest()
+ ? this.pullRequest.LastMergeSourceCommit.CommitId
+ : string.Empty;
///
/// Gets the commit at the head of the target branch at the time of the last pull request merge.
@@ -331,18 +249,10 @@ public string LastSourceCommitId
///
/// If pull request could not be found and
/// is set to true.
- public string LastTargetCommitId
- {
- get
- {
- if (!this.ValidatePullRequest())
- {
- return string.Empty;
- }
-
- return this.pullRequest.LastMergeTargetCommit.CommitId;
- }
- }
+ public string LastTargetCommitId =>
+ this.ValidatePullRequest()
+ ? this.pullRequest.LastMergeTargetCommit.CommitId
+ : string.Empty;
///
/// Create a pull request.
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
index f4805b3c..e153c2e9 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
@@ -150,13 +150,10 @@ private static (bool valid, string accessToken) RetrieveAzurePipelinesVariables(
var accessToken = Environment.GetEnvironmentVariable("SYSTEM_ACCESSTOKEN", EnvironmentVariableTarget.Process);
if (string.IsNullOrWhiteSpace(accessToken))
{
- if (!throwExceptionIfVariablesDontExist)
- {
- return (false, null);
- }
-
- throw new InvalidOperationException(
- "Failed to read the SYSTEM_ACCESSTOKEN environment variable. Make sure you are running in an Azure Pipelines build and that the 'Allow Scripts to access OAuth token' option is enabled.");
+ return throwExceptionIfVariablesDontExist
+ ? throw new InvalidOperationException(
+ "Failed to read the SYSTEM_ACCESSTOKEN environment variable. Make sure you are running in an Azure Pipelines build and that the 'Allow Scripts to access OAuth token' option is enabled.")
+ : ((bool Valid, string AccessToken))(false, null);
}
return (true, accessToken);
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThread.cs b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThread.cs
index 92f0a849..37b816aa 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThread.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThread.cs
@@ -80,15 +80,9 @@ public FilePath FilePath
///
public int? LineNumber
{
- get
- {
- if (this.InnerThread.ThreadContext?.RightFileStart != null)
- {
- return this.InnerThread.ThreadContext?.RightFileStart.Line;
- }
-
- return null;
- }
+ get => this.InnerThread.ThreadContext?.RightFileStart != null
+ ? this.InnerThread.ThreadContext?.RightFileStart.Line
+ : null;
init
{
@@ -107,15 +101,9 @@ public int? LineNumber
///
public int? Offset
{
- get
- {
- if (this.InnerThread.ThreadContext?.RightFileStart != null)
- {
- return this.InnerThread.ThreadContext?.RightFileStart.Offset;
- }
-
- return null;
- }
+ get => this.InnerThread.ThreadContext?.RightFileStart != null
+ ? this.InnerThread.ThreadContext?.RightFileStart.Offset
+ : null;
init
{
@@ -133,26 +121,20 @@ public int? Offset
///
public IEnumerable Comments
{
- get
- {
- if (this.InnerThread.Comments == null)
- {
- throw new InvalidOperationException("Comments list is not created.");
- }
-
- return this.InnerThread.Comments.Select(x => new AzureDevOpsComment(x, this.InnerThread.Id));
- }
+ get => this.InnerThread.Comments == null
+ ? throw new InvalidOperationException("Comments list is not created.")
+ : this.InnerThread.Comments.Select(x => new AzureDevOpsComment(x, this.InnerThread.Id));
init =>
this.InnerThread.Comments =
value?
.Select(c =>
new Comment
- {
- Content = c.Content,
- IsDeleted = c.IsDeleted,
- CommentType = (CommentType)c.CommentType,
- }).ToList();
+ {
+ Content = c.Content,
+ IsDeleted = c.IsDeleted,
+ CommentType = (CommentType)c.CommentType,
+ }).ToList();
}
///
@@ -179,12 +161,7 @@ public T GetValue(string propertyName)
{
propertyName.NotNullOrWhiteSpace(nameof(propertyName));
- if (this.InnerThread.Properties == null)
- {
- return default;
- }
-
- return this.InnerThread.Properties.GetValue(propertyName, default(T));
+ return this.InnerThread.Properties == null ? default : this.InnerThread.Properties.GetValue(propertyName, default(T));
}
///
From 26eb2efeef9642e74b9b8bc76a845e396357183a Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 21:41:00 +0100
Subject: [PATCH 41/51] Update StyleCop Analyzers to 1.2.0-beta.556
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 5 ++++-
src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index ecbb6afc..3f4e1448 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -21,7 +21,10 @@
-
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+
diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
index 8e908e7a..e6a12695 100644
--- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
+++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
@@ -23,7 +23,7 @@
-
+
@@ -33,7 +33,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
From 6365a2f7d77e486a3137bdb11164938b74daad7a Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 21:44:00 +0100
Subject: [PATCH 42/51] Remove spaces after "new" keyword (SA1000)
---
.../Fakes/FakeAllSetBuildClientFactory.cs | 2 +-
.../Fakes/FakeAllSetGitClientFactory.cs | 24 +++++++++----------
.../FakeAllSetTestManagementClientFactory.cs | 14 +++++------
...zureDevOpsPullRequestCommentThreadTests.cs | 4 ++--
.../PullRequest/AzureDevOpsPullRequest.cs | 4 ++--
5 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
index 6d8e6ec8..81757cf8 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
@@ -34,7 +34,7 @@ public override BuildHttpClient CreateBuildClient(Uri collectionUrl, IAzureDevOp
mock.Setup(arg => arg.GetBuildWorkItemsRefsAsync(It.IsAny(), It.IsAny(), It.IsAny(), null, default))
.ReturnsAsync((string _, int _, int? _, object _, CancellationToken _) => new List
{
- new () { Id = "42" },
+ new() { Id = "42" },
});
mock = this.Setup(mock);
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
index ed0b98b0..7aaf151c 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
@@ -105,14 +105,14 @@ protected override Mock Setup(Mock m)
// Setup CommitDiffs object
var gitChanges = new List
{
- new ()
+ new()
{
ChangeId = 1,
ChangeType = VersionControlChangeType.Edit,
Item = new GitItem("/src/project/myclass.cs", "ID1", GitObjectType.Commit, "6b13ff8", 0),
},
null,
- new ()
+ new()
{
ChangeId = 2,
ChangeType = VersionControlChangeType.Edit,
@@ -152,7 +152,7 @@ protected override Mock Setup(Mock m)
// Setup GitPullRequestCommentThread collection
var commentThreads = new List
{
- new ()
+ new()
{
Id = 11,
ThreadContext = new CommentThreadContext()
@@ -161,12 +161,12 @@ protected override Mock Setup(Mock m)
},
Comments =
[
- new () { Content = "Hello", IsDeleted = false, CommentType = CommentType.CodeChange, Id = 1 },
- new () { Content = "Goodbye", IsDeleted = true, CommentType = CommentType.Text, Id = 2 },
+ new() { Content = "Hello", IsDeleted = false, CommentType = CommentType.CodeChange, Id = 1 },
+ new() { Content = "Goodbye", IsDeleted = true, CommentType = CommentType.Text, Id = 2 },
],
Status = CommentThreadStatus.Active,
},
- new ()
+ new()
{
Id = 22,
ThreadContext = null,
@@ -203,8 +203,8 @@ protected override Mock Setup(Mock m)
.ReturnsAsync((Guid _, int _, bool? _, object _, CancellationToken _)
=>
[
- new () { Id = 42, CreatedDate = DateTime.Today.AddDays(-3) },
- new () { Id = 16, CreatedDate = DateTime.Today.AddDays(-1) },
+ new() { Id = 42, CreatedDate = DateTime.Today.AddDays(-3) },
+ new() { Id = 16, CreatedDate = DateTime.Today.AddDays(-1) },
]);
m.Setup(arg => arg.GetPullRequestIterationsAsync(
@@ -216,7 +216,7 @@ protected override Mock Setup(Mock m)
.ReturnsAsync((Guid _, int _, bool? _, object _, CancellationToken _)
=>
[
- new () { Id = null },
+ new() { Id = null },
]);
// Setup GitPullRequestIterationChanges collection
@@ -224,8 +224,8 @@ protected override Mock Setup(Mock m)
{
ChangeEntries =
[
- new () { ChangeId = 100, ChangeTrackingId = 1, Item = new GitItem { Path = "/src/my/class1.cs" } },
- new () { ChangeId = 200, ChangeTrackingId = 2, Item = new GitItem { Path = string.Empty } },
+ new() { ChangeId = 100, ChangeTrackingId = 1, Item = new GitItem { Path = "/src/my/class1.cs" } },
+ new() { ChangeId = 200, ChangeTrackingId = 2, Item = new GitItem { Path = string.Empty } },
],
};
@@ -274,7 +274,7 @@ protected override Mock Setup(Mock m)
CancellationToken.None))
.ReturnsAsync(() =>
[
- new ("master"),
+ new("master"),
]);
m.Setup(
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetTestManagementClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetTestManagementClientFactory.cs
index 158e60a0..ffeb4e12 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetTestManagementClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetTestManagementClientFactory.cs
@@ -22,13 +22,13 @@ public override TestManagementHttpClient CreateTestManagementClient(Uri collecti
{
ResultsForGroup =
[
- new ()
+ new()
{
Results =
[
- new () { Id = 11, TestRun = new ShallowReference { Id = "1" } },
- new () { Id = 12, TestRun = new ShallowReference { Id = "1" } },
- new () { Id = 13, TestRun = new ShallowReference { Id = "1" } },
+ new() { Id = 11, TestRun = new ShallowReference { Id = "1" } },
+ new() { Id = 12, TestRun = new ShallowReference { Id = "1" } },
+ new() { Id = 13, TestRun = new ShallowReference { Id = "1" } },
],
},
],
@@ -40,9 +40,9 @@ public override TestManagementHttpClient CreateTestManagementClient(Uri collecti
var result =
new List
{
- new () { AutomatedTestName = "t1", Outcome = "Passed", ErrorMessage = string.Empty },
- new () { AutomatedTestName = "t2", Outcome = "Failed", ErrorMessage = "Error" },
- new () { AutomatedTestName = "t3", Outcome = "Passed", ErrorMessage = string.Empty },
+ new() { AutomatedTestName = "t1", Outcome = "Passed", ErrorMessage = string.Empty },
+ new() { AutomatedTestName = "t2", Outcome = "Failed", ErrorMessage = "Error" },
+ new() { AutomatedTestName = "t3", Outcome = "Passed", ErrorMessage = string.Empty },
};
if (top.HasValue)
diff --git a/src/Cake.AzureDevOps.Tests/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs b/src/Cake.AzureDevOps.Tests/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs
index 049c19a5..1f78492a 100644
--- a/src/Cake.AzureDevOps.Tests/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs
+++ b/src/Cake.AzureDevOps.Tests/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs
@@ -52,7 +52,7 @@ public void Should_Return_Valid_Comment_Thread()
ThreadContext = new CommentThreadContext { FilePath = "/src/myclass.cs" },
Comments =
[
- new () { Content = "Hello", CommentType = CommentType.Text, IsDeleted = false }
+ new() { Content = "Hello", CommentType = CommentType.Text, IsDeleted = false }
],
Properties = [],
};
@@ -157,7 +157,7 @@ public void Should_Set_Properly()
{
Comments =
[
- new ("hi", false)
+ new("hi", false)
],
};
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
index 63b5ecd6..bb718f29 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
@@ -512,7 +512,7 @@ public AzureDevOpsPullRequestCommentThread CreateComment(string comment)
Status = AzureDevOpsCommentThreadStatus.Active,
Comments =
[
- new ()
+ new()
{
CommentType = AzureDevOpsCommentType.System,
IsDeleted = false,
@@ -547,7 +547,7 @@ public AzureDevOpsPullRequestCommentThread CreateComment(string comment, FilePat
Status = AzureDevOpsCommentThreadStatus.Active,
Comments =
[
- new ()
+ new()
{
CommentType = AzureDevOpsCommentType.System,
IsDeleted = false,
From d92e04355e43183d4c37898f4de0091196af8d9c Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 21:45:05 +0100
Subject: [PATCH 43/51] Fix casing for tuple elements (SA1316)
---
.../Repos/PullRequest/AzureDevOpsPullRequestSettings.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
index e153c2e9..3ca29be7 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
@@ -145,7 +145,7 @@ public static AzureDevOpsPullRequestSettings UsingAzurePipelinesOAuthToken(bool
/// Value indicating whether an exception
/// should be thrown if required environment variables could not be found.
/// Tuple containing a flag if variables are valid and the variable values.
- private static (bool valid, string accessToken) RetrieveAzurePipelinesVariables(bool throwExceptionIfVariablesDontExist)
+ private static (bool Valid, string AccessToken) RetrieveAzurePipelinesVariables(bool throwExceptionIfVariablesDontExist)
{
var accessToken = Environment.GetEnvironmentVariable("SYSTEM_ACCESSTOKEN", EnvironmentVariableTarget.Process);
if (string.IsNullOrWhiteSpace(accessToken))
From f8840619d05cd6c6b8a8f7936193e0f9a0759fab Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 22:07:15 +0100
Subject: [PATCH 44/51] Remove new line at end of file (SA1316)
---
src/Cake.AzureDevOps.Tests/ArgumentChecksTests.cs | 2 +-
.../Authentication/AuthenticationProviderTests.cs | 2 +-
.../Authentication/AzureDevOpsAadCredentialsTests.cs | 2 +-
.../Authentication/AzureDevOpsBasicCredentialsTests.cs | 2 +-
.../Authentication/AzureDevOpsNtlmCredentialsTests.cs | 2 +-
.../Authentication/AzureDevOpsOAuthCredentialsTests.cs | 2 +-
.../BaseAzureDevOpsCollectionSettingsImpl.cs | 2 +-
.../BaseAzureDevOpsCollectionSettingsTests.cs | 2 +-
.../BaseAzureDevOpsCredentialsSettingsImpl.cs | 2 +-
.../BaseAzureDevOpsCredentialsSettingsTests.cs | 2 +-
.../BaseAzureDevOpsProjectSettingsImpl.cs | 2 +-
.../BaseAzureDevOpsProjectSettingsTests.cs | 2 +-
src/Cake.AzureDevOps.Tests/ExceptionAssertExtensions.cs | 2 +-
.../Fakes/FakeAllSetBuildClientFactory.cs | 2 +-
src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs | 2 +-
.../Fakes/FakeAllSetTestManagementClientFactory.cs | 2 +-
src/Cake.AzureDevOps.Tests/Fakes/FakeBuildClientFactory.cs | 2 +-
src/Cake.AzureDevOps.Tests/Fakes/FakeGitClientFactory.cs | 2 +-
src/Cake.AzureDevOps.Tests/Fakes/FakeNullBuildClientFactory.cs | 2 +-
.../Fakes/FakeNullForMethodsGitClientFactory.cs | 2 +-
src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs | 2 +-
.../Fakes/FakeTestManagementClientFactory.cs | 2 +-
.../Fakes/FakeWorkItemTrackingClientFactory.cs | 2 +-
.../Pipelines/ArtifactResourceExtensionsTests.cs | 2 +-
.../Pipelines/AzureDevOpsBuildSettingsTests.cs | 2 +-
src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsBuildTests.cs | 2 +-
.../Pipelines/AzureDevOpsBuildsSettingsTests.cs | 2 +-
src/Cake.AzureDevOps.Tests/Pipelines/BuildFixture.cs | 2 +-
.../PullRequest/AzureDevOpsCreatePullRequestSettingsTests.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsPullRequestSettingsTests.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsPullRequestTests.cs | 2 +-
.../Repos/PullRequest/BasePullRequestFixture.cs | 2 +-
.../Repos/PullRequest/CommentThread/AzureDevOpsCommentTests.cs | 2 +-
.../CommentThread/AzureDevOpsPullRequestCommentThreadTests.cs | 2 +-
.../Repos/PullRequest/CreatePullRequestFixture.cs | 2 +-
.../Repos/PullRequest/PullRequestFixture.cs | 2 +-
.../Repos/PullRequest/PullRequestStatusExtensionsTests.cs | 2 +-
src/Cake.AzureDevOps/ArgumentChecks.cs | 2 +-
src/Cake.AzureDevOps/Authentication/AuthenticationProvider.cs | 2 +-
.../Authentication/AzureDevOpsAadCredentials.cs | 2 +-
.../Authentication/AzureDevOpsBasicCredentials.cs | 2 +-
.../Authentication/AzureDevOpsCredentialsExtensions.cs | 2 +-
.../Authentication/AzureDevOpsNtlmCredentials.cs | 2 +-
.../Authentication/AzureDevOpsOAuthCredentials.cs | 2 +-
src/Cake.AzureDevOps/Authentication/IAzureDevOpsCredentials.cs | 2 +-
src/Cake.AzureDevOps/AzureDevOpsAliases.Authentication.cs | 2 +-
src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs | 2 +-
src/Cake.AzureDevOps/AzureDevOpsAliases.cs | 2 +-
src/Cake.AzureDevOps/AzureDevOpsException.cs | 2 +-
src/Cake.AzureDevOps/BaseAzureDevOpsCollectionSettings.cs | 2 +-
src/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings.cs | 2 +-
src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs | 2 +-
.../Boards/WorkItemTracking/AzureDevOpsWorkItemException.cs | 2 +-
.../WorkItemTracking/AzureDevOpsWorkItemNotFoundException.cs | 2 +-
.../Boards/WorkItemTracking/AzureDevOpsWorkItemSettings.cs | 2 +-
src/Cake.AzureDevOps/BuildClientFactory.cs | 2 +-
src/Cake.AzureDevOps/EnvironmentVariableHelper.cs | 2 +-
src/Cake.AzureDevOps/GitClientFactory.cs | 2 +-
src/Cake.AzureDevOps/IBuildClientFactory.cs | 2 +-
src/Cake.AzureDevOps/IGitClientFactory.cs | 2 +-
src/Cake.AzureDevOps/ITestManagementClientFactory.cs | 2 +-
src/Cake.AzureDevOps/IWorkItemTrackingClientFactory.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsArtifactResource.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildArtifact.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildDefinition.cs | 2 +-
.../Pipelines/AzureDevOpsBuildNotFoundException.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrder.cs | 2 +-
.../Pipelines/AzureDevOpsBuildQueryOrderExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResult.cs | 2 +-
.../Pipelines/AzureDevOpsBuildResultExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildSettings.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatus.cs | 2 +-
.../Pipelines/AzureDevOpsBuildStatusExtensions.cs | 2 +-
.../Pipelines/AzureDevOpsBuildsDefinitionHelper.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsHelper.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsSettings.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsChange.cs | 2 +-
.../Pipelines/AzureDevOpsDefinitionQueueStatus.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsTaskResult.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestResult.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestRun.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecord.cs | 2 +-
.../Pipelines/AzureDevOpsTimelineRecordState.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/BuildArtifactExtensions.cs | 2 +-
.../Pipelines/BuildDefinitionReferenceExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/BuildResultExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/BuildStatusExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/ChangeExtensions.cs | 2 +-
.../Pipelines/DefinitionQueueStatusExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/TaskResultExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/TimelineRecordExtensions.cs | 2 +-
src/Cake.AzureDevOps/Pipelines/TimelineRecordStateExtensions.cs | 2 +-
src/Cake.AzureDevOps/Repos/AzureDevOpsCommit.cs | 2 +-
src/Cake.AzureDevOps/Repos/GitCommitRefExtensions.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsBranchNotFoundException.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsPullRequest.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsPullRequestIterationChange.cs | 2 +-
.../PullRequest/AzureDevOpsPullRequestNotFoundException.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsPullRequestSettings.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsPullRequestState.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsPullRequestStatus.cs | 2 +-
.../Repos/PullRequest/AzureDevOpsPullRequestStatusState.cs | 2 +-
.../PullRequest/AzureDevOpsPullRequestStatusStateExtensions.cs | 2 +-
.../Repos/PullRequest/BaseAzureDevOpsPullRequestSettings.cs | 2 +-
.../Repos/PullRequest/CommentThread/AzureDevOpsComment.cs | 2 +-
.../PullRequest/CommentThread/AzureDevOpsCommentThreadStatus.cs | 2 +-
.../Repos/PullRequest/CommentThread/AzureDevOpsCommentType.cs | 2 +-
.../CommentThread/AzureDevOpsPullRequestCommentThread.cs | 2 +-
.../Repos/PullRequest/PullRequestStatusExtensions.cs | 2 +-
src/Cake.AzureDevOps/TestManagementClientFactory.cs | 2 +-
src/Cake.AzureDevOps/ValidatedNotNullAttribute.cs | 2 +-
src/Cake.AzureDevOps/WorkItemTrackingClientFactory.cs | 2 +-
115 files changed, 115 insertions(+), 115 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/ArgumentChecksTests.cs b/src/Cake.AzureDevOps.Tests/ArgumentChecksTests.cs
index 05f055b1..0997a44a 100644
--- a/src/Cake.AzureDevOps.Tests/ArgumentChecksTests.cs
+++ b/src/Cake.AzureDevOps.Tests/ArgumentChecksTests.cs
@@ -139,4 +139,4 @@ public void Should_Not_Throw_If_Value_Is_Positive(int value)
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Authentication/AuthenticationProviderTests.cs b/src/Cake.AzureDevOps.Tests/Authentication/AuthenticationProviderTests.cs
index 7582a0cb..98a50348 100644
--- a/src/Cake.AzureDevOps.Tests/Authentication/AuthenticationProviderTests.cs
+++ b/src/Cake.AzureDevOps.Tests/Authentication/AuthenticationProviderTests.cs
@@ -417,4 +417,4 @@ public void Should_Set_Password()
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsAadCredentialsTests.cs b/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsAadCredentialsTests.cs
index b10ed14f..f7b72264 100644
--- a/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsAadCredentialsTests.cs
+++ b/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsAadCredentialsTests.cs
@@ -38,4 +38,4 @@ public void Should_Set_Password_Name(string password)
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsBasicCredentialsTests.cs b/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsBasicCredentialsTests.cs
index 82d6fd35..6d8aaae6 100644
--- a/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsBasicCredentialsTests.cs
+++ b/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsBasicCredentialsTests.cs
@@ -38,4 +38,4 @@ public void Should_Set_Password_Name(string password)
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsNtlmCredentialsTests.cs b/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsNtlmCredentialsTests.cs
index 947a763a..f3b620e4 100644
--- a/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsNtlmCredentialsTests.cs
+++ b/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsNtlmCredentialsTests.cs
@@ -20,4 +20,4 @@ public void Should_Not_Throw()
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsOAuthCredentialsTests.cs b/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsOAuthCredentialsTests.cs
index dde07e9e..128351f2 100644
--- a/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsOAuthCredentialsTests.cs
+++ b/src/Cake.AzureDevOps.Tests/Authentication/AzureDevOpsOAuthCredentialsTests.cs
@@ -62,4 +62,4 @@ public void Should_Set_Access_Token()
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCollectionSettingsImpl.cs b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCollectionSettingsImpl.cs
index d5ed0b9e..b204c053 100644
--- a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCollectionSettingsImpl.cs
+++ b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCollectionSettingsImpl.cs
@@ -20,4 +20,4 @@ public BaseAzureDevOpsCollectionSettingsImpl(IAzureDevOpsCredentials credentials
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCollectionSettingsTests.cs b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCollectionSettingsTests.cs
index 753c0c85..a184f1b6 100644
--- a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCollectionSettingsTests.cs
+++ b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCollectionSettingsTests.cs
@@ -215,4 +215,4 @@ public void Dispose()
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCredentialsSettingsImpl.cs b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCredentialsSettingsImpl.cs
index b9c84e81..c07f68e0 100644
--- a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCredentialsSettingsImpl.cs
+++ b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCredentialsSettingsImpl.cs
@@ -14,4 +14,4 @@ public BaseAzureDevOpsCredentialsSettingsImpl(BaseAzureDevOpsCredentialsSettings
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCredentialsSettingsTests.cs b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCredentialsSettingsTests.cs
index 8d38db54..4767f898 100644
--- a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCredentialsSettingsTests.cs
+++ b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsCredentialsSettingsTests.cs
@@ -70,4 +70,4 @@ public void Should_Set_Credentials()
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsProjectSettingsImpl.cs b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsProjectSettingsImpl.cs
index 0cddca24..9a908421 100644
--- a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsProjectSettingsImpl.cs
+++ b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsProjectSettingsImpl.cs
@@ -25,4 +25,4 @@ public BaseAzureDevOpsProjectSettingsImpl(IAzureDevOpsCredentials credentials)
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsProjectSettingsTests.cs b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsProjectSettingsTests.cs
index 96d5060c..014add6a 100644
--- a/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsProjectSettingsTests.cs
+++ b/src/Cake.AzureDevOps.Tests/BaseAzureDevOpsProjectSettingsTests.cs
@@ -475,4 +475,4 @@ public void Dispose()
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/ExceptionAssertExtensions.cs b/src/Cake.AzureDevOps.Tests/ExceptionAssertExtensions.cs
index 7dd44750..a1a82c12 100644
--- a/src/Cake.AzureDevOps.Tests/ExceptionAssertExtensions.cs
+++ b/src/Cake.AzureDevOps.Tests/ExceptionAssertExtensions.cs
@@ -103,4 +103,4 @@ public static void IsAzureDevOpsBranchNotFoundException(this Exception exception
Assert.Equal(message, exception.Message);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
index 81757cf8..d8aeb737 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
@@ -42,4 +42,4 @@ public override BuildHttpClient CreateBuildClient(Uri collectionUrl, IAzureDevOp
return mock.Object;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
index 7aaf151c..9c20aada 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
@@ -326,4 +326,4 @@ protected override Mock Setup(Mock m)
return m;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetTestManagementClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetTestManagementClientFactory.cs
index ffeb4e12..53e6449a 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetTestManagementClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetTestManagementClientFactory.cs
@@ -58,4 +58,4 @@ public override TestManagementHttpClient CreateTestManagementClient(Uri collecti
return mock.Object;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeBuildClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeBuildClientFactory.cs
index df727dfb..41dc6200 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeBuildClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeBuildClientFactory.cs
@@ -21,4 +21,4 @@ protected Mock Setup(Mock m)
return m;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeGitClientFactory.cs
index 61df4e4f..2dfa41a6 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeGitClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeGitClientFactory.cs
@@ -21,4 +21,4 @@ protected virtual Mock Setup(Mock m)
return m;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullBuildClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullBuildClientFactory.cs
index af5ebffd..b0cafbfa 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullBuildClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullBuildClientFactory.cs
@@ -22,4 +22,4 @@ public override BuildHttpClient CreateBuildClient(Uri collectionUrl, IAzureDevOp
return mock.Object;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs
index a2d96888..d938aaf6 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs
@@ -40,4 +40,4 @@ protected override Mock Setup(Mock m)
return m;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs
index 4ce93f88..3349db3e 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs
@@ -23,4 +23,4 @@ public override GitHttpClient CreateGitClient(Uri collectionUrl, IAzureDevOpsCre
return mock.Object;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeTestManagementClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeTestManagementClientFactory.cs
index 0d1596d4..1c2924bc 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeTestManagementClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeTestManagementClientFactory.cs
@@ -21,4 +21,4 @@ protected Mock Setup(Mock m)
return m;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeWorkItemTrackingClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeWorkItemTrackingClientFactory.cs
index bc1448c8..de657037 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeWorkItemTrackingClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeWorkItemTrackingClientFactory.cs
@@ -21,4 +21,4 @@ protected Mock Setup(Mock
public string Password { get; } = password;
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Authentication/AzureDevOpsCredentialsExtensions.cs b/src/Cake.AzureDevOps/Authentication/AzureDevOpsCredentialsExtensions.cs
index da3a251c..8ed31180 100644
--- a/src/Cake.AzureDevOps/Authentication/AzureDevOpsCredentialsExtensions.cs
+++ b/src/Cake.AzureDevOps/Authentication/AzureDevOpsCredentialsExtensions.cs
@@ -40,4 +40,4 @@ public static VssCredentials ToVssCredentials(this IAzureDevOpsCredentials crede
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Authentication/AzureDevOpsNtlmCredentials.cs b/src/Cake.AzureDevOps/Authentication/AzureDevOpsNtlmCredentials.cs
index adbfbe50..393a5fc0 100644
--- a/src/Cake.AzureDevOps/Authentication/AzureDevOpsNtlmCredentials.cs
+++ b/src/Cake.AzureDevOps/Authentication/AzureDevOpsNtlmCredentials.cs
@@ -6,4 +6,4 @@
public class AzureDevOpsNtlmCredentials : IAzureDevOpsCredentials
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Authentication/AzureDevOpsOAuthCredentials.cs b/src/Cake.AzureDevOps/Authentication/AzureDevOpsOAuthCredentials.cs
index fe766fc3..b0c65f71 100644
--- a/src/Cake.AzureDevOps/Authentication/AzureDevOpsOAuthCredentials.cs
+++ b/src/Cake.AzureDevOps/Authentication/AzureDevOpsOAuthCredentials.cs
@@ -21,4 +21,4 @@ public AzureDevOpsOAuthCredentials(string accessToken)
///
public string AccessToken { get; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Authentication/IAzureDevOpsCredentials.cs b/src/Cake.AzureDevOps/Authentication/IAzureDevOpsCredentials.cs
index a4b7d1d4..be1c81cc 100644
--- a/src/Cake.AzureDevOps/Authentication/IAzureDevOpsCredentials.cs
+++ b/src/Cake.AzureDevOps/Authentication/IAzureDevOpsCredentials.cs
@@ -6,4 +6,4 @@
public interface IAzureDevOpsCredentials
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/AzureDevOpsAliases.Authentication.cs b/src/Cake.AzureDevOps/AzureDevOpsAliases.Authentication.cs
index 0d7e7b08..be0887bf 100644
--- a/src/Cake.AzureDevOps/AzureDevOpsAliases.Authentication.cs
+++ b/src/Cake.AzureDevOps/AzureDevOpsAliases.Authentication.cs
@@ -113,4 +113,4 @@ public static IAzureDevOpsCredentials AzureDevOpsAuthenticationAzureActiveDirect
return AuthenticationProvider.AuthenticationAzureActiveDirectory(userName, password);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs b/src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs
index c75922ed..c8976388 100644
--- a/src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs
+++ b/src/Cake.AzureDevOps/AzureDevOpsAliases.Pipelines.cs
@@ -604,4 +604,4 @@ public static IEnumerable AzureDevOpsBuildDefinition
settings);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/AzureDevOpsAliases.cs b/src/Cake.AzureDevOps/AzureDevOpsAliases.cs
index b5f5e22e..46dfa830 100644
--- a/src/Cake.AzureDevOps/AzureDevOpsAliases.cs
+++ b/src/Cake.AzureDevOps/AzureDevOpsAliases.cs
@@ -9,4 +9,4 @@
public static partial class AzureDevOpsAliases
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/AzureDevOpsException.cs b/src/Cake.AzureDevOps/AzureDevOpsException.cs
index d4c0ba77..1db4e7d5 100644
--- a/src/Cake.AzureDevOps/AzureDevOpsException.cs
+++ b/src/Cake.AzureDevOps/AzureDevOpsException.cs
@@ -37,4 +37,4 @@ public AzureDevOpsException(string message, Exception innerException)
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/BaseAzureDevOpsCollectionSettings.cs b/src/Cake.AzureDevOps/BaseAzureDevOpsCollectionSettings.cs
index 09b28831..bd4995a2 100644
--- a/src/Cake.AzureDevOps/BaseAzureDevOpsCollectionSettings.cs
+++ b/src/Cake.AzureDevOps/BaseAzureDevOpsCollectionSettings.cs
@@ -49,4 +49,4 @@ protected BaseAzureDevOpsCollectionSettings(IAzureDevOpsCredentials credentials)
///
public Uri CollectionUrl { get; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings.cs b/src/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings.cs
index a0dc1e1c..9974c4c3 100644
--- a/src/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings.cs
+++ b/src/Cake.AzureDevOps/BaseAzureDevOpsCredentialsSettings.cs
@@ -35,4 +35,4 @@ protected BaseAzureDevOpsCredentialsSettings(BaseAzureDevOpsCredentialsSettings
///
public IAzureDevOpsCredentials Credentials { get; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs b/src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs
index 5d7b4d12..ed44bdd9 100644
--- a/src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs
+++ b/src/Cake.AzureDevOps/BaseAzureDevOpsProjectSettings.cs
@@ -73,4 +73,4 @@ protected BaseAzureDevOpsProjectSettings(IAzureDevOpsCredentials credentials)
///
public string ProjectName { get; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemException.cs b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemException.cs
index bfd5d8fe..e4976153 100644
--- a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemException.cs
+++ b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemException.cs
@@ -36,4 +36,4 @@ public AzureDevOpsWorkItemException(string message, Exception innerException)
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemNotFoundException.cs b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemNotFoundException.cs
index 870fade6..def2289e 100644
--- a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemNotFoundException.cs
+++ b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemNotFoundException.cs
@@ -45,4 +45,4 @@ public AzureDevOpsWorkItemNotFoundException(string message, Exception innerExcep
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemSettings.cs b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemSettings.cs
index 5b016199..c05d51e1 100644
--- a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemSettings.cs
+++ b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItemSettings.cs
@@ -115,4 +115,4 @@ public static AzureDevOpsWorkItemSettings UsingAzurePipelinesOAuthToken(int work
return new AzureDevOpsWorkItemSettings(workItemId, new AzureDevOpsOAuthCredentials(accessToken));
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/BuildClientFactory.cs b/src/Cake.AzureDevOps/BuildClientFactory.cs
index 99ec7b9f..c1d18dcb 100644
--- a/src/Cake.AzureDevOps/BuildClientFactory.cs
+++ b/src/Cake.AzureDevOps/BuildClientFactory.cs
@@ -27,4 +27,4 @@ public BuildHttpClient CreateBuildClient(Uri collectionUrl, IAzureDevOpsCredenti
throw new AzureDevOpsException("Could not retrieve the BuildHttpClient object");
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/EnvironmentVariableHelper.cs b/src/Cake.AzureDevOps/EnvironmentVariableHelper.cs
index e93e1433..cdaa9fab 100644
--- a/src/Cake.AzureDevOps/EnvironmentVariableHelper.cs
+++ b/src/Cake.AzureDevOps/EnvironmentVariableHelper.cs
@@ -73,4 +73,4 @@ public static int GetBuildId()
: buildIdValue;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/GitClientFactory.cs b/src/Cake.AzureDevOps/GitClientFactory.cs
index 81b2388d..70124962 100644
--- a/src/Cake.AzureDevOps/GitClientFactory.cs
+++ b/src/Cake.AzureDevOps/GitClientFactory.cs
@@ -27,4 +27,4 @@ public GitHttpClient CreateGitClient(Uri collectionUrl, IAzureDevOpsCredentials
throw new AzureDevOpsException("Could not retrieve the GitHttpClient object");
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/IBuildClientFactory.cs b/src/Cake.AzureDevOps/IBuildClientFactory.cs
index ad5895c7..8b37b24e 100644
--- a/src/Cake.AzureDevOps/IBuildClientFactory.cs
+++ b/src/Cake.AzureDevOps/IBuildClientFactory.cs
@@ -27,4 +27,4 @@ internal interface IBuildClientFactory
/// The instance of class.
BuildHttpClient CreateBuildClient(Uri collectionUrl, IAzureDevOpsCredentials credentials, out Identity authorizedIdentity);
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/IGitClientFactory.cs b/src/Cake.AzureDevOps/IGitClientFactory.cs
index fc99b8d0..c67e9dca 100644
--- a/src/Cake.AzureDevOps/IGitClientFactory.cs
+++ b/src/Cake.AzureDevOps/IGitClientFactory.cs
@@ -27,4 +27,4 @@ internal interface IGitClientFactory
/// The instance of class.
GitHttpClient CreateGitClient(Uri collectionUrl, IAzureDevOpsCredentials credentials, out Identity authorizedIdentity);
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/ITestManagementClientFactory.cs b/src/Cake.AzureDevOps/ITestManagementClientFactory.cs
index 39ac6ed8..7b276345 100644
--- a/src/Cake.AzureDevOps/ITestManagementClientFactory.cs
+++ b/src/Cake.AzureDevOps/ITestManagementClientFactory.cs
@@ -28,4 +28,4 @@ internal interface ITestManagementClientFactory
// ReSharper disable once UnusedMemberInSuper.Global
TestManagementHttpClient CreateTestManagementClient(Uri collectionUrl, IAzureDevOpsCredentials credentials, out Identity authorizedIdentity);
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/IWorkItemTrackingClientFactory.cs b/src/Cake.AzureDevOps/IWorkItemTrackingClientFactory.cs
index 41531c29..0906215b 100644
--- a/src/Cake.AzureDevOps/IWorkItemTrackingClientFactory.cs
+++ b/src/Cake.AzureDevOps/IWorkItemTrackingClientFactory.cs
@@ -27,4 +27,4 @@ internal interface IWorkItemTrackingClientFactory
/// The instance of class.
WorkItemTrackingHttpClient CreateWorkItemTrackingClient(Uri collectionUrl, IAzureDevOpsCredentials credentials, out Identity authorizedIdentity);
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs b/src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs
index 24c07983..dd2ada3b 100644
--- a/src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/ArtifactResourceExtensions.cs
@@ -30,4 +30,4 @@ public static AzureDevOpsArtifactResource ToAzureDevOpsArtifactResource(this Art
: throw new InvalidOperationException($"Unexpected value for artifact type '{artifactResource.Type}'");
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsArtifactResource.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsArtifactResource.cs
index 516e650e..88f0b0fe 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsArtifactResource.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsArtifactResource.cs
@@ -34,4 +34,4 @@ public class AzureDevOpsArtifactResource
///
public Dictionary Properties { get; init; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
index cc655529..bf6335f5 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuild.cs
@@ -647,4 +647,4 @@ private bool ValidateBuild()
return false;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildArtifact.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildArtifact.cs
index 248224e6..bfa0805f 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildArtifact.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildArtifact.cs
@@ -21,4 +21,4 @@ public class AzureDevOpsBuildArtifact
///
public AzureDevOpsArtifactResource Resource { get; internal set; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildDefinition.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildDefinition.cs
index ec36b87e..f1aff278 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildDefinition.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildDefinition.cs
@@ -21,4 +21,4 @@ public class AzureDevOpsBuildDefinition
///
public AzureDevOpsDefinitionQueueStatus QueueStatus { get; internal init; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildNotFoundException.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildNotFoundException.cs
index a821fe99..36e5cbc6 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildNotFoundException.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildNotFoundException.cs
@@ -36,4 +36,4 @@ public AzureDevOpsBuildNotFoundException(string message, Exception innerExceptio
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrder.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrder.cs
index aba01da1..da7369ae 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrder.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrder.cs
@@ -35,4 +35,4 @@ public enum AzureDevOpsBuildQueryOrder : byte
///
StartTimeAscending = 7,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrderExtensions.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrderExtensions.cs
index a7fb7b6c..101069c3 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrderExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildQueryOrderExtensions.cs
@@ -27,4 +27,4 @@ public static BuildQueryOrder ToBuildQueryOrder(this AzureDevOpsBuildQueryOrder
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResult.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResult.cs
index a3acaa3c..003bbbe8 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResult.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResult.cs
@@ -30,4 +30,4 @@ public enum AzureDevOpsBuildResult : byte
///
Canceled = 32,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResultExtensions.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResultExtensions.cs
index 6d812a2c..1ffdbec4 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResultExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildResultExtensions.cs
@@ -26,4 +26,4 @@ public static BuildResult ToBuildResult(this AzureDevOpsBuildResult result)
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildSettings.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildSettings.cs
index b4be154a..137f570d 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildSettings.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildSettings.cs
@@ -111,4 +111,4 @@ public static AzureDevOpsBuildSettings UsingAzurePipelinesOAuthToken(int buildId
return new AzureDevOpsBuildSettings(buildId, new AzureDevOpsOAuthCredentials(accessToken));
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatus.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatus.cs
index 88c5a8d9..1e82719f 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatus.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatus.cs
@@ -40,4 +40,4 @@ public enum AzureDevOpsBuildStatus : byte
///
All = 47,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatusExtensions.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatusExtensions.cs
index f6671ed5..b5a4d31d 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatusExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildStatusExtensions.cs
@@ -28,4 +28,4 @@ public static BuildStatus ToBuildStatus(this AzureDevOpsBuildStatus status)
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsDefinitionHelper.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsDefinitionHelper.cs
index 3dfe2d25..44656b5e 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsDefinitionHelper.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsDefinitionHelper.cs
@@ -62,4 +62,4 @@ internal static IEnumerable GetAzureDevOpsBuildDefin
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsHelper.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsHelper.cs
index d96a8c19..85935b31 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsHelper.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsHelper.cs
@@ -139,4 +139,4 @@ private static AzureDevOpsBuildDefinition GetBuildDefinition(
return buildDefinition;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsSettings.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsSettings.cs
index 7743b611..415c9e8b 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsSettings.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsBuildsSettings.cs
@@ -100,4 +100,4 @@ public static AzureDevOpsBuildsSettings UsingAzurePipelinesOAuthToken()
return new AzureDevOpsBuildsSettings(new AzureDevOpsOAuthCredentials(accessToken));
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsChange.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsChange.cs
index 04d417c0..29c65145 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsChange.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsChange.cs
@@ -56,4 +56,4 @@ public class AzureDevOpsChange
///
public string Pusher { get; internal set; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsDefinitionQueueStatus.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsDefinitionQueueStatus.cs
index 52033401..45a452cb 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsDefinitionQueueStatus.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsDefinitionQueueStatus.cs
@@ -26,4 +26,4 @@ public enum AzureDevOpsDefinitionQueueStatus : byte
///
Disabled = 2,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTaskResult.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTaskResult.cs
index f16c397b..bf0ef79a 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTaskResult.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTaskResult.cs
@@ -35,4 +35,4 @@ public enum AzureDevOpsTaskResult : byte
///
Abandoned = 5,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestResult.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestResult.cs
index d6cf460a..2ac45aaa 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestResult.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestResult.cs
@@ -21,4 +21,4 @@ public class AzureDevOpsTestResult
///
public string ErrorMessage { get; internal set; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestRun.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestRun.cs
index 8fc14f1f..b99db996 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestRun.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTestRun.cs
@@ -17,4 +17,4 @@ public class AzureDevOpsTestRun
///
public IEnumerable TestResults { get; internal init; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecord.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecord.cs
index 348e7e16..b1ef3cf1 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecord.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecord.cs
@@ -101,4 +101,4 @@ public class AzureDevOpsTimelineRecord
///
public Guid Id { get; internal init; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecordState.cs b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecordState.cs
index 896555f6..f036cdbe 100644
--- a/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecordState.cs
+++ b/src/Cake.AzureDevOps/Pipelines/AzureDevOpsTimelineRecordState.cs
@@ -20,4 +20,4 @@ public enum AzureDevOpsTimelineRecordState : byte
///
Completed = 2,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/BuildArtifactExtensions.cs b/src/Cake.AzureDevOps/Pipelines/BuildArtifactExtensions.cs
index f501df95..833e47cd 100644
--- a/src/Cake.AzureDevOps/Pipelines/BuildArtifactExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/BuildArtifactExtensions.cs
@@ -25,4 +25,4 @@ public static AzureDevOpsBuildArtifact ToAzureDevOpsBuildArtifact(this BuildArti
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/BuildDefinitionReferenceExtensions.cs b/src/Cake.AzureDevOps/Pipelines/BuildDefinitionReferenceExtensions.cs
index 60712581..42dccce4 100644
--- a/src/Cake.AzureDevOps/Pipelines/BuildDefinitionReferenceExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/BuildDefinitionReferenceExtensions.cs
@@ -25,4 +25,4 @@ public static AzureDevOpsBuildDefinition ToAzureDevOpsBuildDefinition(this Build
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/BuildResultExtensions.cs b/src/Cake.AzureDevOps/Pipelines/BuildResultExtensions.cs
index 464ffc98..1ed96b78 100644
--- a/src/Cake.AzureDevOps/Pipelines/BuildResultExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/BuildResultExtensions.cs
@@ -26,4 +26,4 @@ public static AzureDevOpsBuildResult ToAzureDevOpsBuildResult(this BuildResult r
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/BuildStatusExtensions.cs b/src/Cake.AzureDevOps/Pipelines/BuildStatusExtensions.cs
index 13584481..8a59736a 100644
--- a/src/Cake.AzureDevOps/Pipelines/BuildStatusExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/BuildStatusExtensions.cs
@@ -28,4 +28,4 @@ public static AzureDevOpsBuildStatus ToAzureDevOpsBuildStatus(this BuildStatus s
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/ChangeExtensions.cs b/src/Cake.AzureDevOps/Pipelines/ChangeExtensions.cs
index 473ec341..807ea452 100644
--- a/src/Cake.AzureDevOps/Pipelines/ChangeExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/ChangeExtensions.cs
@@ -31,4 +31,4 @@ public static AzureDevOpsChange ToAzureDevOpsChange(this Change change)
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/DefinitionQueueStatusExtensions.cs b/src/Cake.AzureDevOps/Pipelines/DefinitionQueueStatusExtensions.cs
index d6b72945..c2456571 100644
--- a/src/Cake.AzureDevOps/Pipelines/DefinitionQueueStatusExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/DefinitionQueueStatusExtensions.cs
@@ -24,4 +24,4 @@ public static AzureDevOpsDefinitionQueueStatus ToAzureDevOpsDefinitionQueueStatu
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/TaskResultExtensions.cs b/src/Cake.AzureDevOps/Pipelines/TaskResultExtensions.cs
index 61b616a5..38d65efe 100644
--- a/src/Cake.AzureDevOps/Pipelines/TaskResultExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/TaskResultExtensions.cs
@@ -27,4 +27,4 @@ public static AzureDevOpsTaskResult ToAzureDevOpsTaskResult(this TaskResult resu
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/TimelineRecordExtensions.cs b/src/Cake.AzureDevOps/Pipelines/TimelineRecordExtensions.cs
index 58897acb..91ef747f 100644
--- a/src/Cake.AzureDevOps/Pipelines/TimelineRecordExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/TimelineRecordExtensions.cs
@@ -40,4 +40,4 @@ public static AzureDevOpsTimelineRecord ToAzureDevOpsTimelineRecord(this Timelin
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Pipelines/TimelineRecordStateExtensions.cs b/src/Cake.AzureDevOps/Pipelines/TimelineRecordStateExtensions.cs
index 6082864a..0fc542c7 100644
--- a/src/Cake.AzureDevOps/Pipelines/TimelineRecordStateExtensions.cs
+++ b/src/Cake.AzureDevOps/Pipelines/TimelineRecordStateExtensions.cs
@@ -24,4 +24,4 @@ public static AzureDevOpsTimelineRecordState ToAzureDevOpsTimelineRecordState(th
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/AzureDevOpsCommit.cs b/src/Cake.AzureDevOps/Repos/AzureDevOpsCommit.cs
index c3da39d6..f21d6145 100644
--- a/src/Cake.AzureDevOps/Repos/AzureDevOpsCommit.cs
+++ b/src/Cake.AzureDevOps/Repos/AzureDevOpsCommit.cs
@@ -41,4 +41,4 @@ internal AzureDevOpsCommit()
///
public string RemoteUrl { get; internal init; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/GitCommitRefExtensions.cs b/src/Cake.AzureDevOps/Repos/GitCommitRefExtensions.cs
index 1c96cf67..bb599e03 100644
--- a/src/Cake.AzureDevOps/Repos/GitCommitRefExtensions.cs
+++ b/src/Cake.AzureDevOps/Repos/GitCommitRefExtensions.cs
@@ -27,4 +27,4 @@ public static AzureDevOpsCommit ToAzureDevOpsCommit(this GitCommitRef commit)
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsBranchNotFoundException.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsBranchNotFoundException.cs
index 1820366d..bc282d4c 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsBranchNotFoundException.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsBranchNotFoundException.cs
@@ -36,4 +36,4 @@ public AzureDevOpsBranchNotFoundException(string branchName, Exception innerExce
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs
index f3307a3a..e985038f 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsCreatePullRequestSettings.cs
@@ -89,4 +89,4 @@ public static AzureDevOpsCreatePullRequestSettings UsingAzurePipelinesOAuthToken
"Failed to read the SYSTEM_ACCESSTOKEN environment variable. Make sure you are running in an Azure Pipelines build and that the 'Allow Scripts to access OAuth token' option is enabled.");
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
index bb718f29..f03847fb 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequest.cs
@@ -863,4 +863,4 @@ private bool ValidatePullRequest()
return false;
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestIterationChange.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestIterationChange.cs
index a62151cb..09310949 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestIterationChange.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestIterationChange.cs
@@ -22,4 +22,4 @@ public class AzureDevOpsPullRequestIterationChange
///
public int ChangeTrackingId { get; init; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestNotFoundException.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestNotFoundException.cs
index 312571f3..07ebe09d 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestNotFoundException.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestNotFoundException.cs
@@ -46,4 +46,4 @@ public AzureDevOpsPullRequestNotFoundException(string message, Exception innerEx
{
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
index 3ca29be7..8ad4af06 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestSettings.cs
@@ -159,4 +159,4 @@ private static (bool Valid, string AccessToken) RetrieveAzurePipelinesVariables(
return (true, accessToken);
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestState.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestState.cs
index 909cd2e8..5d5cade2 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestState.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestState.cs
@@ -25,4 +25,4 @@ public enum AzureDevOpsPullRequestState : byte
///
Completed,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatus.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatus.cs
index 21d0efc7..07139b97 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatus.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatus.cs
@@ -44,4 +44,4 @@ public AzureDevOpsPullRequestStatus(string name)
///
public Uri TargetUrl { get; init; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatusState.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatusState.cs
index 7b013a97..b6d85be3 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatusState.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatusState.cs
@@ -30,4 +30,4 @@ public enum AzureDevOpsPullRequestStatusState : byte
///
Error,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatusStateExtensions.cs b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatusStateExtensions.cs
index 8e220893..0a7c59e5 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatusStateExtensions.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/AzureDevOpsPullRequestStatusStateExtensions.cs
@@ -26,4 +26,4 @@ public static GitStatusState ToGitStatusState(this AzureDevOpsPullRequestStatusS
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/BaseAzureDevOpsPullRequestSettings.cs b/src/Cake.AzureDevOps/Repos/PullRequest/BaseAzureDevOpsPullRequestSettings.cs
index 4996662d..f927b624 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/BaseAzureDevOpsPullRequestSettings.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/BaseAzureDevOpsPullRequestSettings.cs
@@ -86,4 +86,4 @@ protected BaseAzureDevOpsPullRequestSettings(IAzureDevOpsCredentials credentials
///
public string SourceRefName { get; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsComment.cs b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsComment.cs
index 04d748de..5ff5992c 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsComment.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsComment.cs
@@ -84,4 +84,4 @@ public AzureDevOpsCommentType CommentType
///
internal Comment Comment { get; }
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsCommentThreadStatus.cs b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsCommentThreadStatus.cs
index 516d3919..9c126b99 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsCommentThreadStatus.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsCommentThreadStatus.cs
@@ -42,4 +42,4 @@ public enum AzureDevOpsCommentThreadStatus
///
WontFix = CommentThreadStatus.WontFix,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsCommentType.cs b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsCommentType.cs
index e2c88b8c..17dd10c3 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsCommentType.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsCommentType.cs
@@ -27,4 +27,4 @@ public enum AzureDevOpsCommentType
///
System = CommentType.System,
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThread.cs b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThread.cs
index 37b816aa..76d6fcd0 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThread.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/CommentThread/AzureDevOpsPullRequestCommentThread.cs
@@ -196,4 +196,4 @@ private void EnsureRightFileStartExists()
this.InnerThread.ThreadContext.RightFileStart ??= new CommentPosition();
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/Repos/PullRequest/PullRequestStatusExtensions.cs b/src/Cake.AzureDevOps/Repos/PullRequest/PullRequestStatusExtensions.cs
index 7612d0a6..ca148ee3 100644
--- a/src/Cake.AzureDevOps/Repos/PullRequest/PullRequestStatusExtensions.cs
+++ b/src/Cake.AzureDevOps/Repos/PullRequest/PullRequestStatusExtensions.cs
@@ -25,4 +25,4 @@ public static AzureDevOpsPullRequestState ToAzureDevOpsPullRequestState(this Pul
};
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/TestManagementClientFactory.cs b/src/Cake.AzureDevOps/TestManagementClientFactory.cs
index 684ccb7c..41b50174 100644
--- a/src/Cake.AzureDevOps/TestManagementClientFactory.cs
+++ b/src/Cake.AzureDevOps/TestManagementClientFactory.cs
@@ -27,4 +27,4 @@ public TestManagementHttpClient CreateTestManagementClient(Uri collectionUrl, IA
throw new AzureDevOpsException("Could not retrieve the TestManagementHttpClient object");
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/ValidatedNotNullAttribute.cs b/src/Cake.AzureDevOps/ValidatedNotNullAttribute.cs
index a1bc9ddd..a0435b82 100644
--- a/src/Cake.AzureDevOps/ValidatedNotNullAttribute.cs
+++ b/src/Cake.AzureDevOps/ValidatedNotNullAttribute.cs
@@ -9,4 +9,4 @@
internal sealed class ValidatedNotNullAttribute : Attribute
{
}
-}
+}
\ No newline at end of file
diff --git a/src/Cake.AzureDevOps/WorkItemTrackingClientFactory.cs b/src/Cake.AzureDevOps/WorkItemTrackingClientFactory.cs
index 97cb5bdb..b6bb76f8 100644
--- a/src/Cake.AzureDevOps/WorkItemTrackingClientFactory.cs
+++ b/src/Cake.AzureDevOps/WorkItemTrackingClientFactory.cs
@@ -27,4 +27,4 @@ public WorkItemTrackingHttpClient CreateWorkItemTrackingClient(Uri collectionUrl
throw new AzureDevOpsException("Could not retrieve the WorkItemTrackingHttpClient object");
}
}
-}
+}
\ No newline at end of file
From 6893835236ef9a733afb1eb4a23e130c81e36d97 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 22:10:00 +0100
Subject: [PATCH 45/51] Simplify collection initialization (IDE0301)
---
.../Boards/WorkItemTracking/AzureDevOpsWorkItem.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs
index b0a96164..af0fc6fa 100644
--- a/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs
+++ b/src/Cake.AzureDevOps/Boards/WorkItemTracking/AzureDevOpsWorkItem.cs
@@ -249,7 +249,7 @@ internal AzureDevOpsWorkItem(
/// is set to true.
public IEnumerable Tags => this.ValidateWorkItem()
? (IEnumerable)this.GetField("System.Tags").Split("; ", StringSplitOptions.RemoveEmptyEntries)
- : Array.Empty();
+ : [];
///
/// Gets the id of the parent work item.
From 02e0bdcd93310b83166711ee62c1f052956b353c Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 22:14:52 +0100
Subject: [PATCH 46/51] Use static readonly fields instead of constant array
arguments (CA1861)
---
src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsBuildTests.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsBuildTests.cs b/src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsBuildTests.cs
index f46e4fe4..312042cd 100644
--- a/src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsBuildTests.cs
+++ b/src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsBuildTests.cs
@@ -101,7 +101,7 @@ public void Should_Throw_If_Input_Test_Outcomes_Are_Invalid()
fixture.WorkItemTrackingClientFactory);
// When
- var result = Record.Exception(() => build.GetTestRuns(null, new[] { "FakeOutcome" }));
+ var result = Record.Exception(() => build.GetTestRuns(null, ["FakeOutcome"]));
// Then
result.IsArgumentException(null);
From 54ba539b484fa7f9bcbf4d9ae0683f2859ab6b29 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Fri, 22 Nov 2024 21:12:09 +0100
Subject: [PATCH 47/51] Remove unecessary usings (IDE0005)
---
.../Fakes/FakeNullForMethodsGitClientFactory.cs | 1 -
src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs | 1 -
src/Cake.AzureDevOps/AzureDevOpsException.cs | 1 -
3 files changed, 3 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs
index d938aaf6..46ad155f 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullForMethodsGitClientFactory.cs
@@ -1,7 +1,6 @@
namespace Cake.AzureDevOps.Tests.Fakes
{
using System;
- using System.Collections.Generic;
using System.Threading;
using Microsoft.TeamFoundation.SourceControl.WebApi;
using Moq;
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs
index 3349db3e..f5b309c8 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeNullGitClientFactory.cs
@@ -1,7 +1,6 @@
namespace Cake.AzureDevOps.Tests.Fakes
{
using System;
- using System.Collections.Generic;
using Cake.AzureDevOps.Authentication;
using Microsoft.TeamFoundation.SourceControl.WebApi;
using Moq;
diff --git a/src/Cake.AzureDevOps/AzureDevOpsException.cs b/src/Cake.AzureDevOps/AzureDevOpsException.cs
index 1db4e7d5..bb8f77d1 100644
--- a/src/Cake.AzureDevOps/AzureDevOpsException.cs
+++ b/src/Cake.AzureDevOps/AzureDevOpsException.cs
@@ -1,7 +1,6 @@
namespace Cake.AzureDevOps
{
using System;
- using System.Runtime.Serialization;
///
/// Represents errors that occur during connecting to Azure DevOps.
From 744ec6b310864d967d01033e827ff9b295559137 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Fri, 22 Nov 2024 21:13:37 +0100
Subject: [PATCH 48/51] Simplify collection initialization (IDE0028)
---
.../Fakes/FakeAllSetBuildClientFactory.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
index d8aeb737..fc26d25f 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetBuildClientFactory.cs
@@ -32,10 +32,10 @@ public override BuildHttpClient CreateBuildClient(Uri collectionUrl, IAzureDevOp
});
mock.Setup(arg => arg.GetBuildWorkItemsRefsAsync(It.IsAny(), It.IsAny(), It.IsAny(), null, default))
- .ReturnsAsync((string _, int _, int? _, object _, CancellationToken _) => new List
- {
+ .ReturnsAsync((string _, int _, int? _, object _, CancellationToken _) =>
+ [
new() { Id = "42" },
- });
+ ]);
mock = this.Setup(mock);
From 8b3e6165b7c37b02a4f0cfd944832c3d649b5235 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Fri, 22 Nov 2024 21:14:16 +0100
Subject: [PATCH 49/51] Fix formatting (IDE0055)
---
.../Fakes/FakeAllSetGitClientFactory.cs | 6 +++---
src/Cake.AzureDevOps/ArgumentChecks.cs | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
index 9c20aada..541ee133 100644
--- a/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
+++ b/src/Cake.AzureDevOps.Tests/Fakes/FakeAllSetGitClientFactory.cs
@@ -306,7 +306,7 @@ protected override Mock Setup(Mock m)
gitPullRequestToCreate.LastMergeTargetCommit = new GitCommitRef { CommitId = "78a3c113" };
return gitPullRequestToCreate;
- });
+ });
m.Setup(arg => arg.UpdateCommentAsync(
It.IsAny(),
@@ -319,8 +319,8 @@ protected override Mock Setup(Mock m)
.ReturnsAsync((Comment comment, Guid _, int _, int _, int _, object _, CancellationToken _)
=> new Comment
{
- Id = comment.Id,
- Content = comment.Content,
+ Id = comment.Id,
+ Content = comment.Content,
});
return m;
diff --git a/src/Cake.AzureDevOps/ArgumentChecks.cs b/src/Cake.AzureDevOps/ArgumentChecks.cs
index 230982e6..07f0d840 100644
--- a/src/Cake.AzureDevOps/ArgumentChecks.cs
+++ b/src/Cake.AzureDevOps/ArgumentChecks.cs
@@ -17,7 +17,7 @@ internal static class ArgumentChecks
/// The name of the parameter to include in any thrown exception.
/// Thrown if is null.
[DebuggerStepThrough]
- public static void NotNull([ValidatedNotNull]this T value, string parameterName)
+ public static void NotNull([ValidatedNotNull] this T value, string parameterName)
where T : class
{
if (value == null)
@@ -34,7 +34,7 @@ public static void NotNull([ValidatedNotNull]this T value, string parameterNa
/// Thrown if is null.
/// Thrown if is empty or consists only of white-space characters.
[DebuggerStepThrough]
- public static void NotNullOrWhiteSpace([ValidatedNotNull]this string value, string parameterName)
+ public static void NotNullOrWhiteSpace([ValidatedNotNull] this string value, string parameterName)
{
if (value == null)
{
From 9e734df4d3c5a7dc6f1aa8bbddae16ae02f32fd7 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 16 Nov 2024 22:25:57 +0100
Subject: [PATCH 50/51] Update transitive dependency to fix security
vulnerabilities
---
src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj | 6 ++++++
src/Cake.AzureDevOps/Cake.AzureDevOps.csproj | 7 +++++++
2 files changed, 13 insertions(+)
diff --git a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
index 3f4e1448..93438623 100644
--- a/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
+++ b/src/Cake.AzureDevOps.Tests/Cake.AzureDevOps.Tests.csproj
@@ -27,6 +27,12 @@
+
+
+
+
+
+
diff --git a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
index e6a12695..6e53302c 100644
--- a/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
+++ b/src/Cake.AzureDevOps/Cake.AzureDevOps.csproj
@@ -37,5 +37,12 @@
+
+
+
+
+
+
+
From 1f2d6d15613b62560950487bc7d85bc65a6a8892 Mon Sep 17 00:00:00 2001
From: Pascal Berger
Date: Sat, 23 Nov 2024 11:12:28 +0100
Subject: [PATCH 51/51] Enforce secure transitive dependencies for
Cake.Frosting.AzureDevOps
---
nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
index ab6223c0..1ee56b12 100644
--- a/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
+++ b/nuspec/nuget/Cake.Frosting.AzureDevOps.nuspec
@@ -28,12 +28,26 @@ For addin compatible with Cake Script Runners see Cake.AzureDevOps.
+
+
+
+
+
+
+
+
+
+
+
+
+
+