jenkinsci / jenkinsci/gitlab-branch-source-plugin
[JENKINS-61012] GitLab Group Scan Incorrectly Reports Missing Jenkinsfile as a Directory
- Dominant language
- Java
- Stars
- 134
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
The Scan GitLab Group Log reports the following when the project does not have a Jenkinsfile.
```
Checking project Test
Proposing Test
Unable to detect if it is a mirror or not still fetching MRs anyway...
Checking branches..
Checking branch master
‘Jenkinsfile’ found but is a directory not a file
Does not meet criteria
```
The message, "Jenkinsfile found but is a directory not a file", is inaccurate because there is not a directory named Jenkinsfile.
I'd like to see this changed so that it more clearly states that a Jenkinsfile was not found.
---
Originally reported by charleswb, imported from: GitLab Group Scan Incorrectly Reports Missing Jenkinsfile as a Directory
baymac
Raw content of original issue
The Scan GitLab Group Log reports the following when the project does not have a Jenkinsfile.
Checking project Test
Proposing TestUnable to detect if it is a mirror or not still fetching MRs anyway...
Checking branches..
Checking branch master
‘Jenkinsfile’ found but is a directory not a file
Does not meet criteriaThe message, "Jenkinsfile found but is a directory not a file", is inaccurate because there is not a directory named Jenkinsfile.
I'd like to see this changed so that it more clearly states that a Jenkinsfile was not found.
environment
```
Jenkins 2.204.2
Windows Server 2016
GitLab Branch Source Plugin 1.4.3
```
Contributor guide
Assessment
This issue has not been assessed yet.