Skip to content

Commit 85fa308

Browse files
author
Artem Eroshenko
authored
fix jenkinsfile (via #1)
1 parent b574827 commit 85fa308

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

Jenkinsfile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ pipeline {
55
}
66
stages {
77
stage('Install') {
8-
steps { sh 'bundle install' }
8+
steps {
9+
sh 'gem install bundler -v 2.0.1'
10+
sh 'bundle install'
11+
}
912
}
1013
stage('Lint') {
1114
steps { sh 'bundle exec rake rubocop' }
@@ -19,12 +22,12 @@ pipeline {
1922
sh 'bundle exec rake release'
2023
}
2124
}
22-
post {
23-
always { deleteDir() }
24-
failure {
25-
slackSend message: "${env.JOB_NAME} - #${env.BUILD_NUMBER} failed (<${env.BUILD_URL}|Open>)",
26-
color: 'danger', teamDomain: 'qameta', channel: 'allure', tokenCredentialId: 'allure-channel'
27-
}
25+
}
26+
post {
27+
always { deleteDir() }
28+
failure {
29+
slackSend message: "${env.JOB_NAME} - #${env.BUILD_NUMBER} failed (<${env.BUILD_URL}|Open>)",
30+
color: 'danger', teamDomain: 'qameta', channel: 'allure', tokenCredentialId: 'allure-channel'
2831
}
2932
}
3033
}

allure-cucumber/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require "rspec/core/rake_task"
44
require "rubocop/rake_task"
55

66
RSpec::Core::RakeTask.new(:test) do |t|
7-
t.rspec_opts = "--color --require spec_helper --tag ~reporter"
7+
t.rspec_opts = "--color --require spec_helper --format documentation --tag ~reporter"
88
end
99

1010
RuboCop::RakeTask.new(:rubocop) do |task|

allure-ruby-commons/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require "rspec/core/rake_task"
44
require "rubocop/rake_task"
55

66
RSpec::Core::RakeTask.new(:test) do |t|
7-
t.rspec_opts = "--color --require spec_helper --tag ~reporter"
7+
t.rspec_opts = "--color --require spec_helper --format documentation --tag ~reporter"
88
end
99

1010
RuboCop::RakeTask.new(:rubocop) do |task|

0 commit comments

Comments
 (0)