jenkinsci / jenkinsci/gitlab-branch-source-plugin

[JENKINS-61012] GitLab Group Scan Incorrectly Reports Missing Jenkinsfile as a Directory

Open
#661 7 comments 0 reactions 0 assignees View on GitHub
component:gitlab-branch-source-plugin imported-jira-issue priority:minor resolution:unresolved
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


  • assignee: baymac
  • status: Open
  • priority: Minor
  • component(s): gitlab-branch-source-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 8
  • imported: 20251216-182730

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 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.

environment

```
Jenkins 2.204.2

Windows Server 2016

GitLab Branch Source Plugin 1.4.3
```

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.