Skip to content

Items CCNet_Monitor

ggodart edited this page Jan 1, 2021 · 1 revision

CCNet_Monitor

See original

SYNOPSIS

Construct new Object of this type

 Constructor arguments:
   - instance name
   - CCNet project name
   - CCNet URL
   - Notification Object or Group
   - 1=>Announce suspects 0=>Do Not announce suspsects

Example initialization:

  $cont_build = new CCNet_Monitor('cont_build','ProgramSuite.Continuous.Build','http://dev-build1.development.programsuite.net/ccnet',$disco_light,1);
  $qa_build = new CCNet_Monitor('qa_build','ProgramSuite.QA.Build','http://dev-build1.development.programsuite.net/ccnet',undef,0);

DESCRIPTION

Gets ccnet status

Program will play sounds in the sound folder in the following format <ccnetProjectName>-<status>.wav and will set any object passed as the "Notification Object" to state "ON"

INHERITS

Base_Item

METHODS

INI PARAMETERS

None

AUTHOR

Jason Sharpee jason@sharpee.com

SEE ALSO

None

Clone this wiki locally