Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTSAM-379 canIDeploy Index 0 out of bounds for length 0 Issue - comma… #1982

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ dependencyManagement {

project.ext {
pacticipant = 'accessMgmt_orgRoleMapping'
pacticipantVersion = getCheckedOutGitCommitHash()
// DTSAM-379 canIDeploy Index 0 out of bounds for length 0 Issue
pacticipantVersion = System.env.GIT_COMMIT.substring(0,9)
}

task contract(type: Test) {
Expand Down Expand Up @@ -633,10 +634,6 @@ task runProviderPactVerification(type: Test) {

runProviderPactVerification.finalizedBy pactVerify

static def getCheckedOutGitCommitHash() {
'git rev-parse --verify --short HEAD'.execute().text.trim()
}

pact {
broker {
pactBrokerUrl = System.getenv("PACT_BROKER_FULL_URL") ?: 'http://localhost:9292'
Expand Down