Unverified Commit d022ccb4 authored by Jan Kaifer's avatar Jan Kaifer Committed by GitHub

Clean up CI logs (#45171)

parent 8aa42519
This diff is collapsed.
...@@ -279,6 +279,7 @@ async function main() { ...@@ -279,6 +279,7 @@ async function main() {
'--runInBand', '--runInBand',
'--forceExit', '--forceExit',
'--verbose', '--verbose',
'--silent',
...(isTestJob ...(isTestJob
? ['--json', `--outputFile=${test}${RESULTS_EXT}`] ? ['--json', `--outputFile=${test}${RESULTS_EXT}`]
: []), : []),
......
...@@ -56,13 +56,13 @@ export class NextDevInstance extends NextInstance { ...@@ -56,13 +56,13 @@ export class NextDevInstance extends NextInstance {
this.childProcess.stdout.on('data', (chunk) => { this.childProcess.stdout.on('data', (chunk) => {
const msg = chunk.toString() const msg = chunk.toString()
process.stdout.write(chunk) if (!process.env.CI) process.stdout.write(chunk)
this._cliOutput += msg this._cliOutput += msg
this.emit('stdout', [msg]) this.emit('stdout', [msg])
}) })
this.childProcess.stderr.on('data', (chunk) => { this.childProcess.stderr.on('data', (chunk) => {
const msg = chunk.toString() const msg = chunk.toString()
process.stderr.write(chunk) if (!process.env.CI) process.stderr.write(chunk)
this._cliOutput += msg this._cliOutput += msg
this.emit('stderr', [msg]) this.emit('stderr', [msg])
}) })
......
...@@ -24,13 +24,13 @@ export class NextStartInstance extends NextInstance { ...@@ -24,13 +24,13 @@ export class NextStartInstance extends NextInstance {
private handleStdio = (childProcess) => { private handleStdio = (childProcess) => {
childProcess.stdout.on('data', (chunk) => { childProcess.stdout.on('data', (chunk) => {
const msg = chunk.toString() const msg = chunk.toString()
process.stdout.write(chunk) if (!process.env.CI) process.stdout.write(chunk)
this._cliOutput += msg this._cliOutput += msg
this.emit('stdout', [msg]) this.emit('stdout', [msg])
}) })
childProcess.stderr.on('data', (chunk) => { childProcess.stderr.on('data', (chunk) => {
const msg = chunk.toString() const msg = chunk.toString()
process.stderr.write(chunk) if (!process.env.CI) process.stderr.write(chunk)
this._cliOutput += msg this._cliOutput += msg
this.emit('stderr', [msg]) this.emit('stderr', [msg])
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment