Skip to content

Commit

Permalink
[securitySolution/cypress] temporarily limit to PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Dec 29, 2020
1 parent b120cb3 commit 1c5dc63
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions vars/tasks.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,16 @@ def functionalXpack(Map params = [:]) {
task(kibanaPipeline.functionalTestProcess('xpack-savedObjectsFieldMetrics', './test/scripts/jenkins_xpack_saved_objects_field_metrics.sh'))
}

whenChanged([
'x-pack/plugins/security_solution/',
'x-pack/test/security_solution_cypress/',
'x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/',
'x-pack/plugins/triggers_actions_ui/public/application/context/actions_connectors_context.tsx',
]) {
task(kibanaPipeline.functionalTestProcess('xpack-securitySolutionCypress', './test/scripts/jenkins_security_solution_cypress.sh'))
}
whenChanged([
'x-pack/plugins/security_solution/',
'x-pack/test/security_solution_cypress/',
'x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/',
'x-pack/plugins/triggers_actions_ui/public/application/context/actions_connectors_context.tsx',
]) {
if (githubPr.isPr()) {
task(kibanaPipeline.functionalTestProcess('xpack-securitySolutionCypress', './test/scripts/jenkins_security_solution_cypress.sh'))
}
}
}
}

Expand Down

0 comments on commit 1c5dc63

Please sign in to comment.