Skip to content

Commit

Permalink
Ensure webpack:compile is called when running Jenkins
Browse files Browse the repository at this point in the history
The "unit" tests also include system tests.
  • Loading branch information
ekohl authored and stejskalleos committed Jan 24, 2024
1 parent 13fa3e7 commit 248085b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/discovery.rake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ end

load 'tasks/jenkins.rake'
if Rake::Task.task_defined?(:'jenkins:unit')
Rake::Task["jenkins:unit"].enhance do
# The "unit" tests also include system tests
Rake::Task["jenkins:unit"].enhance(['webpack:compile']) do
Rake::Task['test:discovery'].invoke
end
end

0 comments on commit 248085b

Please sign in to comment.