Skip to content

Commit

Permalink
Fixes #37033 - Drop unused katello:rubocop:jenkins rake task
Browse files Browse the repository at this point in the history
Jenkins uses katello:rubocop and doesn't parse the results right now, so
the dependency can be dropped safely.
  • Loading branch information
ekohl authored and ianballou committed Jan 10, 2024
1 parent 90a8ba0 commit 3291b41
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion katello.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "mocha"
gem.add_development_dependency "vcr", "< 4.0.0"
gem.add_development_dependency "webmock"
gem.add_development_dependency "rubocop-checkstyle_formatter"
gem.add_development_dependency "simplecov"
gem.add_development_dependency "simplecov-rcov"
gem.add_development_dependency "robottelo_reporter"
Expand Down
9 changes: 0 additions & 9 deletions lib/katello/tasks/rubocop.rake
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,4 @@ namespace :katello do
system("bundle exec rubocop -D #{Katello::Engine.root}")
exit($CHILD_STATUS.exitstatus)
end

desc "Runs Rubocop style checker with xml output for Jenkins"
task 'rubocop:jenkins' do
system("bundle exec rubocop #{Katello::Engine.root} \
--require rubocop/formatter/checkstyle_formatter \
--format RuboCop::Formatter::CheckstyleFormatter \
--no-color --out rubocop.xml")
exit($CHILD_STATUS.exitstatus)
end
end

0 comments on commit 3291b41

Please sign in to comment.