← Back to team overview

hudson-ubuntu-users team mailing list archive

Monitoring external jobs

 

Afternoon All

I've added a new package to the Jenkins testing PPA:
jenkins-external-job-monitor.

This package will install the bare minimum to allow monitoring of 'jobs'
from Jenkins as specified here :
https://wiki.jenkins-ci.org/display/JENKINS/Monitoring+external+jobs

It can be installed alongside jenkins itself or on any other machines
that you want to monitor external jobs on. 

The package provides a handy wrapper to take away some of the pain; 'man
jenkins-monitor-job' once installed will give you the low down but it
works in the same way as described on the Jenkins wiki:

	jenkins-monitor-job JOB_NAME COMMAND OPTIONS

e.g.

	jenkins-monitor-job external-test echo "Hello Jenkins!"

would execute the command 'echo "Hello Jenkins!"' and put the log into a
job called external-test in the specified Jenkins instance.

You can set a system wide JENKINS_HOME (e.g. http://localhost:8080)
in /etc/jenkins/external-job-monitor.conf or you can override it locally
by setting as an environment variable as part of the job execution
itself.

Hope this makes life a bit easier.

Regards

James

-- 
James Page
Software Engineer, Ubuntu Server Team

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References