Skip to content

Commit

Permalink
fix: Add default Jenkins slug
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Jul 19, 2021
1 parent 1732d84 commit 3d9e84a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ci_providers/provider_jenkinsci.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3d9e84a

Please sign in to comment.