Skip to content

Commit

Permalink
enable back ftest lts 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Feb 28, 2024
1 parent 443e4f9 commit 5ccb6f6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions ci/Jenkinsfiles/build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Closure buildUnitTestStage(env) {

pipeline {
agent {
label 'jenkins-nuxeo-package-lts-2021'
label 'jenkins-nuxeo-package-lts-2021-node-18'
}
options {
buildDiscarder(logRotator(daysToKeepStr: '60', numToKeepStr: '60', artifactNumToKeepStr: '5'))
Expand Down Expand Up @@ -114,6 +114,7 @@ pipeline {
steps {
script {
def stages = [:]
/*
stages['Frontend'] = {
container('playwright') {
nxWithGitHubStatus(context: 'utests/frontend') {
Expand All @@ -125,6 +126,7 @@ pipeline {
}
}
}
*/
stages['Backend - dev'] = {
container('maven') {
nxWithGitHubStatus(context: 'utests/backend/dev') {
Expand All @@ -142,8 +144,8 @@ pipeline {
}
}
}
stages['Backend - MongoDB'] = buildUnitTestStage('mongodb')
stages['Backend - PostgreSQL'] = buildUnitTestStage('postgresql')
/* stages['Backend - MongoDB'] = buildUnitTestStage('mongodb')
stages['Backend - PostgreSQL'] = buildUnitTestStage('postgresql') */
parallel stages
}
}
Expand All @@ -163,8 +165,6 @@ pipeline {
}
}
nxWithGitHubStatus(context: 'ftests') {
echo "Functional tests are disabled (https://jira.nuxeo.com/browse/WEBUI-1260 and https://jira.nuxeo.com/browse/WEBUI-1252)"
/*
script {
def testNamespace = "${CURRENT_NAMESPACE}-coldstorage-${BRANCH_NAME}-${BUILD_NUMBER}-ftests".replaceAll('\\.', '-').toLowerCase()
def nuxeoParentVersion = readMavenPom().getParent().getVersion()
Expand All @@ -179,7 +179,6 @@ pipeline {
}
}
}
*/
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions nuxeo-coldstorage-web/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ limitations under the License.
<exec executable="node" failonerror="true" outputproperty="node-version">
<arg value="--version" />
</exec>
<fail message="NodeJS version must be 14">
<fail message="NodeJS version must be 18">
<condition>
<not>
<contains string="${node-version}" substring="v14" />
<contains string="${node-version}" substring="v18" />
</not>
</condition>
</fail>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Nuxeo from 'nuxeo';
// eslint-disable-next-line import/no-extraneous-dependencies
import { When, Then, Before } from '@cucumber/cucumber';

Before(() => {
Expand Down
3 changes: 1 addition & 2 deletions nuxeo-coldstorage-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"author": "Nuxeo",
"license": "Apache-2.0",
"devDependencies": {
"@cucumber/cucumber": "^7.0.0",
"@nuxeo/nuxeo-web-ui-ftest": "~3.0.6-rc.0",
"@nuxeo/nuxeo-web-ui-ftest": "~3.0.31-rc.003",
"expect-webdriverio": "3.3.1",
"@open-wc/eslint-config": "^0.3.0",
"@esm-bundle/chai": "^4.1.5",
Expand Down

0 comments on commit 5ccb6f6

Please sign in to comment.