Merge branch 'release/os/4.7' into wz/merge-os-47-48-2022-01-12

This commit is contained in:
Waldemar Zurowski 2022-01-12 09:52:52 +01:00
commit 00ba7b3447
3 changed files with 15 additions and 13 deletions

View File

@ -65,6 +65,7 @@ pipeline {
parameters { parameters {
choice choices: nexusIqStageChoices, description: 'NexusIQ stage for code evaluation', name: 'nexusIqStage' choice choices: nexusIqStageChoices, description: 'NexusIQ stage for code evaluation', name: 'nexusIqStage'
booleanParam defaultValue: true, description: 'Run tests during this build?', name: 'DO_TEST'
} }
/* /*
@ -91,6 +92,9 @@ pipeline {
} }
stage('Stash') { stage('Stash') {
when {
expression { params.DO_TEST }
}
steps { steps {
stash name: 'compiled', useDefaultExcludes: false stash name: 'compiled', useDefaultExcludes: false
} }
@ -115,6 +119,10 @@ pipeline {
} }
stage('All Tests') { stage('All Tests') {
when {
expression { params.DO_TEST }
beforeAgent true
}
parallel { parallel {
stage('Another agent') { stage('Another agent') {
agent { agent {
@ -321,10 +329,12 @@ pipeline {
always { always {
script { script {
try { try {
if (params.DO_TEST) {
unstash 'allure-input' unstash 'allure-input'
allure includeProperties: false, allure includeProperties: false,
jdk: '', jdk: '',
results: [[path: '**/allure-input']] results: [[path: '**/allure-input']]
}
} catch (err) { } catch (err) {
echo("Allure report generation failed: $err") echo("Allure report generation failed: $err")

View File

@ -404,6 +404,7 @@ allprojects {
includeGroup 'co.paralleluniverse' includeGroup 'co.paralleluniverse'
includeGroup 'org.crashub' includeGroup 'org.crashub'
includeGroup 'com.github.bft-smart' includeGroup 'com.github.bft-smart'
includeGroup 'com.github.detro'
} }
} }
maven { maven {

View File

@ -72,15 +72,6 @@ dependencies {
testCompile "com.github.detro:ghostdriver:$ghostdriver_version" testCompile "com.github.detro:ghostdriver:$ghostdriver_version"
} }
repositories {
maven {
url 'https://maven.scijava.org/content/repositories/public/'
content {
includeGroup 'com.github.detro'
}
}
}
bootRepackage { bootRepackage {
enabled = false enabled = false
} }