Repository navigation
Expand file tree
/
Copy pathJenkinsfile
More file actions
41 lines (35 loc) · 1.54 KB
/
Copy pathJenkinsfile
File metadata and controls
41 lines (35 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@Library([
'pipe-build-lib',
'ces-build-lib',
'dogu-build-lib'
]) _
def pipe = new com.cloudogu.sos.pipebuildlib.DoguPipe(this, [
doguName : "jenkins",
shellScripts : "resources/startup.sh resources/upgrade-notification.sh resources/pre-upgrade.sh",
dependencies : ["cas", "usermgt"],
checkMarkdown : true,
runIntegrationTests : true,
// Default cypress/included:13.17.0 bundles Node 22.13, too old for
// cosmiconfig@10 (pulled in by @badeball/cypress-cucumber-preprocessor@28,
// required for cypress@16 compatibility). Override to an image with a
// newer bundled Node until the shared pipeline lib's own default catches up.
cypressImage : "cypress/included:16.1.1",
])
pipe.setBuildProperties()
pipe.addDefaultStages()
pipe.insertStageAfter("Integration tests","Test: Change Global Admin Group") {
def ctx = pipe.ecoSystem
ctx.changeGlobalAdminGroup("newAdminGroup")
ctx.restartDogu("jenkins")
ctx.waitForDogu("jenkins")
ctx.runCypressIntegrationTests([
// Default cypress/included:13.17.0 bundles Node 22.13, too old for
// cosmiconfig@10 (pulled in by @badeball/cypress-cucumber-preprocessor@28,
// required for cypress@16 compatibility). Override to an image with a
// newer bundled Node until the shared pipeline lib's own default catches up.
cypressImage : "cypress/included:16.1.1",
enableVideo : false,
enableScreenshots: false
])
}
pipe.run()