jenkinsci / jenkinsci/gitlab-plugin

Broken contract for 'gitLabConnection' in #961

Open
#1,016 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.4k
Forks
615
Avg merge
4h 32m
Merged PRs (30d)
10

Description

After #916 'gitLabConnection' throws error:
```
options {
gitLabConnection('gitlab.example.com')
}
```
Error:
> "gitLabConnection" should have 3 arguments but has 1 arguments instead. @ line 58, column 7.
> gitLabConnection('gitlab.example.com')

to workaround use:

`gitLabConnection(gitLabConnection: 'gitlab.example.com', useAlternativeCredential: false, jobCredentialId: null)`

For more details see https://github.com/jenkinsci/gitlab-plugin/pull/916

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.