Skip to content
Build Queue (181)
part of bootstrap #2920
part of other-configs #2964
part of check-typo #2797
part of sanitizers #2927
part of step-by-step-build #2982
part of check-typo #2796
part of other-configs #2963
part of bootstrap #2919
part of sanitizers #2926
part of step-by-step-build #2981
part of step-by-step-build #2980
part of bootstrap #2918
part of sanitizers #2925
part of check-typo #2795
part of other-configs #2962
part of step-by-step-build #2979
part of bootstrap #2917
part of check-typo #2794
part of other-configs #2961
part of sanitizers #2924
part of step-by-step-build #2978
part of sanitizers #2923
part of bootstrap #2916
part of other-configs #2960
part of check-typo #2793
part of bootstrap #2915
part of step-by-step-build #2977
part of other-configs #2959
part of sanitizers #2922
part of check-typo #2792
part of check-typo #2791
part of sanitizers #2921
part of other-configs #2958
part of step-by-step-build #2976
part of bootstrap #2914
part of bootstrap #2913
part of other-configs #2957
part of sanitizers #2920
part of step-by-step-build #2975
part of check-typo #2790
part of sanitizers #2919
part of bootstrap #2912
part of step-by-step-build #2974
part of check-typo #2789
part of other-configs #2956
part of other-configs #2955
part of sanitizers #2918
part of bootstrap #2911
part of step-by-step-build #2973
part of check-typo #2788
part of step-by-step-build #2972
part of check-typo #2787
part of bootstrap #2910
part of other-configs #2954
part of sanitizers #2917
part of other-configs #2953
part of bootstrap #2909
part of check-typo #2786
part of sanitizers #2916
part of step-by-step-build #2971
part of check-typo #2785
part of sanitizers #2915
part of other-configs #2952
part of step-by-step-build #2970
part of bootstrap #2908
part of step-by-step-build #2969
part of check-typo #2784
part of other-configs #2951
part of bootstrap #2907
part of sanitizers #2914
part of step-by-step-build #2968
part of other-configs #2950
part of bootstrap #2906
part of sanitizers #2913
part of check-typo #2783
part of step-by-step-build #2967
part of sanitizers #2912
part of bootstrap #2905
part of other-configs #2949
part of check-typo #2782
part of check-typo #2781
part of sanitizers #2911
part of other-configs #2948
part of step-by-step-build #2966
part of bootstrap #2904
part of other-configs #2947
part of step-by-step-build #2965
part of bootstrap #2903
part of check-typo #2780
part of sanitizers #2910
part of bootstrap #2902
part of other-configs #2946
part of step-by-step-build #2964
part of sanitizers #2909
part of check-typo #2779
part of sanitizers #2908
part of step-by-step-build #2963
part of bootstrap #2901
part of check-typo #2778
part of other-configs #2945
part of check-typo #2777
part of bootstrap #2900
part of step-by-step-build #2962
part of other-configs #2944
part of sanitizers #2907
part of bootstrap #2899
part of other-configs #2943
part of step-by-step-build #2961
part of sanitizers #2906
part of check-typo #2776
part of other-configs #2942
part of check-typo #2775
part of bootstrap #2898
part of step-by-step-build #2960
part of sanitizers #2905
part of bootstrap #2897
part of other-configs #2941
part of check-typo #2774
part of sanitizers #2904
part of step-by-step-build #2959
part of bootstrap #2896
part of step-by-step-build #2958
part of other-configs #2940
part of sanitizers #2903
part of check-typo #2773
part of step-by-step-build #2957
part of check-typo #2772
part of bootstrap #2895
part of other-configs #2939
part of sanitizers #2902
part of bootstrap #2894
part of other-configs #2938
part of step-by-step-build #2956
part of check-typo #2771
part of sanitizers #2901
part of sanitizers #2900
part of bootstrap #2893
part of other-configs #2937
part of check-typo #2770
part of step-by-step-build #2955
part of check-typo #2769
part of sanitizers #2899
part of step-by-step-build #2954
part of bootstrap #2892
part of other-configs #2936
part of sanitizers #2898
part of other-configs #2935
part of bootstrap #2891
part of step-by-step-build #2953
part of check-typo #2768
part of sanitizers #2897
part of step-by-step-build #2952
part of other-configs #2934
part of check-typo #2767
part of bootstrap #2890
part of sanitizers #2896
part of bootstrap #2889
part of step-by-step-build #2951
part of check-typo #2766
part of other-configs #2933
part of sanitizers #2895
part of step-by-step-build #2950
part of other-configs #2932
part of check-typo #2765
part of bootstrap #2888
part of step-by-step-build #2949
part of other-configs #2931
part of check-typo #2764
part of sanitizers #2894
part of bootstrap #2887
part of step-by-step-build #2948
part of other-configs #2930
part of check-typo #2763
part of bootstrap #2886
part of sanitizers #2893
part of check-typo #2762
part of bootstrap #2885
part of sanitizers #2892
part of other-configs #2929
part of step-by-step-build #2947
precheck

Jenkins CLI

You can access various features in Jenkins through a command-line tool. See the documentation for more details of this feature. To get started, download jenkins-cli.jar, and run it as follows:

java -jar jenkins-cli.jar -s https://ci.inria.fr/ocaml/ help

Available Commands

NameDescription
add-job-to-viewAdds jobs to view.
buildBuilds a job, and optionally waits until its completion.
cancel-quiet-downCancel the effect of the "quiet-down" command.
clear-queueClears the build queue.
connect-nodeReconnect to a node(s)
consoleRetrieves console output of a build.
copy-jobCopies a job.
create-credentials-by-xmlCreate Credential by XML
create-credentials-domain-by-xmlCreate Credentials Domain by XML
create-jobCreates a new job by reading stdin as a configuration XML file.
create-nodeCreates a new node by reading stdin as a XML configuration.
create-viewCreates a new view by reading stdin as a XML configuration.
declarative-linterValidate a Jenkinsfile containing a Declarative Pipeline
delete-buildsDeletes build record(s).
delete-credentialsDelete a Credential
delete-credentials-domainDelete a Credentials Domain
delete-jobDeletes job(s).
delete-nodeDeletes node(s)
delete-viewDeletes view(s).
disable-jobDisables a job.
disable-pluginDisable one or more installed plugins.
disconnect-nodeDisconnects from a node.
enable-jobEnables a job.
enable-pluginEnables one or more installed plugins transitively.
get-credentials-as-xmlGet a Credentials as XML (secrets redacted)
get-credentials-domain-as-xmlGet a Credentials Domain as XML
get-jobDumps the job definition XML to stdout.
get-nodeDumps the node definition XML to stdout.
get-viewDumps the view definition XML to stdout.
groovyExecutes the specified Groovy script.
groovyshRuns an interactive groovy shell.
helpLists all the available commands or a detailed description of single command.
import-credentials-as-xmlImport credentials as XML. The output of "list-credentials-as-xml" can be used as input here as is, the only needed change is to set the actual Secrets which are redacted in the output.
install-pluginInstalls a plugin either from a file, an URL, or from update center.
keep-buildMark the build to keep the build forever.
list-changesDumps the changelog for the specified build(s).
list-credentialsLists the Credentials in a specific Store
list-credentials-as-xmlExport credentials as XML. The output of this command can be used as input for "import-credentials-as-xml" as is, the only needed change is to set the actual Secrets which are redacted in the output.
list-credentials-context-resolversList Credentials Context Resolvers
list-credentials-providersList Credentials Providers
list-jobsLists all jobs in a specific view or item group.
list-pluginsOutputs a list of installed plugins.
mailReads stdin and sends that out as an e-mail.
offline-nodeStop using a node for performing builds temporarily, until the next "online-node" command.
online-nodeResume using a node for performing builds, to cancel out the earlier "offline-node" command.
quiet-downQuiet down Jenkins, in preparation for a restart. Don’t start any builds.
reload-configurationDiscard all the loaded data in memory and reload everything from file system. Useful when you modified config files directly on disk.
reload-jobReload job(s)
remove-job-from-viewRemoves jobs from view.
replay-pipelineReplay a Pipeline build with edited script taken from standard input
restartRestart Jenkins.
restart-from-stageRestart a completed Declarative Pipeline build from a given stage.
safe-restartSafe Restart Jenkins. Don’t start any builds.
safe-shutdownPuts Jenkins into the quiet mode, wait for existing builds to be completed, and then shut down Jenkins.
session-idOutputs the session ID, which changes every time Jenkins restarts.
set-build-descriptionSets the description of a build.
set-build-display-nameSets the displayName of a build.
set-external-build-resultSet external monitor job result.
shutdownImmediately shuts down Jenkins server.
stop-buildsStop all running builds for job(s)
update-credentials-by-xmlUpdate Credentials by XML
update-credentials-domain-by-xmlUpdate Credentials Domain by XML
update-jobUpdates the job definition XML from stdin. The opposite of the get-job command.
update-nodeUpdates the node definition XML from stdin. The opposite of the get-node command.
update-viewUpdates the view definition XML from stdin. The opposite of the get-view command.
versionOutputs the current version.
wait-node-offlineWait for a node to become offline.
wait-node-onlineWait for a node to become online.
who-am-iReports your credential and permissions.