Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequence contains more than one matching element #46

Open
Rutix opened this issue Oct 3, 2019 · 0 comments
Open

Sequence contains more than one matching element #46

Rutix opened this issue Oct 3, 2019 · 0 comments

Comments

@Rutix
Copy link

Rutix commented Oct 3, 2019

2019-10-03T11:12:18.3713909Z [command]E:\Agents\agent2\externals\git\cmd\git.exe config --global user.name NuKeeper
2019-10-03T11:12:18.4334637Z [command]E:\Agents\agent2\externals\git\cmd\git.exe config --global user.email [email protected]
2019-10-03T11:12:19.5103325Z Found tool in cache: nukeeper 0.25.0 x64
2019-10-03T11:12:19.5204220Z ##[error]Error parsing organisation from organisation url: 'http://<ip>:8080/tfs/OTOD/'.
2019-10-03T11:12:19.5238991Z ##[error]Error writting file temp nuget config
2019-10-03T11:12:19.6317757Z [command]"C:\Program Files\dotnet\dotnet.exe" E:\Agents\agent2\_work\_tool\nukeeper\0.25.0\x64\NuKeeper.dll repo E:\Agents\agent2\_work\317\s\Uwv.eDv.Werk.ServiceAgents.BeheerdersaccountBeheerInzage *** --targetBranch origin/master --platform AzureDevOps
2019-10-03T11:12:24.0825268Z 
2019-10-03T11:12:24.1818423Z Unhandled Exception: System.InvalidOperationException: Sequence contains more than one matching element
2019-10-03T11:12:24.1819509Z    at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
2019-10-03T11:12:24.1821846Z    at NuKeeper.Commands.RepositoryCommand.TryGetSettingsReader(Uri repoUri, Nullable`1 platform) in /home/vsts/work/r1/a/drop/NuKeeper/Commands/RepositoryCommand.cs:line 80
2019-10-03T11:12:24.1822304Z    at NuKeeper.Commands.RepositoryCommand.PopulateSettings(SettingsContainer settings) in /home/vsts/work/r1/a/drop/NuKeeper/Commands/RepositoryCommand.cs:line 50
2019-10-03T11:12:24.1822691Z    at NuKeeper.Commands.CommandBase.OnExecute() in /home/vsts/work/r1/a/drop/NuKeeper/Commands/CommandBase.cs:line 96
2019-10-03T11:12:24.1823066Z    at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments)
2019-10-03T11:12:24.1823389Z    at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context)
2019-10-03T11:12:24.1823763Z    at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext()
2019-10-03T11:12:24.1824104Z --- End of stack trace from previous location where exception was thrown ---
2019-10-03T11:12:24.1824465Z    at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass142_0.<OnExecute>b__0()
2019-10-03T11:12:24.1824792Z    at NuKeeper.Program.Main(String[] args) in /home/vsts/work/r1/a/drop/NuKeeper/Program.cs:line 33

I noticed that the code on the master branch is not yet published on the marketplace (eg. I had to set Pipeline.Workspace myself but there is a fix for that in master).

I also noticed that the command is the first argument to the repo command seems to be the local folder. Isn't that supposed to be the remote repo url?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant