def __init__(self, *args, **kwargs): configuration = kwargs.pop('configuration') self.command = self.command + ['--' + configuration] self.name = "set-configuration-%s" % (configuration, ) self.description = ["set configuration %s" % (configuration, )] self.descriptionDone = ["set configuration %s" % (configuration, )] ShellCommand.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): UploadCommand.__init__(self, *args, **kwargs) self.command = 'if [[ -d layout-test-results ]]; then find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; find layout-test-results -type f -print0 | xargs -0 chmod ug+r; rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; fi' % ( self.getRemotePath(), ) ShellCommand.__init__(self, *args, **kwargs)
def setBuild(self, build): ShellCommand.setBuild(self, build) self.initializeForUpload() self.command = '''\ if [[ -d WebKitBuild/Coverage/html ]]; then \ find WebKitBuild/Coverage/html -type d -print0 | xargs -0 chmod ug+rx; \ find WebKitBuild/Coverage/html -type f -print0 | xargs -0 chmod ug+r; \ rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" WebKitBuild/Coverage/html/ %s && rm -rf WebKitBuild/Coverage/html; \ fi;''' % (self.getRemotePath(), ) self.addFactoryArguments(command=self.command)
def __init__(self, *args, **kwargs): UploadCommand.__init__(self, *args, **kwargs) self.command = '''\ if [[ -d layout-test-results ]]; then \ find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; \ find layout-test-results -type f -print0 | xargs -0 chmod ug+r; \ rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; \ fi; \ CRASH_LOG=~/Library/Logs/CrashReporter/DumpRenderTree*.crash*; \ if [[ -f $(ls -1 $CRASH_LOG | head -n 1 ) ]]; then \ chmod ug+r $CRASH_LOG; \ rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" $CRASH_LOG %s && rm -rf $CRASH_LOG; \ fi;''' % (self.getRemotePath(), self.getRemotePath()) ShellCommand.__init__(self, *args, **kwargs)
def setBuild(self, build): ShellCommand.setBuild(self, build) self.initializeForUpload() self.command = ''' if [[ -d layout-test-results ]]; then \ find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; \ find layout-test-results -type f -print0 | xargs -0 chmod ug+r; \ rsync -rlvzP --rsync-path=/home/buildresults/bin/rsync layout-test-results/ %s && rm -rf layout-test-results; \ fi; \ CRASH_LOG=~/Library/Logs/CrashReporter/DumpRenderTree*.crash*; \ if [[ -f $(ls -1 $CRASH_LOG | head -n 1 ) ]]; then \ chmod ug+r $CRASH_LOG; \ rsync -rlvzP --rsync-path=/home/buildresults/bin/rsync $CRASH_LOG %s && rm -rf $CRASH_LOG; \ fi; ''' % (self.getRemotePath(), self.getRemotePath()) self.addFactoryArguments(command=self.command)
def setBuild(self, build): ShellCommand.setBuild(self, build) self.initializeForUpload() self.command = '''\ if [[ -d layout-test-results ]]; then \ find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; \ find layout-test-results -type f -print0 | xargs -0 chmod ug+r; \ rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; \ fi; \ CRASH_LOG=~/Library/Logs/CrashReporter/DumpRenderTree*.crash*; \ if [[ -f $(ls -1 $CRASH_LOG | head -n 1 ) ]]; then \ chmod ug+r $CRASH_LOG; \ rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" $CRASH_LOG %s && rm -rf $CRASH_LOG; \ fi;''' % (self.getRemotePath(), self.getRemotePath()) self.addFactoryArguments(command=self.command)
def __init__(self, *args, **kwargs): ShellCommand.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): UploadCommand.__init__(self, *args, **kwargs) self.command = 'umask 002 && ./WebKitTools/BuildSlaveSupport/build-launcher-app && ./WebKitTools/BuildSlaveSupport/build-launcher-dmg --upload-to-host %s' % ( self.getRemotePath(), ) ShellCommand.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): UploadCommand.__init__(self, *args, **kwargs) self.command = 'umask 002 && ./WebKitTools/BuildSlaveSupport/build-launcher-app && ./WebKitTools/BuildSlaveSupport/build-launcher-dmg --upload-to-host %s' % (self.getRemotePath(), ) ShellCommand.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): UploadCommand.__init__(self, *args, **kwargs) self.command = 'if [[ -d layout-test-results ]]; then find layout-test-results -type d -print0 | xargs -0 chmod ug+rx; find layout-test-results -type f -print0 | xargs -0 chmod ug+r; rsync -rlvzP --rsync-path="/home/buildresults/bin/rsync" layout-test-results/ %s && rm -rf layout-test-results; fi' % (self.getRemotePath(), ) ShellCommand.__init__(self, *args, **kwargs)