-
Notifications
You must be signed in to change notification settings - Fork 131
Items CCNet_Monitor
ggodart edited this page Jan 1, 2021
·
1 revision
See original
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);
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"
None
Jason Sharpee [email protected]
None