Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
adeldhis2 committed Dec 9, 2024
1 parent 3634433 commit ac9d1d4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions jenkinsfiles/trigger-external-tests
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ pipeline {
}
}

// Commented out "Deploy DHIS2 Instance" stage to save resources during debugging
/*
stage('Deploy DHIS2 Instance') {
steps {
script {
Expand Down Expand Up @@ -131,7 +129,6 @@ pipeline {
}
}
}
*/

stage('Trigger Cypress Tests') {
steps {
Expand All @@ -140,7 +137,7 @@ pipeline {
def repos = ['dhis2/line-listing-app', 'dhis2/aggregate-data-entry-app']
def payload = [
dhis2_version: env.DOCKER_IMAGE_TAG,
instance_url: "https://test.e2e.dhis2.org/analytics-2.41"
instance_url: "$INSTANCE_URL"
]

repos.each { repo ->
Expand All @@ -151,7 +148,7 @@ pipeline {
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token \$GITHUB_TOKEN" \
https://api.github.com/repos/${repo}/actions/workflows/e2e-test-dispatch.yml/dispatches \
-d '{ "ref": "workflow-dispatch-cypress", "inputs": {"dhis2_version":"${env.DOCKER_IMAGE_TAG}", "instance_url":"https://test.e2e.dhis2.org/analytics-2.41"} }'
-d '{ "ref": "workflow-dispatch-cypress", "inputs": {"dhis2_version":"${env.DOCKER_IMAGE_TAG}", "instance_url":"$INSTANCE_URL"} }'
""",
returnStdout: true
).trim()
Expand Down

0 comments on commit ac9d1d4

Please sign in to comment.