Skip to content

Commit

Permalink
Set smoke tests blocking in release testing only
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Xia <[email protected]>
  • Loading branch information
llxia committed Mar 25, 2024
1 parent 777a288 commit c554391
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2505,8 +2505,9 @@ class Build {
// Run Smoke Tests and AQA Tests
if (enableTests) {
try {
//Only smoke tests succeed TCK and AQA tests will be triggerred.
if (runSmokeTests() == 'SUCCESS') {
//Set smoke tests blocking in release testing only
def smokeTestsResult = runSmokeTests()
if (smokeTestsResult == 'SUCCESS' || !buildConfig.RELEASE) {
// Remote trigger Eclipse Temurin JCK tests
if (buildConfig.VARIANT == 'temurin' && enableTCK) {
def platform = ''
Expand Down

0 comments on commit c554391

Please sign in to comment.