We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e2112a commit 5af728aCopy full SHA for 5af728a
2 files changed
lib/job.js
@@ -328,7 +328,11 @@ Job.prototype = {
328
branch: this.job.ref.branch,
329
project: this.project,
330
331
- runnerId: this.config.branchConfig.runner.id
+ runnerId: (
332
+ this.config.branchConfig
333
+ && this.config.branchConfig.runner
334
+ && this.config.branchConfig.runner.id || 'unkown'
335
+ )
336
};
337
338
return context;
test/test_run.js
@@ -53,8 +53,7 @@ describe('Integration', function () {
53
}], { // config
54
dataDir: '/tmp/',
55
cachier: cachier,
56
- io: new EventEmitter(),
57
- branchConfig : { runner : { id : 'dummy' } }
+ io: new EventEmitter()
58
}, function (err) {
59
if (err) return done(err)
60
for (var name in called) {
0 commit comments