Comments (4)
I think should be fixed within NuKeeper itself. It should return a exitcode -1 which causes a task fail
from nukeeper-azuredevops-extension.
this looks like an issue how nukeeper handles branches. we stil have this issue and it looks like the repro is:
- let nukeeper create a PR + branch for a dependency update in Azure DevOPs
- go into the PR and click "abandon" and "delete branch"
- let nukeeper try and create the same update again -> it fails with the issue above.
probably the way Azure DevOps deletes the branch is not compatible with how nukeeper checks if the branch already exists.
P.S. and yes, the issue should probably be moved to the nukeeper repo
from nukeeper-azuredevops-extension.
ok finally pin pointed the issue. the problem is with the local only branches which nukeeper creates. those won't be deleted and stay there forever.
running git show-ref
shows somehting like this:
a2009d458f23370b2d121bdf2b92c5e58ca8e79c refs/heads/master
0e02c55d7a31bfad46d9a01e97db0d5d2e0a8098 refs/heads/nukeeper-update-CsvHelper-to-12.1.2
2743e0e5aee1c6a50985cb07c971cfbf9f97ad15 refs/heads/nukeeper-update-Microsoft.ApplicationInsights.AspNetCore-to-2.6.1
16e7ba49fa0d684b500402400ce0233033d0d9db refs/heads/nukeeper-update-Microsoft.NET.Test.Sdk-to-16.0.1
5e9de71f4d6f224dce0889e52fb17b13666a7000 refs/heads/nukeeper-update-Microsoft.NET.Test.Sdk-to-16.1.0
224742cb988de111ab796476e05406b33927fd74 refs/heads/nukeeper-update-Microsoft.NET.Test.Sdk-to-16.1.1
3d6e68e92838758c1435015546baf5bae924729f refs/heads/nukeeper-update-MySql.Data-to-8.0.15
0cbcc5e112977b56f649d15e2639df91c4ea9956 refs/heads/nukeeper-update-Serilog.Extensions.Logging.File-to-2.0.0-dev-00032
d821a8f7b94ae32341c8dd97f2928b8ded2052e1 refs/heads/nukeeper-update-SonarAnalyzer.CSharp-to-7.14.0.8411
bee7db4746ebd3f2d410bf5148f969883ecadfa4 refs/heads/nukeeper-update-coverlet.msbuild-to-2.6.1
2ffc11dca76b09d6c4b6bed5bde1ef0c08afd8a2 refs/heads/nukeeper-update-coverlet.msbuild-to-2.6.2
d34e3b83ad260a7a9598757574791421b9afc320 refs/remotes/origin/master
224742cb988de111ab796476e05406b33927fd74 refs/remotes/origin/nukeeper-update-Microsoft.NET.Test.Sdk-to-16.1.1
2ffc11dca76b09d6c4b6bed5bde1ef0c08afd8a2 refs/remotes/origin/nukeeper-update-coverlet.msbuild-to-2.6.2
adding e.g. a git branch -d nukeeper-update-Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer-to-3.2.0
resolves the issue for this branch.
IMHO nukeeper should remove a local-only branch when it already exists
from nukeeper-azuredevops-extension.
I solved this by making sure my pipeline starts with a clean repository (clean: resources
):
jobs:
- job: NuKeeper
displayName: Update dependencies
continueOnError: "false"
workspace:
clean: resources
steps:
- task: nukeeper.nukeeper.nukeeper.NuKeeper@0
displayName: NuKeeper
inputs:
arguments: '--verbosity detailed'
pool:
name: "Default"
However yes, the pipeline is not failing on error.
from nukeeper-azuredevops-extension.
Related Issues (20)
- Add recipes / best practices
- Make extension work on MacOS/Linux
- AzureDevops: Updates failed LibGit2SharpException : request failed with status code: 403 HOT 7
- Add parameter for solution
- Sequence contains more than one matching element
- Using System.AccessToken for git operations HOT 1
- NuKeeper fails using private feed on Ubuntu agent
- NuKeeper task does not work on MacOS hosted agents HOT 1
- Support GitHub Enterprise service connection type
- Error with package and package dependency both updating
- Azure Pipeline task does not report an error when nukeeper fails. HOT 1
- Nukeeper not working when using multi repo pipelines HOT 2
- NuKeeper not working after recent changes made to FeedInstaller HOT 16
- Azure DevOps pipeline CreatePullRequest: Error BadRequest HOT 1
- 'Too many redirects or authentication replays' when trying to push
- Extension runs but leaves junk file in PR HOT 1
- Installs old version (0.26.0) by default HOT 3
- Add indication if a pr was sumbitted or not
- Support Organization command
- Increase verbosity when `system.debug` is specified in Azure DevOps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nukeeper-azuredevops-extension.