Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 940 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 940 Bytes

vim-jenkins-job-builder

Vim plugin to enhance working with Jenkins Job Builder YAML files.

Currently, it provides the following functionality:

  • custom folding for JJB YAML files

Basic Usage

To avoid conflicting with regular YAML files, the plugin defines a new file type, "jjb_yaml". All customisations are applied to this file type.

By default, it is up to you to set this file type appropriately. If you want it to apply to all YAML files, you can add this to your .vimrc:

autocmd FileType yaml setlocal filetype=jjb_yaml

Alternatively, you could configure autodetection of JJB YAML files; see below.

Basic Configuration

To configure autodetection of JJB YAML files, set this in your .vimrc:

let g:jenkins_job_builder_autodetect = 1

Installation

This repo should be compatible with your favourite vim plugin installation method.