Questions tagged [azure-pipelines-task-lib]

The SDK for creating Azure DevOps, Azure DevOps Server and Team Foundation Server pipeline tasks that can be used for Builds and Releases.

The SDK for creating Azure DevOps, Azure DevOps Server and Team Foundation Server pipeline tasks that can be used for Builds and Releases.

See also: https://github.com/Microsoft/azure-pipelines-task-lib

8 questions
2
votes
3 answers

Enumerate secret variables in Azure Pipelines

I have a build step in Azure Pipelines that takes the variables from Azure Pipelines and uploads them somewhere equally secret. Currently I have about 50 builds, and each build has anywhere between 5-20 variables. Some are secret and some are not.…
1
vote
1 answer

How to use multiple client certificates stored in keystore.p12 and set jmeter's system.properties while setting test in Azure Load Testing service?

I am trying to set up test (manual/yaml) in Azure Load Testing service and my test uses client certificates, so I uploaded jmx, keystore(.p12) and csv (has alias of certificates in keystore) to test plan. In Azure Load Testing, where can I set…
1
vote
1 answer

How to get the task version for an Azure DevOps Pipelines task?

I have an Azure Pipelines Task which uses the azure-pipelines-task-lib (https://github.com/microsoft/azure-pipelines-task-lib) and need to get the version of the task from within my task code (TypeScript). I figured there would be an easy way to do…
1
vote
1 answer

Azure Pipelines Task - How to dynamically populate a pickList input with a source other than a service endpoint?

In the link to the custom task, below, you'll see several pickList fields; one for the service endpoint, two for environment and command, which are static lists in the task.json, and then a fourth. This one, I need to be populated with a list of…
1
vote
0 answers

Azure Devops unable to populate picklist

I followed the tutorial found at https://learn.microsoft.com/en-us/azure/devops/extend/develop/service-endpoints?view=azure-devops The api call is right because if I don't authenticate it shows the correct path in the error message. Entering the…
0
votes
2 answers

https_proxy variable is causing conflicts with Azure DevOps API

We are developing Azure DevOps extension with pipeline tasks. We are using typescript/node/npm packages as technologies in this. One of these pipeline task’s responsibilities is gathering data from external source with aid from embedded API wrapper…
0
votes
1 answer

What is the effect of invoking path.resolve() via path.resolve.apply(this, ...)?

In the Azure Pipelines task library, there is a call to path.resolve() via apply() that I don't really understand: var absolutePath = path.resolve.apply(this, pathSegments); where pathSegments: any[] The above code is within an function exported…
Rich Tebb
  • 6,806
  • 2
  • 23
  • 25
0
votes
1 answer

Way to persist process spawned by a task on an agent?

I'm developing an Azure Devops extension with tasks in it. In one of the tasks, I'm starting a process and I'm doing configurations. In another task, I'm accessing the same process API to consume it. This is working perfectly fine, but I notice…