Skip to content

yuan1994/jenkins-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins-PHP

Jenkins-PHP 是Jenkins REST API 的工具库,旨在提供一种更方便的方式来控制Jenkins服务器。它提供了许多便利的功能、更高级API。

Jenkins-PHP主要实现了以下功能:

  • Create new jobs
  • Copy existing jobs
  • Delete jobs
  • Update jobs
  • Enable/Disable jobs
  • Get a job`s build information
  • Get Jenkins master version information
  • Get Jenkins plugin information
  • Start a build on a job
  • Create nodes
  • Enable/Disable nodes
  • Get information on nodes
  • Create/Delete/Reconfig views
  • Put server in shutdown mode (quiet down/safe exit/exit)
  • Cancel server shutdown mode (cancel quiet down)
  • List running builds
  • Delete Builds
  • Wipeout job workspace
  • Create/Delete/Update folders
  • Install plugins
  • Get builded last git version information
  • and many more...

快速安装

composer require yuan1994/jenkins-php

在线文档

http://yuan1994.github.io/jenkins-php