Skip to content

Commit 3bb0ef9

Browse files
Spencerspalger
andauthored
[7.x] [jenkins/security-cypress] run build before the tests (#75203) (#75248)
Co-authored-by: spalger <spalger@users.noreply.github.com>
1 parent 94cbef5 commit 3bb0ef9

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.ci/Jenkinsfile_security_cypress

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,15 @@ kibanaPipeline(timeoutMinutes: 180) {
99
channel: '#security-solution-slack-testing'
1010
) {
1111
catchError {
12-
workers.base(size: 's', ramDisk: false) {
13-
kibanaPipeline.bash('test/scripts/jenkins_security_solution_cypress.sh', 'Execute Security Solution Cypress Tests')
12+
withEnv([
13+
'CI_PARALLEL_PROCESS_NUMBER=1'
14+
]) {
15+
def job = 'xpack-securityCypress'
16+
17+
workers.ci(name: job, size: 'l', ramDisk: true) {
18+
kibanaPipeline.bash('test/scripts/jenkins_xpack_build_kibana.sh', 'Build Default Distributable')
19+
kibanaPipeline.functionalTestProcess(job, 'test/scripts/jenkins_security_solution_cypress.sh')()
20+
}
1421
}
1522
}
1623
}

vars/prChanges.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def getSkippablePaths() {
1111
/^.ci\/.+\.yml$/,
1212
/^.ci\/es-snapshots\//,
1313
/^.ci\/pipeline-library\//,
14+
/^.ci\/Jenkinsfile_[^\/]+$/,
1415
/^\.github\//,
1516
/\.md$/,
1617
]

0 commit comments

Comments
 (0)