Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52267

gitlab-plugin Pipeline compatibility broken with version 1.5.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • gitlab-plugin
    • None
    • Jenkins 2.121.1
      gitlab-plugin 1.5.7
    • 1.5.11

      properties([
        gitLabConnection('my-gitlab-server')
      ])
      

      causes

      java.lang.NoSuchMethodError: No such DSL method 'gitLabConnection' found

      And the gitlabCommitStatus block is also broken:

      gitlabCommitStatus('checkout') {
        echo 'whatever'
      }
      

      causes

      java.lang.IllegalArgumentException: Expected named arguments but got checkout

      Please keep this plugin backwards compatible!

            owenmehegan Owen Mehegan
            cobexer Ing. Christoph Obexer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: