Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Pipeline names must be unique by name and application



  • Hello,

    We are facing an issue with BuildMaster 6.1.27 where we cannot make any changes to a pipeline. The last change that was made to this pipeline was 6/8/2020. The full stack trace is below.

    Stack trace: System.InvalidOperationException: Pipeline names must be unique by name and application.
    at Inedo.BuildMaster.API.Pipelines.PipelinesImpl.UpdatePipeline(Pipeline pipeline, Int32 pipelineId, Nullable`1 active)
    at Inedo.BuildMaster.API.Pipelines.PipelinesImpl.CreateOrUpdateGroupApproval(Int32 pipelineId, String stageName, GroupApproval approval, Nullable`1 index)
    at Inedo.BuildMaster.Web.WebApplication.Pages.Pipelines.EditGroupApprovalPage.<>c__DisplayClass9_0.<CreateChildControls>b__0(Object s, EventArgs e)
    at Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.Inedo.Web.Controls.ISimpleAsyncPostControl.ProcessValidPostAsync()
    at Inedo.Web.PageFree.SimplePageBase.<ProcessPostAsync>d__64.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Inedo.Web.PageFree.SimplePageBase.<ProcessPostAsync>d__64.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.Web.PageFree.SimplePageBase.<ProcessRequestAsync>d__47.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    

    Any help would be much appreciated.

    Thanks!


  • inedo-engineer

    Hi @Joseph-Saladino_7499 ,

    I think this may be specific to your pipeline data. You should be able to go to the pipeline in "edit view", and share us the JSON document.

    You can send that to support at inedo dot com with [QA-874] in the subject (so we can find it) , or also just you open a new ticket. If you do send to support email, please let us know on here that you sent it, since we don't regularly check that email.

    thanks,
    Alana



  • @atripp Thanks for the reply! I've sent an email to Inedo Support.

    Let me know if there is anything else you need me try.

    Thanks!


  • inedo-engineer

    Hi @Joseph-Saladino_7499 ,

    Thanks, received! We'll debug/investigate this today or tomorrow.

    Cheers,
    Alana


  • inedo-engineer

    Hi @Joseph-Saladino_7499 ,

    I wasn't able to reproduce the error using the UI, but I could figure out what's causing it and reproduce he error state using the API.

    Basically, you have two pipelines named "Standard «redacted» Service Pipeline". One pipeline may be global, one may be part of the application. But in any case, the validation logic is not allowing this to save because it detects a duplicate.

    To resolve this, delete one of the pipelines.

    Cheers,
    Alana



  • @atripp Thanks for the reply!

    I am not aware of any additional pipelines with that same name, but will do some digging and see if I can find it.

    Thanks for checking.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation