Are you tired of bloated extensions with superfluous features that are so confusing to use, you'd rather do everything manually?
Jack into your Jenkins to streamline your Pipeline development and Jenkins management. Execute Pipeline scripts remotely with real-time syntax highlighted output, access Pipeline step auto-completions, pull Pipeline step documentation, run console groovy scripts across multiple agents, manage jobs/builds/agents, and more!
Honestly, not that much more.
- Pipeline Jack
- Execute (with build parameters)
- Stream syntax highlighted output to output channel
- Abort executed pipeline
- Update target pipeline job on host with script
- Shared Library reference docs
- Script Console Jack
- Execute groovy console script at the System level or across one or more agents
- Node (agent) Jack
- Disable (with an offline message), enable, or disconnect one or more nodes
- Update the labels on one more more nodes
- Open agent in web browser
- Job Jack
- Disable, enable, delete, or view one or more jobs
- Open job in web browser
- Build Jack
- Download a build log
- Download a build's replay script
- Delete one or more builds
- Open build in web browser
- Add, delete, edit, and select Jenkins host connections
- Pipeline (GDSL) auto-completions for
- Tree Views
- Connection Tree
- Add, edit, delete, and select your Jenkins host connections here
- Pipeline Tree
- Manage local scripts in relation to jobs on the targeted host
- Pull job script from host
- Pull replay script from build on host
- Re-open your pulled script; association saved in
- Job Tree
- View jobs and builds on the host
- Disable, enable, delete jobs and builds on the targeted host
- Node (agent) Tree
- View nodes on the host
- Disable (with offline message), enable, disconnect nodes on the targeted host
- Update one or more nodes labels
See COMMANDS.md for a more comprehensive list of commands and their use.
||Remotely execute/abort/update Jenkins pipeline scripts from an open file with Groovy language id set, streaming syntax highlighted logs to the output console.
||Remotely execute Console Groovy scripts through the Jenkins Script Console, targeting one or more agents.
||Delete/abort builds, stream logs, and pull Pipeline replay scripts from your Jenkins host.
||Disable/enable/delete one or more jobs from your remote Jenkins.
||Disable/enable/disconnect one or more agents from your remote Jenkins. Mass update agent labels as well.
Individual jacks can be mapped to hot keys as user sees fit.
The extensions comes with UI/Views for interacting with all Jacks. The views can be found in the activity bar on the left hand side of the editor (bow icon):
All commands a user can execute via the quickpick command list (
ctrl+shift+j) can also be executed in the Views via context menu or buttons.
For examples on interacting with the views, see TUTORIAL.md.
Auto-completions (faux snippets)
From the selected remote Jenkins, the extension will pull, parse, and provide Pipeline steps as auto-completions from the Pipeline step definitions (GDSL).
Any file in the editor with the Groovy language id set will have these completions (can be disabled via settings).
|List of jenkins connections (uri, username, and password) to target when running commands
|If unchecked, the extension will not check certificate validity when connecting through HTTPS
|The default view column (location) in vscode the output panel will spawn on show. See https://code.visualstudio.com/api/references/vscode-api#ViewColumn
|If enabled, hides
[Pipeline] log lines in streamed output.
|The output view for streamed logs
|Show build output via browser instead of the
|Show Pipeline Shared Library documentation via browser instead of within vscode as markdown
|Enables the use of parameters (stored in '.myfile.config.json') to be used in your Pipeline execution
|If true, will grab parameters from the remote jenkins job and prompt user for builder parameter input using input boxes and quick picks.
|Remote jenkins job to local pipeline script associations
|Enable Pipeline step snippets for supported languageIds
|Directory separator string for job names in the Jenkins Jack TreeViews (default is
See TUTORIAL.md for setup and basic usage.
Displays a list of all Jack commands provided by the extension (
Local Packaging and Installation
To create a standalone
vsix for installation locally, run the following commands:
# From the root of the extension.
npm install -g vsce # For packaging
npm install # Install dependencies.
vsce package # Bake some bread.
code --install-extension .\jenkins-jack-0.0.1.vsix # ...or whatever version was built
Do you have a feature request or would like to report a bug? Super duper! Create an issue via Github's issue tracker.
Currently, there are no hard guidelines defined for feature requests, bugs, or questions since I have no idea what I'm doing. These will become more defined as interest in the project increases or something something.
- Travis Abeyti (initial work)
This project is licensed under the MIT License - see the LICENSE.md file for details. Do what you will with this.