Skip to content
Lint Jenkins' Jenkinsfile via SSH
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial Mar 1, 2019
Default (Linux).sublime-keymap Initial Mar 1, 2019
Default (OSX).sublime-keymap Initial Mar 1, 2019
Default (Windows).sublime-keymap Initial Mar 1, 2019
Default.sublime-commands Initial Mar 1, 2019 Updated per wbond/package_control_channel#7483 (comment) Apr 19, 2019
Jenkinsfile.sublime-project Initial Mar 1, 2019
Jenkinsfile.sublime-settings Added 'pageant_session' option to config file. Mar 3, 2019
LICENSE Create LICENSE Mar 5, 2019
package-control.cleanup Initial Mar 1, 2019


Jenkinsfile is a plugin for Sublime Text.

  • Securely (ssh) lint your Jenkinsfile (What is a Jenkinsfile?) inside of Sublime Text
  • Lint against Jenkins cloud instance if ssh access is unavailble on your primary environment
  • Magic

Jenkins includes Pipeline Development Tools as shown on

Jenkins can validate, or "lint", a Declarative Pipeline from the command line before actually running it. This can be done using a Jenkins CLI command or by making an HTTP POST request with appropriate parameters. We recommended using the SSH interface to run the linter. See the Jenkins CLI documentation for details on how to properly configure Jenkins for secure command-line access.


Jenkinsfile uses a number of open source projects to work properly:

  • Python - a programming language changes the world
  • SSH - a cryptographic network protocol for operating network services securely over an unsecured network

And of course Jenkinsfile itself is open source with a public Git repository on GitHub.

How to install

With Package Control:

  1. First step is done with Package Control or manually
    • With Package Control Run “Package Control: Install Package” command, find and install Jenkinsfile plugin.

    • Manually (without Package Control): Clone or download from git into your packages folder (in ST, find Browse Packages… menu item to open this folder). note: You must clone or download into a directory named "Jenkinsfile" and not sublime-Jenkinsfile.

  2. Restart Sublime Text (if required)


Currently you must use Pageant (Windows) to create a session that can authenticate via ssh to your Jenkins host. The name of the session must match the configured value of pageant_session (default is "jenkins") as shown:


Now whenever you have are editing a Jenkinsfile (must be named as such) and save the file, the plugin will invoke the remote instance of the Jenkins declarative-linter. The file can also be linted without saving by using the keyboard shortcut (cntl-alt-j by default)


  • Pipeline the whole enchilada (CT/CI/CD)
    • JENKINS!
    • Docker
  • Add support for Linux, OSX
  • Add hosted Jenkins validation




You can’t perform that action at this time.