Created
April 8, 2023 09:27
-
-
Save ascheman/d070e73259b4faa617907bfb5bb69c8b to your computer and use it in GitHub Desktop.
Call Jenkins CLI with JBang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///usr/bin/env jbang "$0" "$@" ; exit $? | |
//REPOS jenkins=https://repo.jenkins-ci.org/releases/,mavencentral | |
//DEPS org.jenkins-ci.main:cli:2.399 | |
public class jenkinscli { | |
public static void main(String... args) throws Exception { | |
hudson.cli.CLI.main(args); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment