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 Mar 5, 2024
1 parent 5411aa7 commit 9be169a
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 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-node-18'
label 'jenkins-nuxeo-package-lts-2021-nodejs18'
}
options {
buildDiscarder(logRotator(daysToKeepStr: '60', numToKeepStr: '60', artifactNumToKeepStr: '5'))
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 9be169a

Please sign in to comment.