No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
e5c5179
... +0 ...
559d5ba
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
1 | 1 | 'use strict'; |
|
2 | 2 | ||
3 | + | var config = require('../../config'); |
|
4 | + | ||
3 | 5 | module.exports = function* showSync() { |
|
4 | 6 | var name = this.params.name || this.params[0] || this.query.name; |
|
5 | 7 | if (!name) { |
11 | 13 | name = splits[1]; |
|
12 | 14 | type = splits[0]; |
|
13 | 15 | } |
|
16 | + | var syncTaskUrl = config.enableWebDataRemoteRegistry ? `${config.webDataRemoteRegistry}/${name}/sync` : null; |
|
14 | 17 | yield this.render('sync', { |
|
15 | 18 | type: type, |
|
16 | 19 | name: name, |
|
17 | 20 | title: 'Sync ' + type + ' - ' + name, |
|
21 | + | syncTaskUrl, |
|
18 | 22 | }); |
|
19 | 23 | }; |
Learn more Showing 1 files with coverage changes found.
controllers/sync_module_worker.js
Files | Coverage |
---|---|
common | 67.39% |
controllers | -0.10% 84.60% |
middleware | 94.34% |
models | 89.96% |
routes | 100.00% |
servers | 90.91% |
services | 91.07% |
sync | 89.61% |
config/index.js | 76.47% |
lib/common.js | 88.46% |
Project Totals (101 files) | 86.88% |
559d5ba
e5c5179