Skip to content

Commit

Permalink
chore(ci): use beat_version instead of PR version (#24446) (#24512)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya authored Mar 15, 2021
1 parent bc370ea commit c257f13
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .ci/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -342,13 +342,11 @@ def triggerE2ETests(String suite) {
booleanParam(name: 'notifyOnGreenBuilds', value: !isPR()),
booleanParam(name: 'BEATS_USE_CI_SNAPSHOTS', value: true),
string(name: 'runTestsSuites', value: suite),
string(name: 'BEAT_VERSION', value: env.BEAT_VERSION),
string(name: 'GITHUB_CHECK_NAME', value: env.GITHUB_CHECK_E2E_TESTS_NAME),
string(name: 'GITHUB_CHECK_REPO', value: env.REPO),
string(name: 'GITHUB_CHECK_SHA1', value: env.GIT_BASE_COMMIT),
]
if (isPR()) {
parameters.push(string(name: 'BEAT_VERSION', value: "pr-${env.CHANGE_ID}"))
}

build(job: "${e2eTestsPipeline}",
parameters: parameters,
Expand Down

0 comments on commit c257f13

Please sign in to comment.