I figured this one out - if 'infrastructure' is defined in the yaml file,
and 'Infrastructure' is an existing pipeline (capital I, lower vs upper
case), then you get this error message. Reported here:

https://github.com/tomzo/gocd-yaml-config-plugin/issues/44

/ Fredrik



2017-10-07 14:26 GMT+02:00 Fredrik Wendt <[email protected]>:

> Hi,
>
> I've got a git repo with the following config:
>
> pipelines:
>   gitlab-gocd-bridge:
>     group: infrastructure
>     materials:
>       source:
>         git: ssh://[email protected]:5522/infrastructure/gitlab-gocd-
> bridge.git
>
>     stages:
>       - run:bash
>           clean_workspace: true
>           jobs:
>             run:
>               resources:
>                 - jjim
>                 - docker
>               tasks:
>                 - exec:
>                     command: /bin/bash
>                     args:
>                       - -c
>                       - ./run.sh
>
>
> When I add this as a config-repo to server.xml, I get this Error:
>
> 2+ errors :: Group with name 'infrastructure' already exists;; Group with
> name 'infrastructure' already exists;; - Config-Repo:
> ssh://[email protected]:5522/infrastructure/gitlab-gocd-bridge.git at
> 0ca596f5d7a1c3860faabec41ae3b17f87f105a6
>
> The pipeline group 'infrastructure' was added earlier using the web UI. Any
> ideas as to why this isn't accepted? I would expect that the pipeline group
> was created if it didn't exist, and just re-used if it already existed.
>
> / Fredrik
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "go-cd" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/go-cd/lWN6bPL6gzs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
cell: +46 702 778511
skype: fredrikwendt

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to