softius/jenkins-job-monitor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

softius/jenkins-job-monitor

Composer 安装命令:

composer create-project softius/jenkins-job-monitor

包简介

Monitor non-interactive execution of processes including Symfony Commands, cron jobs, procmail and inetd-launched processes

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Jenkins is useful for monitoring the non-interactive execution of processes, such as cron jobs, procmail, inetd-launched processes. This library facilates Jenkins integration for PHP projects and processes running in a PHP environment.

Monitoring external jobs in Jenkins

Install

Via Composer

$ composer require softius/jenkins-job-monitor

Usage

Monitor a process

A process result can be submitted using the command jenkins-job-monitor monitor as indicated below.

jenkins-job-monitor monitor http://acme.org/jenkins jobName 'ls -lah'

Submit a process result

A process result can be submitted using the command jenkins-job-monitor push. This approach is only useful when the process output and total execution are already available and it's only necessary to push the data to Jenkins.

jenkins-job-monitor push http://acme.org/jenkins jobName --log "Command results" --duration 5

Large log results can be transported through pipe as shown below.

cat results.txt | jenkins-job-monitor push http://acme.org/jenkins jobName --duration 5

Testing

$ composer test

Security

If you discover any security related issues, please email softius@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固