Skip to content

Commit d8586ee

Browse files
committed
Merge pull request #12 from chriz2600/master
Added runnerId to context
2 parents 3b034fc + 5af728a commit d8586ee

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

lib/job.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,13 @@ Job.prototype = {
326326
phase: this.phase,
327327
job: this.job,
328328
branch: this.job.ref.branch,
329-
project: this.project
329+
project: this.project,
330+
331+
runnerId: (
332+
this.config.branchConfig
333+
&& this.config.branchConfig.runner
334+
&& this.config.branchConfig.runner.id || 'unkown'
335+
)
330336
};
331337

332338
return context;

0 commit comments

Comments
 (0)