@@ -12,7 +12,6 @@ const shell = require('shelljs');
1212
1313const config = require ( './config/config' ) . settings ;
1414const Coverage = require ( './coverage' ) ;
15- const { request } = require ( '@octokit/request' ) ;
1615const queue = new ( require ( './queue.js' ) ) ( ) ; // The queue object for our app to use
1716
1817
@@ -342,12 +341,18 @@ function startJobTimer(job, kill_children = false) {
342341 * @param {Object } job - The Job with an associated process in the data field.
343342 */
344343async function initCoveralls ( job ) {
345- log . extend ( 'pipeline' ) ( 'Setting COVERALLS env variables' ) ;
344+ const debug = log . extend ( 'pipeline' ) ;
345+ debug ( 'Setting COVERALLS env variables' ) ;
346346 process . env . COVERALLS_SERVICE_NAME = job . data . context ;
347+ debug ( 'COVERALLS_SERVICE_NAME = %s' , job . data . context ) ;
347348 process . env . COVERALLS_GIT_COMMIT = job . data . sha ;
349+ debug ( 'COVERALLS_GIT_COMMIT = %s' , job . data . sha ) ;
348350 process . env . COVERALLS_SERVICE_JOB_ID = job . id ;
351+ debug ( 'COVERALLS_SERVICE_JOB_ID = %i' , job . id ) ;
349352 process . env . COVERALLS_GIT_BRANCH = job . data . branch ;
353+ debug ( 'COVERALLS_GIT_BRANCH = %s' , job . data . branch ) ;
350354 process . env . CI_PULL_REQUEST = job . data . pull_number ;
355+ debug ( 'CI_PULL_REQUEST = %s' , job . data . pull_number ) ;
351356}
352357
353358/**
0 commit comments