0

We have a Jenkins build server, which you can do "build with parameter". This is nice for the QA team, as this allows them to pick a list of features to test.

Now the business is moving everything to azure, and I am trying to move to VSTS pipeline.

On VSTS pipeline, it seems I can't just create one build pipeline, and allow people to pick a parameter and then build?

Is this feature supported in VSTS pipeline? If not, anyone got some walkaround?

1 Answer 1

0

I don't know exactly what is Jenkins "build with parameter" but in Azure DevOps you have an option of Variables and determine the values when you queue the build:

enter image description here

Add a variable and check the "Settable at queue time" checkbox:

enter image description here

Use the variable in the pipeline with $(Configuration):

enter image description here

Now, when you queue the build you can choose the variable and change the value:

enter image description here

enter image description here

2
  • Hi, this is quite different compared to what jenkins can do. In jenkins, you can define a list of parameters, and when do build, people can choose which parameters to use on the fly. For example, QA team may define 10 features and on the fly they can choose which feature to build and test.
    – daxu
    Oct 7, 2019 at 8:38
  • @daxu You can achieve that with custom conditions. each feature is a task, under the tasks put the condition with a variable, when you queue the build you can determine the variable. Oct 7, 2019 at 8:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.