@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class Messages extends Object
| Constructor and Description |
|---|
Messages() |
| Modifier and Type | Method and Description |
|---|---|
static org.jvnet.localizer.Localizable |
_CLI_BadAuth()
Key
CLI.BadAuth: {@code The JENKINS_USER_ID and
JENKINS_API_TOKEN env vars should be both set or left empty. |
static org.jvnet.localizer.Localizable |
_CLI_NoSuchFileExists(Object arg0)
Key
CLI.NoSuchFileExists: No such file exists: {0}. |
static org.jvnet.localizer.Localizable |
_CLI_NoURL()
Key
CLI.NoURL: Neither -s nor the JENKINS_URL env var
is specified.. |
static org.jvnet.localizer.Localizable |
_CLI_Usage()
Key
CLI.Usage: {@code Jenkins CLI
Usage: java -jar
jenkins-cli.jar [-s URL] command [opts...] args... |
static String |
CLI_BadAuth()
Key
CLI.BadAuth: {@code The JENKINS_USER_ID and
JENKINS_API_TOKEN env vars should be both set or left empty. |
static String |
CLI_NoSuchFileExists(Object arg0)
Key
CLI.NoSuchFileExists: No such file exists: {0}. |
static String |
CLI_NoURL()
Key
CLI.NoURL: Neither -s nor the JENKINS_URL env var
is specified.. |
static String |
CLI_Usage()
Key
CLI.Usage: {@code Jenkins CLI
Usage: java -jar
jenkins-cli.jar [-s URL] command [opts...] args... |
public static String CLI_Usage()
CLI.Usage: Jenkins CLI
Usage: java -jar
jenkins-cli.jar [-s URL] command [opts...] args...
Options:
-s URL
: the server URL (defaults to the JENKINS_URL env var)
-http
: use a plain CLI protocol over HTTP(S) (the default; mutually
exclusive with -ssh)
-webSocket : like -http but using
WebSocket (works better with most reverse proxies)
-ssh
: use SSH protocol (requires -user; SSH port must be open on server,
and user must have registered a public key)
-i KEY : SSH
private key file used for authentication (for use with -ssh)
-noCertificateCheck : bypass HTTPS certificate check entirely. Use
with caution
-noKeyAuth : don''t try to load the SSH
authentication private key. Conflicts with -i
-user :
specify user (for use with -ssh)
-strictHostKey : request strict
host key checking (for use with -ssh)
-logger FINE : enable
detailed logging from the client
-auth [ USER:SECRET | @FILE ] :
specify username and either password or API token (or load from them
both from a file);
for use with
-http.
Passing credentials by file is
recommended.
See
https://jenkins.io/redirect/cli-http-connection-mode for more info and
options.
-bearer [ TOKEN | @FILE ] : specify authentication using
a bearer token (or load the token from file);
for use with -http. Mutually exclusive with -auth.
Passing credentials by file is recommended.
The available commands
depend on the server. Run the ''help'' command to see the list..Jenkins CLI
Usage: java -jar jenkins-cli.jar [-s URL] command
[opts...] args...
Options:
-s URL : the server URL
(defaults to the JENKINS_URL env var)
-http : use a
plain CLI protocol over HTTP(S) (the default; mutually exclusive with
-ssh)
-webSocket : like -http but using WebSocket (works
better with most reverse proxies)
-ssh : use SSH
protocol (requires -user; SSH port must be open on server, and user
must have registered a public key)
-i KEY : SSH private
key file used for authentication (for use with -ssh)
-noCertificateCheck : bypass HTTPS certificate check entirely. Use
with caution
-noKeyAuth : don''t try to load the SSH
authentication private key. Conflicts with -i
-user :
specify user (for use with -ssh)
-strictHostKey : request strict
host key checking (for use with -ssh)
-logger FINE : enable
detailed logging from the client
-auth [ USER:SECRET | @FILE ] :
specify username and either password or API token (or load from them
both from a file);
for use with
-http.
Passing credentials by file is
recommended.
See
https://jenkins.io/redirect/cli-http-connection-mode for more info and
options.
-bearer [ TOKEN | @FILE ] : specify authentication using
a bearer token (or load the token from file);
for use with -http. Mutually exclusive with -auth.
Passing credentials by file is recommended.
The available commands
depend on the server. Run the ''help'' command to see the list.public static org.jvnet.localizer.Localizable _CLI_Usage()
CLI.Usage: Jenkins CLI
Usage: java -jar
jenkins-cli.jar [-s URL] command [opts...] args...
Options:
-s URL
: the server URL (defaults to the JENKINS_URL env var)
-http
: use a plain CLI protocol over HTTP(S) (the default; mutually
exclusive with -ssh)
-webSocket : like -http but using
WebSocket (works better with most reverse proxies)
-ssh
: use SSH protocol (requires -user; SSH port must be open on server,
and user must have registered a public key)
-i KEY : SSH
private key file used for authentication (for use with -ssh)
-noCertificateCheck : bypass HTTPS certificate check entirely. Use
with caution
-noKeyAuth : don''t try to load the SSH
authentication private key. Conflicts with -i
-user :
specify user (for use with -ssh)
-strictHostKey : request strict
host key checking (for use with -ssh)
-logger FINE : enable
detailed logging from the client
-auth [ USER:SECRET | @FILE ] :
specify username and either password or API token (or load from them
both from a file);
for use with
-http.
Passing credentials by file is
recommended.
See
https://jenkins.io/redirect/cli-http-connection-mode for more info and
options.
-bearer [ TOKEN | @FILE ] : specify authentication using
a bearer token (or load the token from file);
for use with -http. Mutually exclusive with -auth.
Passing credentials by file is recommended.
The available commands
depend on the server. Run the ''help'' command to see the list..Jenkins CLI
Usage: java -jar jenkins-cli.jar [-s URL] command
[opts...] args...
Options:
-s URL : the server URL
(defaults to the JENKINS_URL env var)
-http : use a
plain CLI protocol over HTTP(S) (the default; mutually exclusive with
-ssh)
-webSocket : like -http but using WebSocket (works
better with most reverse proxies)
-ssh : use SSH
protocol (requires -user; SSH port must be open on server, and user
must have registered a public key)
-i KEY : SSH private
key file used for authentication (for use with -ssh)
-noCertificateCheck : bypass HTTPS certificate check entirely. Use
with caution
-noKeyAuth : don''t try to load the SSH
authentication private key. Conflicts with -i
-user :
specify user (for use with -ssh)
-strictHostKey : request strict
host key checking (for use with -ssh)
-logger FINE : enable
detailed logging from the client
-auth [ USER:SECRET | @FILE ] :
specify username and either password or API token (or load from them
both from a file);
for use with
-http.
Passing credentials by file is
recommended.
See
https://jenkins.io/redirect/cli-http-connection-mode for more info and
options.
-bearer [ TOKEN | @FILE ] : specify authentication using
a bearer token (or load the token from file);
for use with -http. Mutually exclusive with -auth.
Passing credentials by file is recommended.
The available commands
depend on the server. Run the ''help'' command to see the list.public static String CLI_NoURL()
CLI.NoURL: Neither -s nor the JENKINS_URL env var
is specified..Neither -s nor the JENKINS_URL env var is specified.public static org.jvnet.localizer.Localizable _CLI_NoURL()
CLI.NoURL: Neither -s nor the JENKINS_URL env var
is specified..Neither -s nor the JENKINS_URL env var is specified.public static String CLI_NoSuchFileExists(Object arg0)
CLI.NoSuchFileExists: No such file exists: {0}.arg0 - 1st format parameter, {0}, as String.valueOf(Object).No such file exists: {0}public static org.jvnet.localizer.Localizable _CLI_NoSuchFileExists(Object arg0)
CLI.NoSuchFileExists: No such file exists: {0}.arg0 - 1st format parameter, {0}, as String.valueOf(Object).No such file exists: {0}public static String CLI_BadAuth()
CLI.BadAuth: The JENKINS_USER_ID and
JENKINS_API_TOKEN env vars should be both set or left empty. .The JENKINS_USER_ID and JENKINS_API_TOKEN env vars should be
both set or left empty. public static org.jvnet.localizer.Localizable _CLI_BadAuth()
CLI.BadAuth: The JENKINS_USER_ID and
JENKINS_API_TOKEN env vars should be both set or left empty. .The JENKINS_USER_ID and JENKINS_API_TOKEN env vars should be
both set or left empty. Copyright © 2004–2021. All rights reserved.