Merge pull request #105326 from jonatan-ivanov/jenkinsfile-extension-support

Support for .jenkinsfile extension and Jenkinsfile.* filename pattern
This commit is contained in:
Martin Aeschlimann 2020-08-26 08:53:59 +02:00 committed by GitHub
commit 31a985b92f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,8 +13,8 @@
"languages": [{
"id": "groovy",
"aliases": ["Groovy", "groovy"],
"extensions": [".groovy", ".gvy", ".gradle"],
"filenames": [ "Jenkinsfile" ],
"extensions": [".groovy", ".gvy", ".gradle", ".jenkinsfile"],
"filenamePatterns": ["Jenkinsfile.*"],
"firstLine": "^#!.*\\bgroovy\\b",
"configuration": "./language-configuration.json"
}],