Jenkinsfile support in Rider
Followed by 2 people
There is multiple articles / stack overflows out there on how to add Jenkinsfile (Groovy) support in IntelliJ.
See for example here: https://stackoverflow.com/questions/47796757/jenkinsfile-syntax-highlighting-in-java-project-using-intellij-idea/48326267
Also you mention that Groovy is pre-installed here: https://www.jetbrains.com/help/idea/groovy.html
However all of this doesn't seem to be true in Rider and I couldn't find a way to post-install the required plugins.
What would actually help me is some simple code highlighting.
The complete groovy support with auto-complete would help, but I'd imagine this is not so easy to do within .NET projects.
As as groovy is not even available in the FileTypes list in the settings, not even the simplest help can be enabled.
Is there anything I can do to enable this in Rider?
Thanks,
Philipp
Please sign in to leave a comment.
Hi,
This functionality is not available in Rider.
Could you please describe your use case why you'd like to use Jenkinsfile (Groovy)?
K.R.
Sofia
Hi, sure I can. We typically put all the "surrounding" files of our projects into the Solution Files so we can edit the non-.NET files also via Rider or VS.
This includes files like .gitignore, Dockerfile, Jenkinsfile, Directory.Build.props, .editorconfig and so on.
If the question was more directly meant like "why do you have a Jenkinsfile at all": Well, it's the file describing our build and naturally we need to make changes to it from time to time and as we are talking about 100% .NET projects here we do all of our work within Rider - including editing the build file via a referenced file in the Solution Files.
Regards,
Philipp
Hi Philipp,
Thank you for the details.
I've filed a feature request on Rider's tracker: https://youtrack.jetbrains.com/issue/RIDER-64097.
On the tracker, others can see your request and add their vote if they find such a tool would be useful, which helps our team to better understand which features/tools our users are eager for. I believe this can help give the best visibility for your request.
K.R.
Sofia