gocd-build-github-pull-requests icon indicating copy to clipboard operation
gocd-build-github-pull-requests copied to clipboard

YAML pipeline definition

Open mfornasa opened this issue 8 years ago • 3 comments

I wonder if it's possible to trigger this in a pipeline defined in a YAML file.

mfornasa avatar Jan 26 '18 10:01 mfornasa

It is using the pluggable scm e.g.

materials: myPluggableGit: # https://eu-gerrit-1.euhpc.arm.com/octopus/gocd-yaml/qe scm: 12345

eddyseager avatar Feb 16 '18 17:02 eddyseager

Indeed this works.

Post 19.2.0, you should be able to do this: https://github.com/tomzo/gocd-yaml-config-plugin#pluggable My company haven't upgraded yet and tested though

esselius avatar Oct 18 '19 12:10 esselius

Did you mean this? We use the github PR plugin quite extensively with the YAML config repo plugin.

# test.gocd.pipeline
...
    materials:
      test-git-pr:
        plugin_configuration:
          id: github.pr
          version: 1
        options:
          url: [email protected]:user/repository
…

mirogta avatar Jun 19 '20 14:06 mirogta