安装MAC 版的最新jenkins-1.635.pkg 后 如何重启jenkins 及命令行操作jenkins
来源:互联网 发布:游戏数据分析师收入 编辑:程序博客网 时间:2024/05/17 04:46
重启Jenkins:
java -jar war/WEB-INF/jenkins-cli.jar -s http://your_server_IP:8080/ restart
Jenkins CLI
You can access various features in Jenkins through a command-line tool. See the Wiki for more details of this feature.To get started, download jenkins-cli.jar, and run it as follows:
java -jar jenkins-cli.jar -s http://your_server_IP:8080/ help
Available Commands
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.consoleRetrieves console output of a build.copy-jobCopies a job.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.delete-buildsDeletes build record(s).delete-jobDeletes job(s).delete-nodeDeletes node(s)delete-viewDeletes view(s).disable-jobDisables a job.disconnect-nodeDisconnects from a node.enable-jobEnables a job.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.install-pluginInstalls a plugin either from a file, an URL, or from update center.install-toolPerforms automatic tool installation, and print its location to stdout. Can be only called from inside a build.keep-buildMark the build to keep the build forever.list-changesDumps the changelog for the specified build(s).list-jobsLists all jobs in a specific view or item group.list-pluginsOutputs a list of installed plugins.loginSaves the current credential to allow future commands to run without explicit credential information.logoutDeletes the credential stored with the login command.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.restartRestart Jenkins.safe-restartSafely restart Jenkins.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-build-parameterUpdate/set the build parameter of the current build in progress.set-build-resultSets the result of the current build. Works only if invoked from within a build.set-external-build-resultSet external monitor job result.shutdownImmediately shuts down Jenkins server.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. 0 0
- 安装MAC 版的最新jenkins-1.635.pkg 后 如何重启jenkins 及命令行操作jenkins
- Mac安装Jenkins,Unlock Jenkins
- linux的jenkins安装完成后操作
- Mac下使用命令行安装 jenkins 方法
- mac jenkins环境安装及jenkins使用(未完待续)
- Jenkins的关闭、重启
- Jenkins的关闭、重启
- Jenkins的关闭、重启
- mac安装配置Jenkins
- Mac 安装 Jenkins
- Mac Jenkins. 安装
- Jenkins安装后如何修改端口号
- 重启jenkins
- jenkins 重启方法
- Jenkins---安装及配置/jenkins环境搭建
- Jenkins安装及问题
- jenkins 安装及配置
- Jenkins安装及配置
- Spring3 MVC详解二
- Android App的签名打包(晋级篇)
- 【noip2010】接水问题
- 既然换上了代码安全的马甲,那就为自己加油呐喊一下吧
- MySQL创建用户与授权
- 安装MAC 版的最新jenkins-1.635.pkg 后 如何重启jenkins 及命令行操作jenkins
- linux装机脚本
- Linux下的文件时间
- Java冒泡,快速,插入,选择排序^_^+二分算法查找
- 链表问题----复杂链表的复制+二叉搜索树与双向链表(Java)
- 【noip2011】铺地毯
- iphone各个系列手机最新的尺寸资料(更新到iphone6s)
- Shell脚本之监视主进程的运行状态,异常退出后自动重启
- postgresql 存储过程时 如何把查到数据放到数组中,计算出数组中数字个数字