Questions tagged [azure-task-groups]

16 questions
5
votes
2 answers

Azure DevOps creating variables for actions in inline bash scripts

When creating an inline bash command like this in Azure DevOps: checksum="$(cksum file.txt)" I'll wind up seeing cksum file.txt as a required parameter. For whatever reason, this behavior isn't consistent so sometimes I've setup build pipelines…
3
votes
4 answers

How to import task groups in Azure DevOps

I have multiple release pipelines using similar set of tasks. I have created a task group as explained in Task Groups. I want to reuse this task group in other release pipelines. I cannot find any task/menu item in Azure DevOps to do so.…
humblebee
  • 1,044
  • 11
  • 25
2
votes
1 answer

Azure DevOps Pipeline Dockerfile COPY --from clause

Problem Working with Azure DevOps, we use a Dockerfile to build and statically serve an Angular application: Dockerfile FROM node:12-14-alpine AS build WORKDIR /usr/etc/app COPY *.json ./ RUN npm install COPY . . RUN npm run build -- -c stage FROM…
Simon B
  • 92
  • 1
  • 6
2
votes
2 answers

Can I restore a deleted Task Group in Azure Devops (VSTS)?

I accidentally deleted a Task Group but I need it and I would like to restore it. Is there any way that a deleted Task Group could be restored in Azure DevOps (VSTS)? I see in the documentation that deleted Build Definitions can be restored but I…
colka
  • 31
  • 4
1
vote
0 answers

Azure DevOps Pipelines cannot find project file path due to $(SolutionDir) macros on Git submodules

Azure DevOps Pipelines cannot find project file path due to $(SolutionDir) macros on Git submodules. I run the build task below for Solution1.sln, this solution includes several projects checked out from Git submodules. One of these Git submodules…
1
vote
1 answer

How to set out put variable in Azure CLI task

I'm trying to write an Azure CLI task to use for further getting account keys and so on. First want to just have an output variable from the inline script but I got this error when build the pipeline: "##[error]PowerShell exited with code '1'." "The…
Minoo
  • 45
  • 5
1
vote
1 answer

Unable to see add option for the task in azure build pipeline that is already Installed

In Azure build pipeline i need to added the "Quality Gate Widget" task and its already installed, but i'm unable to see "Add" button. Can anyone suggest me what needs to be done - is there any that i'm missin? Thanks in advance.
1
vote
2 answers

Task group parameters w/ type other than string

I have a use case, where I want to add a pickList-type parameter to my task group. This seems to be doable; the UI renders fine, and the variable is also correct when running the pipeline using the task group. I understand that you cannot configure…
0
votes
2 answers

How can I change the value of a variable defined in an Azure DevOps task group?

We are implementing a naming convention for our release pipelines. It follows this format: Priority.Team.Product Some of our release pipelines are already in the format Priority.Team.Product and no changes are necessary. Others are named…
0
votes
1 answer

Azure Devops Boards - can we block task from done if there isn't any test attatched?

We are trying to implement a new method for our QA team. I have looked around the setting but couldn't find an answer: Is it possible to prevent them from dragging the task to 'Done' if they haven't added a test case into it? On the same logic -…
Linux Dev
  • 133
  • 10
0
votes
1 answer

Unable to add Task To Azure Batch Model

I am trying to create Azure Batch Job with Task which uses output_files as a Task Parameter tasks = list() command_task = (r"cmd /c dir") # Not providing actual property value for security purpose containerName =…
0
votes
1 answer

Azure Task Group deployment through release - How to get Azure Function App deployment output url 'AppServiceApplicationUrl' for later smoke test task

I've created a task group which deploys an Azure Function App which normally in a normal release pipeline (not a task group), it gives you the option of naming this variable on the panel which opens on the right hand side: output variable But when…
0
votes
1 answer

Is there a way to create a pull request that creates new branch in RepoA from RepoB from CD pipeline in Azure Devops

I have a scenarios when i need to create a new branch pull request in Repo A from the chnages done in Repo B using the CD pipeline
0
votes
1 answer

Where can we specify Github repository path in Tasks in Azure Devops?

I have created a task group to run robot framework scripts in Azure DevOps. I have added below tasks to the task group: Use Python version Python script to install robot framework Python script task to run robot framework script Publish Test…
Komz
  • 5
  • 3
0
votes
0 answers

Azure DevOps creating Environment variables for actions in inline bash scripts

I want to pass my environment variable as an Empty string or else with some "xyz" string based on my build requirement. Is there any way to pass empty string ?
Query
  • 625
  • 1
  • 7
  • 22
1
2