rubocop #29
Vendored
+3
-2
@@ -16,6 +16,7 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Build dependencies') {
|
stage('Build dependencies') {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'bundle config set --local path "vendor"'
|
||||||
sh 'bundle install'
|
sh 'bundle install'
|
||||||
sh 'sequel -m db/migrations sqlite://db/${DB_NAME}'
|
sh 'sequel -m db/migrations sqlite://db/${DB_NAME}'
|
||||||
}
|
}
|
||||||
@@ -28,10 +29,10 @@ pipeline {
|
|||||||
stage('Run tests') {
|
stage('Run tests') {
|
||||||
steps {
|
steps {
|
||||||
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
||||||
sh 'cucumber features --format html --out cucumber.html'
|
sh 'bundle exec cucumber features --format html --out cucumber.html'
|
||||||
}
|
}
|
||||||
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
|
||||||
sh 'rspec spec --format html --out spec.html'
|
sh 'bundle exec rspec spec --format html --out spec.html'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user