The Atom editor plugin language-jenkins highlights the syntax for Jenkinsfile
.
However, my Jenkinsfiles are not always named Jenkinsfile
, but usually have extension: Jenkinsfile-x86
, Jenkinsfile-arm
, Jenkinsfile-test
, etc.
How would I need to modify the Atom plugin source code in order to support any file name starting with Jenkinsfile*
?
This poor man's solution works, but...:
'fileTypes': [
'Jenkinsfile',
'Jenkinsfile-x86',
'Jenkinsfile-arm',
'Jenkinsfile-test'
]