-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Blocker
-
Component/s: blueocean-plugin
-
1.0-beta-1
EDIT (mic): this seems only in Kyoto's config for now (still worth investigating..) - not block scoped stages.
This pipeline has failed but the stage is reported as successful
Jenkinsfile example
pipeline {
agent docker:'java'
stages {
stage ('Build') {
sh 'mvn clean source:jar package'
}
stage ('Browser Tests') {
parallel (
'Firefox': {
sh "echo 'setting up selenium environment'"
sh 'sleep 5000'
},
'Safari': {
sh "echo 'setting up selenium environment'"
sh 'sleep 5000'
},
'Chrome': {
sh "echo 'setting up selenium environment'"
sh 'sleep 3000'
},
'Internet Explorer': {
sh "echo 'setting up selenium environment'"
sh 'sleep 2000'
}
)
}
stage ('Static Analysis') {
sh 'mvn findbugs:findbugs'
}
stage ('Package') {
sh 'mvn source:jar package -Dmaven.test.skip'
}
}
postBuild {
always {
junit '**/target/surefire-reports/TEST-*.xml'
archive '**/target/*.jar'
}
}
}