Skip to content

Instantly share code, notes, and snippets.

View bsavelev's full-sized avatar

Boris Savelev bsavelev

  • Russia
View GitHub Profile
class TestLogLineObserver(util.LogLineObserver):
path = '/tmp/tmp.log'
def __init__(self, step):
self.step = step
util.LogLineObserver.__init__(self)
def outLineReceived(self, line):
buildnumber = self.step.getProperty('buildnumber')
buildername = self.step.getProperty('buildername')
#!/bin/sh
LOCK=`mktemp -d /tmp/test.XXXXXX`
sleep5() {
rmdir $LOCK
mkdir $LOCK
sleep 5
rmdir $LOCK
}