aboutsummaryrefslogtreecommitdiff
path: root/lib/convertLcovToCoveralls.js
diff options
context:
space:
mode:
authorMerrifield, Jay <[email protected]>2015-04-21 13:53:13 -0400
committerMerrifield, Jay <[email protected]>2015-04-21 13:53:33 -0400
commit199d15ee8b7215e84cb1b133bd913ed718b84da2 (patch)
tree3209a16b46368dde6a0dd0baef33accd25a7e4ad /lib/convertLcovToCoveralls.js
parentd5e1372bbd79a9fabbceec9624a220f1a8f75348 (diff)
downloadnode-coveralls-199d15ee8b7215e84cb1b133bd913ed718b84da2.tar.xz
node-coveralls-199d15ee8b7215e84cb1b133bd913ed718b84da2.zip
Added support for service_pull_request in jenkins using the github pull request plugin's environment variables
Diffstat (limited to 'lib/convertLcovToCoveralls.js')
-rw-r--r--lib/convertLcovToCoveralls.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/convertLcovToCoveralls.js b/lib/convertLcovToCoveralls.js
index 3f604e1..37add87 100644
--- a/lib/convertLcovToCoveralls.js
+++ b/lib/convertLcovToCoveralls.js
@@ -48,6 +48,9 @@ var convertLcovToCoveralls = function(input, options, cb){
if (options.service_job_id){
postJson.service_job_id = options.service_job_id;
}
+ if (options.service_pull_request){
+ postJson.service_pull_request = options.service_pull_request;
+ }
if (options.repo_token) {
postJson.repo_token = options.repo_token;
}