Jenkinsfile in uricp-0.0.14 vs Jenkinsfile in uricp-0.0.15
- old
+ new
@@ -23,10 +23,15 @@
}
steps {
sh 'bundle install --deployment'
sh 'bundle exec rake features:new_qemu'
}
+ post {
+ always {
+ sh 'bundle exec rake features:clean'
+ }
+ }
}
stage("Trusty, Ruby 1.9.3") {
agent {
dockerfile {
dir 'trusty'
@@ -35,10 +40,15 @@
}
steps {
sh 'bundle install --deployment'
sh 'bundle exec rake features:new_qemu'
}
+ post {
+ always {
+ sh 'bundle exec rake features:clean'
+ }
+ }
}
stage("Xenial, Ruby 2.3.1") {
agent {
dockerfile {
dir 'xenial'
@@ -46,9 +56,31 @@
}
}
steps {
sh 'bundle install --deployment'
sh 'bundle exec rake features:new_qemu'
+ }
+ post {
+ always {
+ sh 'bundle exec rake features:clean'
+ }
+ }
+ }
+ stage("Bionic, Ruby 2.5.1") {
+ agent {
+ dockerfile {
+ dir 'bionic'
+ label "docker"
+ }
+ }
+ steps {
+ sh 'bundle install --deployment'
+ sh 'bundle exec rake features:new_qemu'
+ }
+ post {
+ always {
+ sh 'bundle exec rake features:clean'
+ }
}
}
}
}