diff --git a/tests/.infra/crw-ci/pre-release-testing/k8s/happy-path-tests/Jenkinsfile b/tests/.infra/crw-ci/pre-release-testing/k8s/happy-path-tests/Jenkinsfile index ced38cbce64..03455526e56 100644 --- a/tests/.infra/crw-ci/pre-release-testing/k8s/happy-path-tests/Jenkinsfile +++ b/tests/.infra/crw-ci/pre-release-testing/k8s/happy-path-tests/Jenkinsfile @@ -82,8 +82,6 @@ pipeline { customResourceFileContent = customResourceFileContent.replace("eclipse/che-keycloak:nightly", "eclipse/che-keycloak:rc") customResourceFileContent = customResourceFileContent.replace("quay.io/eclipse/che-devfile-registry:nightly", "quay.io/eclipse/che-devfile-registry:$RELEASE_VERSION") customResourceFileContent = customResourceFileContent.replace("quay.io/eclipse/che-plugin-registry:nightly", "quay.io/eclipse/che-plugin-registry:$RELEASE_VERSION") - - echo "$customResourceFileContent" } } } diff --git a/tests/.infra/crw-ci/pre-release-testing/k8s/vert.x/Jenkinsfile b/tests/.infra/crw-ci/pre-release-testing/k8s/vert.x/Jenkinsfile new file mode 100644 index 00000000000..b4786dffbee --- /dev/null +++ b/tests/.infra/crw-ci/pre-release-testing/k8s/vert.x/Jenkinsfile @@ -0,0 +1,78 @@ +pipeline { + agent { label 'rhel7-8gb' } + + environment { + String customResourceFileContent = "" + } + + parameters { + string(name: 'RELEASE_BRANCH', + defaultValue: "7.5.x", + description: 'Branch with pre-release version to take E2E Happy path test.') + + string(name: 'RELEASE_VERSION', + defaultValue: "7.5.0", + description: 'Version of Che-theia') + } + + stages { + stage('Patch custom-resource.yaml') { + steps { + script { + String customResourceFilePath = "${WORKSPACE}/custom-resource.yaml" + + sh """ + wget https://raw.githubusercontent.com/eclipse/che-operator/master/deploy/crds/org_v1_che_cr.yaml \\ + -O $customResourceFilePath + """ + + customResourceFileContent = readFile customResourceFilePath + customResourceFileContent = customResourceFileContent.replace("eclipse/che-keycloak:nightly", "eclipse/che-keycloak:rc") + customResourceFileContent = customResourceFileContent.replace("quay.io/eclipse/che-devfile-registry:nightly", "quay.io/eclipse/che-devfile-registry:$RELEASE_VERSION") + customResourceFileContent = customResourceFileContent.replace("quay.io/eclipse/che-plugin-registry:nightly", "quay.io/eclipse/che-plugin-registry:$RELEASE_VERSION") + + echo "$customResourceFileContent" + } + } + } + + stage('Run Vert.x tests against Eclipse Che release candidate') { + steps { + script { + build job: 'basic-MultiUser-Che-check-E2E-Happy-path-tests-against-k8s', + parameters: [ + string(name: 'cheImageRepo', + value: 'eclipse/che-server'), + + string(name: 'cheImageTag', + value: 'rc'), + + booleanParam(name: 'buildChe', + value: false), + + string(name: 'ghprbAuthorRepoGitUrl', + value: 'https://github.com/eclipse/che.git'), + + string(name: 'ghprbSourceBranch', + value: "$RELEASE_BRANCH"), + + string(name: 'ghprbPullId', + value: ''), + + string(name: 'e2eTestToRun', + value: 'test-java-vertx'), + + string(name: 'testWorkspaceDevfileUrl', + value: ""), + + text(name: 'customResourceFileContent', + value: "$customResourceFileContent"), + + booleanParam(name: 'createTestWorkspace', + value: false) + ] + } + } + } + } +} \ No newline at end of file