Closed Coldplayer001 closed 3 years ago
It's problematic to handle files without file ending in eclipse editors. Either it is an explicit name (like "Jenkinsfile" or something with a specific fileending.
But Jenkinseditor does not only support "Jenkinsfile" but also ".jenkinsfile" and ".jenkins" see https://github.com/de-jcup/eclipse-jenkins-editor/wiki/FAQ#using-jenkins-or-jenkinsfile-as-file-extension, so just rename the files to have a supported file ending - e.g. "Jenkinsfile_$JOB_NAME.jenkins" and it should work out of the box.
Is there still a need for this? Maybe I have found a way, but it would need work and I am currently running out of time.
It will be useful for pipeline automation with Jenkins integration.
Example:
Script Path : Jenkinsfile_$JOB_NAME