Skip to content

Commit

Permalink
Merge pull request #831 from hmcts/ccd-definition-generation-prod
Browse files Browse the repository at this point in the history
added ccd definition generation logic
  • Loading branch information
mohitvijay45 authored Jun 28, 2023
2 parents 3b58866 + 0bd9c64 commit 7c2ce48
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -192,21 +192,6 @@ withPipeline(type, product, component) {
reportFiles : "index.html",
reportName : "Smoke Test Report"
]

println "Generating CCD Definition after smokeTest:aat"
env.ENVIRONMENT="prod"
env.CASE_API_URL="http://adoption-cos-api-prod.service.core-compute-prod.internal"
env.CCD_DEF_NAME="prod"
env.DEFINITION_STORE_URL_BASE="http://ccd-definition-store-api-prod.service.core-compute-prod.internal"
env.CITIZEN_UPDATE_CASE_STATE_ENABLED=true
env.SERVICE_AUTH_MICROSERVICE = "adoption_cos_api"
env.SERVICE_AUTH_PROVIDER_URL = "http://rpe-service-auth-provider-prod.service.core-compute-prod.internal"
env.IDAM_API_URL_BASE = "https://idam-api.platform.hmcts.net"
env.S2S_URL_BASE = "http://rpe-service-auth-provider-prod.service.core-compute-prod.internal"
env.BEFTA_S2S_CLIENT_ID = "ccd_data"

builder.gradle('generateCCDConfig --rerun-tasks')
generateDefinitions()
}

afterAlways('checkout') {
Expand Down Expand Up @@ -324,7 +309,20 @@ withPipeline(type, product, component) {

afterAlways('functionalTest:aat') {
steps.archiveArtifacts allowEmptyArchive: true, artifacts: 'output/**/*'
println "We can generate CCD Definition after functionalTest:aat"
println "Generating CCD Definition afterAlways functionalTest:aat"
env.ENVIRONMENT="prod"
env.CASE_API_URL="http://adoption-cos-api-prod.service.core-compute-prod.internal"
env.CCD_DEF_NAME="prod"
env.DEFINITION_STORE_URL_BASE="http://ccd-definition-store-api-prod.service.core-compute-prod.internal"
env.CITIZEN_UPDATE_CASE_STATE_ENABLED=true
env.SERVICE_AUTH_MICROSERVICE = "adoption_cos_api"
env.SERVICE_AUTH_PROVIDER_URL = "http://rpe-service-auth-provider-prod.service.core-compute-prod.internal"
env.IDAM_API_URL_BASE = "https://idam-api.platform.hmcts.net"
env.S2S_URL_BASE = "http://rpe-service-auth-provider-prod.service.core-compute-prod.internal"
env.BEFTA_S2S_CLIENT_ID = "ccd_data"

builder.gradle('generateCCDConfig --rerun-tasks')
generateDefinitions()
}
}

Expand Down

0 comments on commit 7c2ce48

Please sign in to comment.