add ubuntu-20.04 in Jenkins setup

This commit is contained in:
Stanislaw Kaushanski 2020-08-07 09:44:47 +02:00
parent 95419571c3
commit a82d6e408b
1 changed files with 14 additions and 30 deletions

44
Jenkinsfile vendored
View File

@ -72,48 +72,32 @@ pipeline {
stages { stages {
stage('HiFive-VP pipeline') { stage('HiFive-VP pipeline') {
parallel { parallel {
stage('ubuntu'){ stage('ubuntu18'){
agent {docker { image 'ubuntu-18.04' } } agent {docker { image 'ubuntu-18.04' } }
stages { stages {
stage('Checkout on Ubuntu') { stage('Checkout on Ubuntu18.04') { steps { checkout_hifive_vp() }}
steps { stage('Build') { steps { build_hifive_vp() } }
checkout_hifive_vp() }
} }
} stage('ubuntu20'){
stage('Build on Ubuntu') { agent {docker { image 'ubuntu-20.04' } }
steps { stages {
build_hifive_vp() stage('Checkout on Ubuntu20.04') { steps { checkout_hifive_vp() }}
} stage('Build') { steps { build_hifive_vp() } }
}
} }
} }
stage('Fedora28'){ stage('Fedora28'){
agent {docker { image 'fedora28' } } agent {docker { image 'fedora28' } }
stages { stages {
stage('Checkout on Fedora') { stage('Checkout on Fedora') { steps {checkout_hifive_vp()}}
steps { stage('Build') { steps {build_hifive_vp() }}
checkout_hifive_vp()
}
}
stage('Build on Fedora') {
steps {
build_hifive_vp()
}
}
} }
} }
stage('No SCV'){ stage('No SCV'){
agent {docker { image 'ubuntu-18.04' } } agent {docker { image 'ubuntu-18.04' } }
stages { stages {
stage('Checkout on Ubuntu') { stage('Checkout on Ubuntu') { steps {checkout_hifive_vp()}}
steps { stage('Build without SCV') { steps {build_hifive_without_scv()}
checkout_hifive_vp()
}
}
stage('Build without SCV') {
steps {
build_hifive_without_scv()
}
} }
} }
} }