Skip to content

Commit

Permalink
Use AutoML for smoke testing this change
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkurka committed Mar 17, 2021
1 parent 51cebfa commit a2e7bf5
Showing 1 changed file with 48 additions and 24 deletions.
72 changes: 48 additions & 24 deletions scripts/jenkins/groovy/defineTestStages.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,54 @@ def call(final pipelineContext) {
// Job will execute PR_STAGES only if these are green.
// for Python, smoke only oldest and latest supported versions
def SMOKE_STAGES = [
[
stageName: 'Py2.7 Smoke', target: 'test-py-smoke', pythonVersion: '2.7',timeoutValue: 8,
component: pipelineContext.getBuildConfig().COMPONENT_PY
],
[
stageName: 'Py3.7 Smoke', target: 'test-py-smoke', pythonVersion: '3.7',timeoutValue: 8,
component: pipelineContext.getBuildConfig().COMPONENT_PY
],
[
stageName: 'R3.5 Smoke', target: 'test-r-smoke', rVersion: '3.5.3',timeoutValue: 8,
component: pipelineContext.getBuildConfig().COMPONENT_R
],
[
stageName: 'R4.0 Smoke', target: 'test-r-smoke', rVersion: '4.0.2',timeoutValue: 8,
component: pipelineContext.getBuildConfig().COMPONENT_R
],
[
stageName: 'Flow Headless Smoke', target: 'test-flow-headless-smoke',timeoutValue: 20,
component: pipelineContext.getBuildConfig().COMPONENT_JS
],
[
stageName: 'Java 8 Smoke', target: 'test-junit-smoke-jenkins', javaVersion: 8, timeoutValue: 20,
component: pipelineContext.getBuildConfig().COMPONENT_JAVA
]
[
stageName: 'Java 8 AutoML JUnit (1)', target: 'test-junit-automl-jenkins', pythonVersion: '2.7', javaVersion: 8,
timeoutValue: 120, component: pipelineContext.getBuildConfig().COMPONENT_JAVA,
additionalTestPackages: [pipelineContext.getBuildConfig().COMPONENT_PY],
imageSpecifier: "python-2.7-jdk-8"
],
[
stageName: 'Java 8 AutoML JUnit (2)', target: 'test-junit-automl-jenkins', pythonVersion: '2.7', javaVersion: 8,
timeoutValue: 120, component: pipelineContext.getBuildConfig().COMPONENT_JAVA,
additionalTestPackages: [pipelineContext.getBuildConfig().COMPONENT_PY],
imageSpecifier: "python-2.7-jdk-8"
],
[
stageName: 'Java 8 AutoML JUnit (3)', target: 'test-junit-automl-jenkins', pythonVersion: '2.7', javaVersion: 8,
timeoutValue: 120, component: pipelineContext.getBuildConfig().COMPONENT_JAVA,
additionalTestPackages: [pipelineContext.getBuildConfig().COMPONENT_PY],
imageSpecifier: "python-2.7-jdk-8"
],
[
stageName: 'Java 8 AutoML JUnit (4)', target: 'test-junit-automl-jenkins', pythonVersion: '2.7', javaVersion: 8,
timeoutValue: 120, component: pipelineContext.getBuildConfig().COMPONENT_JAVA,
additionalTestPackages: [pipelineContext.getBuildConfig().COMPONENT_PY],
imageSpecifier: "python-2.7-jdk-8"
],
[
stageName: 'Java 8 AutoML JUnit (5)', target: 'test-junit-automl-jenkins', pythonVersion: '2.7', javaVersion: 8,
timeoutValue: 120, component: pipelineContext.getBuildConfig().COMPONENT_JAVA,
additionalTestPackages: [pipelineContext.getBuildConfig().COMPONENT_PY],
imageSpecifier: "python-2.7-jdk-8"
],
[
stageName: 'Java 8 AutoML JUnit (6)', target: 'test-junit-automl-jenkins', pythonVersion: '2.7', javaVersion: 8,
timeoutValue: 120, component: pipelineContext.getBuildConfig().COMPONENT_JAVA,
additionalTestPackages: [pipelineContext.getBuildConfig().COMPONENT_PY],
imageSpecifier: "python-2.7-jdk-8"
],
[
stageName: 'Java 8 AutoML JUnit (7)', target: 'test-junit-automl-jenkins', pythonVersion: '2.7', javaVersion: 8,
timeoutValue: 120, component: pipelineContext.getBuildConfig().COMPONENT_JAVA,
additionalTestPackages: [pipelineContext.getBuildConfig().COMPONENT_PY],
imageSpecifier: "python-2.7-jdk-8"
],
[
stageName: 'Java 8 AutoML JUnit (8)', target: 'test-junit-automl-jenkins', pythonVersion: '2.7', javaVersion: 8,
timeoutValue: 120, component: pipelineContext.getBuildConfig().COMPONENT_JAVA,
additionalTestPackages: [pipelineContext.getBuildConfig().COMPONENT_PY],
imageSpecifier: "python-2.7-jdk-8"
]
]

// Stages executed after each push to PR branch.
Expand Down

0 comments on commit a2e7bf5

Please sign in to comment.