gitlab-plugin Pipeline compatibility broken with version 1.5.7

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Blocker
    • Component/s: gitlab-plugin
    • None
    • Environment:
      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!

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

              Created:
              Updated:
              Resolved: