Revision f32d1127bf572e0a0367bea11ed5554f1f7e9fe0 authored by Tglman on 24 June 2022, 10:42:19 UTC, committed by Tglman on 24 June 2022, 10:42:19 UTC
1 parent 82ec5e6
Jenkinsfile-distributed.groovy
#!groovy
node("master") {
def mvnHome = tool 'mvn'
def mvnJdk8Image = "orientdb/mvn-gradle-zulu-jdk-8"
stage('Source checkout') {
checkout scm
}
stage('Run distributed test on Java8') {
try {
timeout(time: 240, unit: 'MINUTES') {
docker.image("${mvnJdk8Image}")
.inside("${env.VOLUMES}") {
sh "${mvnHome}/bin/mvn -f ./distributed/pom.xml --batch-mode -V -U -e -Dmaven.test.failure.ignore=true clean package -Dsurefire.useFile=false -DskipTests=false"
}
}
if (currentBuild.previousBuild == null || currentBuild.previousBuild.result != currentBuild.result) {
slackSend(color: '#00FF00', message: "SUCCESS: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
}
} catch (e) {
currentBuild.result = 'FAILURE'
if (currentBuild.previousBuild == null || currentBuild.previousBuild.result != currentBuild.result) {
slackSend(color: '#FF0000', message: "FAILED: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})")
}
throw e;
}
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...