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