diff --git a/ci/Jenkinsfiles/build.groovy b/ci/Jenkinsfiles/build.groovy index d26b7c68..f18114df 100644 --- a/ci/Jenkinsfiles/build.groovy +++ b/ci/Jenkinsfiles/build.groovy @@ -54,7 +54,7 @@ Closure buildUnitTestStage(env) { pipeline { agent { - label 'jenkins-nuxeo-package-lts-2021-node-18' + label 'jenkins-nuxeo-package-lts-2021-nodejs18' } options { buildDiscarder(logRotator(daysToKeepStr: '60', numToKeepStr: '60', artifactNumToKeepStr: '5')) @@ -110,31 +110,6 @@ pipeline { } } } - stage('Run unit tests') { - steps { - script { - def stages = [:] - stages['Backend - dev'] = { - container('maven') { - nxWithGitHubStatus(context: 'utests/backend/dev') { - try { - // empty file required by the read-project-properties goal of the properties-maven-plugin with the - // customEnvironment profile - sh 'touch /root/nuxeo-test-dev.properties' - retry(3) { - sh 'mvn -B -nsu -pl :nuxeo-coldstorage -Dcustom.environment=dev -Dcustom.environment.log.dir=target-dev test' - } - } finally { - archiveArtifacts artifacts: '**/target-dev/**/*.log' - junit allowEmptyResults: true, testResults: "**/target-dev/surefire-reports/*.xml" - } - } - } - } - parallel stages - } - } - } stage('Run functional tests') { environment { AWS_BUCKET_PREFIX = "ftests-$BRANCH_NAME-$BUILD_NUMBER/".toLowerCase()