You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @GBCSIM1, unfortunately, runtime parameters are only available before the job started and not on the agent's side.
What you can do is add a condition to your pipeline. The conditions are evaluated before each step/job on the agent's side, so if you change the value of parameter/variable in some step, it will have an actual state when conditions are evaluated.
Describe your question
I am looking to do multiple conditions in my pipeline which includes my parameters file and a value
Here is my paramters at the top of the Page:
parameters:
displayName: 'LandingZone file name'
type: string
default: 'ccc_npd_testing.json'
displayName: 'Service connection name'
type: string
displayName: 'Only do What If'
type: boolean
default: false
displayName: 'operationType'
type: string
values: ['Create', 'Update']
default: 'Create'
displayName: 'Branch name of subscription'
type: string
so originally i had one condition which if the update is selected on the pipeline:
this works great.
However I want to add it so if its not equal to a 0 value on parameters file for budgetAmount:
This doesn't work. Any ideas? The parameter for the budget is specified within the code so not right at the top of the page.
Versions
ubuntu-latest
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Operation system
ubuntu-latest
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response
The text was updated successfully, but these errors were encountered: