A plugin that enables Jenkins DSL job syntax coloring + indentation.
Simply recognises your project's Jenkinsfile
as a Groovy script. See this Jenkins documentation for details.
Installing the plugin's easy. First, make sure you've got pathogen installed. Then, just clone this repo:
git clone git@github.com:martinda/Jenkinsfile-vim-syntax.git ~/.vim/bundle/Jenkinsfile-vim-syntax
Then fire up Vim and you're good to go.
Alternatively, this is included in the vim-polyglot package, though polyglot may lag behind this repo by a version or two.