Questions tagged [build-pipeline]

161 questions
0
votes
0 answers

Unable to pass user.dir parameter to code using pom.xml and mvn cmdline

Im a newbie to azure and maven. I have created a build pipeline and it is dropping artifacts to Build.ArtifactDirectory. In CD pipeline, there is a java class which uses System.getProperty("user.dir"). But this path is taking wrongly and it throws…
0
votes
1 answer

Azure default devops agent, how to connect to azure VM (win os) and upload exe and start/stop services

I've currently got a VM (win os) running in Azure. The vm has a service running. I would like the devops pipelines to: access the VM stop the service upload the new built service (built artifact) start the updated service rdp and ssh are disabled…
Carlo Luther
  • 2,402
  • 7
  • 46
  • 75
0
votes
1 answer

How do I delete the artifacts published by my build pipeline?

I have a security issue with the artifacts in my build pipeline. How do I delete the artifacts without deleting the entire pipeline? Unlike the answers to the related posts below, I do not want to change the retention policy on the Azure DevOps…
Super Jade
  • 5,609
  • 7
  • 39
  • 61
0
votes
0 answers

Azure build pipelines - need to know the complete path where the build logs are stored on the Microsoft Hosted Agent

I have a build pipeline and I need to download the logs generated from the build pipeline and save to some location in my repo. I need to know where these logs are stored on a Microsoft hosted agent from where I can copy to a path in my repos. Also,…
0
votes
1 answer

How to programatically clone a classic build pipeline using the azure devops API

I know somewhere i'm doing wrong. I'm new to powershell. I'm trying to automate cloning build pipelines for releases using powershell invoke-restmethod. I'm able to get the list of build pipelines but unable to clone. Here is the code $resp =…
0
votes
1 answer

Error while deploying release pipeline in Azure Devops

I am trying to deploy an existing .Net Core application using Azure Devops by creating Build and release pipelines. The build pipeline worked fine, but I get the below error when running the release pipeline (under Deploy Azure App Service). Error:…
0
votes
2 answers

Why is my Azure DevOps build pipeline getting more than just the recent changes?

I am wondering why my build pipeline for Azure DevOps is getting practically all the changes instead of just the most recent one? I only made one change to 1 file, that didn't have an associated work item. This is what the change looks like. As you…
deathcat05
  • 429
  • 1
  • 5
  • 18
0
votes
1 answer

PR validation pipeline without merge

GitHub creates a new ref when a pull request is created. The ref points to a merge commit, which is the merged code between the source and target branches of the pull request. The PR validation pipeline builds the commit this ref points to. (from…
irriss
  • 742
  • 2
  • 11
  • 22
0
votes
1 answer

Yaml trigger doesn't work but overridding in pipeline does

I have the following code in my YAML file trigger: branches: include: - main paths: include: - WVD/* When I complete a pull request and the code gets committed back to main it should run if its in the WVD directory. (WVD dir is…
0
votes
1 answer

Rewriting YAML file configuration during runtime in build pipeline using Powershell

I have a task where in I need update the configuration in the YAML file's during build pipeline. I noticed that there is a task which does this, but cant be added in the organization and also I need to update the configuration for at-least 10 yaml…
Raghu Hoskote
  • 117
  • 2
  • 14
0
votes
0 answers

AWS Lambda SAM Deployment Automation

We have an application utilizing API<==>Lambda (Python)<==>S3. We wanted to automated the deployment process. We are using SAM for local testing and deployment. I wanted to know, do I need to run SAM DEPLOY all the time manually? Or is there a…
0
votes
1 answer

Trigger a build pipeline in Azure DevOps when a specific templates or a build step is present in .yaml file

I am trying to configure a pipeline in ADO yaml builds if a specific conditions are satisfies. below are the details I have shared templates in separate project from where the CI Pipeline exists. (lets say project 'A') CI Pipeline is present in a…
0
votes
1 answer

How to integrate Whitesource Report in to Azure Dashboards using Whitesource API's

I have a requirement to display the Whitesource report that is generated after the build pipeline in Azure dashboard's. Is this possible? if yes can anyone guide me on what needs to be done. Thanks
Raghu Hoskote
  • 117
  • 2
  • 14
0
votes
2 answers

Azure DevOps "The user doesn't have access to the variable groups added to this pipeline or they are not found. IDs: 3"

Issue: "The user doesn't have access to the variable groups added to this pipeline or they are not found. IDs: 3" When this happens: Migrating a Pipeline in "Json" format from "Azure DevOps On-premise 2020" towards "Azure DevOps Cloud". When saving…
0
votes
1 answer

gulp task is failing in azure devops ci pipeline

I'm facing some issue in gulp task in azure devops build pipeline. The task is getting failed with the following error. Couldn't able to find where the actual error is. Please help to trace the error in gulp configuration. Thanks in…