From 3d9e84ab7ca80bffe9eb18247a992a86b1a79309 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Mon, 19 Jul 2021 13:31:43 -0700 Subject: [PATCH] fix: Add default Jenkins slug --- src/ci_providers/provider_jenkinsci.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ci_providers/provider_jenkinsci.js b/src/ci_providers/provider_jenkinsci.js index beb7321b3..44722f3f0 100644 --- a/src/ci_providers/provider_jenkinsci.js +++ b/src/ci_providers/provider_jenkinsci.js @@ -47,8 +47,8 @@ function _getSHA(inputs) { } function _getSlug(inputs) { - const { args } = inputs - return args.slug || '' + const { args, envs } = inputs + return args.slug || envs.VCS_SLUG || '' } function getServiceParams(inputs) {