[monorepo] document jenkins pipelines (#27954)

* [saas-e2e] reset database when db-migration files were removed

* [monorepo] document jenkins pipelines

* [monorepo] trim docs for jenkins pipelines

GitOrigin-RevId: 783ad94f05b36f4057e3ac6cc8b8c40f850e5d2f
This commit is contained in:
Jakob Ackermann
2025-08-18 17:02:28 +02:00
committed by Copybot
parent 56f41c77ff
commit 2c9ce619dd
2 changed files with 18 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
// Initialize variables to signal that a given stage finished.
// We use them to build a graph of interconnected steps/dependencies.
// - Incoming edges use "waitUntil" and reference the given variables of dependencies.
// - Outgoing edges set the given variable to true.
def job_copybara_done = false
def job_npm_install_done = false
def job_prefetch_custom_done = false
@@ -8,13 +12,17 @@ def job_server_pro_build_done = false
pipeline {
agent {
node {
// Select a VM with the given tabel.
label 'jenkins-agent-web'
// Use the monorepo checkout in /workspace.
customWorkspace '/workspace'
}
}
options {
// Print timestamp next to each log line.
timestamps()
// Abort build after hitting first failure.
parallelsAlwaysFailFast()
timeout(time: 15, unit: 'MINUTES')
}
@@ -220,6 +228,7 @@ pipeline {
}
}
post {
// Ensure tear down of test containers, remove CE docker images, then run general Jenkins VM cleanup.
cleanup {
dir('server-ce/test') {
sh 'make clean'

View File

@@ -1,3 +1,7 @@
// Initialize variables to signal that a given stage finished.
// We use them to build a graph of interconnected steps/dependencies.
// - Incoming edges use "waitUntil" and reference the given variables of dependencies.
// - Outgoing edges set the given variable to true.
def action_test_frontend_ct_build = false
def action_build_deps = false
def action_copy_external_pages = false
@@ -11,13 +15,17 @@ def action_build_production= false
pipeline {
agent {
node {
// Select a VM with the given tabel.
label 'jenkins-agent-web'
// Use the monorepo checkout in /workspace.
customWorkspace '/workspace'
}
}
options {
// Print timestamp next to each log line.
timestamps()
// Abort build after hitting first failure.
parallelsAlwaysFailFast()
timeout(time: 15, unit: 'MINUTES')
}
@@ -447,6 +455,7 @@ pipeline {
}
}
post {
// Ensure tear down of test containers, then run general Jenkins VM cleanup.
cleanup {
dir('services/web') {
sh 'make clean'