
See Set variables in a pipeline for instructions on setting a variable in your pipeline.

See Node.js documentation for more details about this variable. You can either add the NODE_EXTRA_CA_CERTS=file environment variable to your build agent, or you can add the .CERTS=file task variable in your pipeline. This can be fixed by adding a trusted root certificate.
git branch -dThis is synonymous with git branch -list. My NuGet push task is failing with the following error: "Error: unable to get local issuer certificate". Common Options git branch List all of the branches in your repository. I can't select a default agent pool and I can't queue my build or release.

You need at least one agent to run your build or release. You can also use any of these variations for commits to Azure Repos Git, Bitbucket Cloud, GitHub, and GitHub Enterprise Server.

Git merge %sourceBranch% -m "Merge to main" SET sourceBranch=origin/%BUILD_SOURCEBRANCH:refs/heads/=% IF %BUILD_SOURCEBRANCH% = refs/heads/main (ĮCHO Building main branch so no merge is needed. On the Triggers tab, select Continuous integration (CI) and include the branches you want to build.Ĭreate merge.bat at the root of your repo: offĮCHO SOURCE BRANCH IS %BUILD_SOURCEBRANCH% You want a CI build to merge to main if the build succeeds. On the variables tab, create or modify the Build.Clean variable and set it to source On the repository tab, set Clean to true.
