Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qtwayland-gerrit-watcher
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qtwaylandtests
qtwayland-gerrit-watcher
Commits
6abcd02d
Commit
6abcd02d
authored
Apr 20, 2018
by
Johan Helsing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup comments
parent
dc26076d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
server.js
server.js
+2
-1
No files found.
server.js
View file @
6abcd02d
...
...
@@ -111,7 +111,7 @@ function listenForGerritChanges() {
const
testProcess
=
startDockerTest
(
test
);
testProcess
.
on
(
'
close
'
,
code
=>
{
const
failed
=
code
!=
0
;
//TODO: Maybe it's only for code === 2 that the test actually failed?
const
failed
=
code
!=
0
;
const
commit
=
`
${
change
.
number
}
,
${
patchSet
.
number
}
`
;
var
message
=
'
Experimental QtWayland Bot:
'
+
`Running headless tests
${
commit
}
${
failed
?
'
failed
'
:
'
succeeded
'
}
`
;
...
...
@@ -129,6 +129,7 @@ function listenForGerritChanges() {
});
});
// The ssh connection will sometimes disconnect us. In that case, just reconnect.
emitter
.
on
(
'
gerritStreamEnd
'
,
()
=>
emitter
.
start
());
console
.
log
(
"
Starting gerrit-watcher
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment