huserben / TfsExtensions

Extensions for TFS 2015+ such as custom Widgets (require TFS 2017) and Build Tasks
MIT License
44 stars 22 forks source link

TriggerBuild@4 with buildParameters fails #245

Closed gherasim-learn closed 1 year ago

gherasim-learn commented 1 year ago

Hello,

I have lots of pipelines which are using TriggerBuild@4 with buildParameters. Worked fine until las week, when they started to fail.

This is how I use the task: image

- task: TriggerBuild@4 displayName: 'Trigger infrastructure pipeline' inputs: buildDefinition: 'infrastructure' useSameBranch: false branchToUse: release/$(release_version) waitForQueuedBuildsToFinish: true waitForQueuedBuildsToFinishRefreshTime: '5' buildParameters: 'deploy_to_sb1: false, deploy_to_sb2: false, deploy_to_sb3: false, deploy_to_dev: false, deploy_to_stag: true, deploy_to_prod: false' authenticationMethod: 'OAuth Token' password: $(System.AccessToken)

and from the last week this is the output: image

If I delete the line with buildParameters then it works.

gherasim-learn commented 1 year ago

Never mind somebody enabled this thing at organization level without announcing me : https://learn.microsoft.com/en-us/azure/devops/pipelines/security/inputs?view=azure-devops image