Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid duplicate class definition of class Jenkinsfile #53

Open
petrabramov opened this issue Nov 29, 2022 · 3 comments
Open

Invalid duplicate class definition of class Jenkinsfile #53

petrabramov opened this issue Nov 29, 2022 · 3 comments

Comments

@petrabramov
Copy link

VSCode version: 1.64.1
Groovy-Guru version: v0.6.0

Issue:
IntelliSense errors due to second Jenkinsfile (in a differrent folder) in workspace.
image

Description:
I am working on two projects at the same time and it's convenient for me to keep them in one workspace (VSCode window), but extension cannot correctly recognize two folders inside workspace root as two separate subprojects, so I have the error above.

Example:
workspace/project1/Jenkinsfile
workspace/project2/Jenkinsfile
The error will be in the second Jenkinsfile, so Intellisense will not work.

Expect:
Some settings or solution so that the extension divides the IntelliSense into subprojects or namespaces.

@petrabramov
Copy link
Author

upd: it occurs when you open two tabs with Jenkinsfiles (from different folders)

@dtczest
Copy link

dtczest commented Mar 1, 2023

Also having this issue. I have 2 Jenkinsfiles in the same project with different purposes for two different jobs.

@arosenblum
Copy link

I'm also having this issue. Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants