- Install https://github.com/dense-analysis/ale via the vim plugin manager of your choice, or manually...
- Update your
~/.vimrcwith the proposed config - Expose your jenkins credentials and instance URLs somehow (environment variables)
JENKINS_URLJENKINS_USERNAMEJENKINS_SECRET(password, or user token...)
- Create
~/.vim/ale_linters/Jenkinsfile/checkci.vimwith the proposed content - Create somewhere (
~/scripts/checkci.sh?) a script with the proposed content in this gist.- make it executable
chmod +x ~/.scripts/checkci.sh - create a symbolic link to it. Example :
- make it executable
ln -snf ~/.scripts/checkci.sh /usr/local/bin/checkci
hot! i'm curious if this vim plugin works for your use case: https://github.com/burnettk/vim-jenkins. it looks like your vim integration goes a bit deeper by highlighting the lines of code that failed validation. feel free to pull request or submit an issue or point me to an alternate repo if you want to collaborate on this!