Skip to content

Commit

Permalink
Activate tests during nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
pibizza committed Jan 17, 2025
1 parent 0fee971 commit 4c8b958
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/jenkins/dsl/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ void setupProjectNightlyJob() {
KogitoJobTemplate.createPipelineJob(this, jobParams)?.with {
parameters {
booleanParam('SKIP_TESTS', false, 'Skip all tests')
stringParam('RUN_TURTLE_TESTS', true, 'Execute the turtle tests')
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.condition.EnabledIfSystemProperty;
import org.kie.api.KieServices;
import org.kie.api.builder.ReleaseId;
Expand All @@ -40,6 +41,7 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.kie.scanner.KieMavenRepository.getKieMavenRepository;

@EnabledIfEnvironmentVariable(named = "RUN_TURTLE_TESTS", matches = "true")
@EnabledIfSystemProperty(named = "runTurtleTests", matches = "true")
public class ConcurrentBuildTest extends AbstractKieCiTest {
private static final Logger LOG = LoggerFactory.getLogger(ConcurrentBuildTest.class);
Expand Down

0 comments on commit 4c8b958

Please sign in to comment.