Skip to content

Commit

Permalink
Merge branch 'issue_4531' into issue_4732
Browse files Browse the repository at this point in the history
  • Loading branch information
royalhuang committed Aug 19, 2021
2 parents 946e723 + 3ea544a commit 5a7b12b
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,13 @@ data class StagePauseCheck(
}
}
reviewDesc = EnvUtils.parseEnv(reviewDesc, variables)
reviewParams?.forEach { it.value = EnvUtils.parseEnv(it.value.toString(), variables) }
reviewParams?.forEach {
it.value = if (variables.containsKey(it.key)) {
variables[it.key]
} else {
EnvUtils.parseEnv(it.value.toString(), variables)
}
}
}

/**
Expand Down

0 comments on commit 5a7b12b

Please sign in to comment.