jenkinsci / jenkinsci/gitlab-plugin

Improve error reporting of wrong Jenkins version

Open
#1,739 0 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

### What feature do you want to see added?

I've been debugging ominous 401 error when using `gitlabCommitStatus` in pipeline (despite the "test connection" being successful in the jenkins management page), which went away after upgrading jenkins version. It seems at some point gitlab plugin version got updated and it stopped working because the required jenkins version was greater than jenkins version being used. It would be nice if the plugin explicitly logged "your jenkins version is too old", since the 401 was rather misleading and made me think the issue is with access token configuration

### Upstream changes

_No response_

### Are you interested in contributing this feature?

_No response_

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.