Skip to content

Commit b59205c

Browse files
committed
Log job name when proxying Jenkins -> GH status (nodejs#39)
1 parent 39f2c49 commit b59205c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/push-jenkins-update.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ function createGhStatusFn (options) {
2323
description: message
2424
}, (err, res) => {
2525
if (err) {
26-
return console.error(`! ${prInfo} Error while updating Jenkins / GitHub PR status`, err)
26+
return console.error(`! ${prInfo} Error while updating Jenkins / GitHub PR status to '${state}' for ${options.context}`, err)
2727
}
28-
console.log(`* ${prInfo} Jenkins / Github PR status updated to '${state}'`)
28+
console.log(`* ${prInfo} Jenkins / Github PR status updated to '${state}' for ${options.context}`)
2929
})
3030
}
3131
}

0 commit comments

Comments
 (0)