Merge pull request #29898 from overleaf/gs-jenkins-issues-all-pipelines

Enable Jenkins hooks for creating GitHub issues for all pipelines with owners

GitOrigin-RevId: ba46db1d3137db12ee5c78f09b126fb9927d9c49
This commit is contained in:
Gernot Schulz
2025-11-26 14:55:55 +01:00
committed by Copybot
parent 385432e8f1
commit 74efa0e345
47 changed files with 239 additions and 0 deletions

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'access-token-encryptor test results', testResults: 'libraries/access-token-encryptor/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/access-token-encryptor/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ access-token-encryptor
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'fetch-utils test results', testResults: 'libraries/fetch-utils/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/fetch-utils/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ fetch-utils
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'logger test results', testResults: 'libraries/logger/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/logger/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ logger
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'metrics test results', testResults: 'libraries/metrics/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/metrics/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ metrics
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -91,6 +91,15 @@ pipeline {
}
}
post {
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/mongo-utils/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ mongo-utils
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'o-error test results', testResults: 'libraries/o-error/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/o-error/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ o-error
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'object-persistor test results', testResults: 'libraries/object-persistor/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/object-persistor/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ object-persistor
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'overleaf-editor-core test results', testResults: 'libraries/overleaf-editor-core/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🥑 Core"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/overleaf-editor-core/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ overleaf-editor-core
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🥑 Core
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'promise-utils test results', testResults: 'libraries/promise-utils/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/promise-utils/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ promise-utils
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'ranges-tracker test results', testResults: 'libraries/ranges-tracker/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🥑 Core"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/ranges-tracker/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ ranges-tracker
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🥑 Core
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'redis-wrapper test results', testResults: 'libraries/redis-wrapper/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/redis-wrapper/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ redis-wrapper
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -91,6 +91,15 @@ pipeline {
}
}
post {
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/settings/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ settings
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -101,6 +101,15 @@ pipeline {
always {
junit checksName: 'stream-utils test results', testResults: 'libraries/stream-utils/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf libraries/stream-utils/reports'
sh 'make clean_jenkins -j10'

View File

@@ -5,4 +5,5 @@ stream-utils
--esmock-loader=False
--is-library=True
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -142,6 +142,15 @@ pipeline {
always {
junit checksName: 'chat test results', testResults: 'services/chat/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🥑 Core"'
}
}
}
}
cleanup {
dir('services/chat') {
sh 'make clean'

View File

@@ -4,4 +4,5 @@ chat
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--pipeline-owner=🥑 Core
--public-repo=False

View File

@@ -148,6 +148,15 @@ pipeline {
always {
junit checksName: 'clsi test results', testResults: 'services/clsi/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
dir('services/clsi') {
sh 'make clean'

View File

@@ -5,5 +5,6 @@ clsi
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=True
--use-large-ci-runner=True

View File

@@ -142,6 +142,15 @@ pipeline {
always {
junit checksName: 'contacts test results', testResults: 'services/contacts/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="B2C"'
}
}
}
}
cleanup {
dir('services/contacts') {
sh 'make clean'

View File

@@ -4,4 +4,5 @@ contacts
--env-pass-through=
--esmock-loader=True
--node-version=22.18.0
--pipeline-owner=B2C
--public-repo=False

View File

@@ -142,6 +142,15 @@ pipeline {
always {
junit checksName: 'docstore test results', testResults: 'services/docstore/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
dir('services/docstore') {
sh 'make clean'

View File

@@ -4,4 +4,5 @@ docstore
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=True

View File

@@ -142,6 +142,15 @@ pipeline {
always {
junit checksName: 'document-updater test results', testResults: 'services/document-updater/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🥑 Core"'
}
}
}
}
cleanup {
dir('services/document-updater') {
sh 'make clean'

View File

@@ -4,4 +4,5 @@ document-updater
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--pipeline-owner=🥑 Core
--public-repo=True

View File

@@ -169,6 +169,15 @@ pipeline {
always {
junit checksName: 'filestore test results', testResults: 'services/filestore/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
dir('services/filestore') {
sh 'make clean'

View File

@@ -5,6 +5,7 @@ filestore
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=True
--test-acceptance-shards=SHARD_01_,SHARD_02_,SHARD_03_
--use-large-ci-runner=True

View File

@@ -142,6 +142,15 @@ pipeline {
always {
junit checksName: 'history-v1 test results', testResults: 'services/history-v1/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🥑 Core"'
}
}
}
}
cleanup {
dir('services/history-v1') {
sh 'make clean'

View File

@@ -4,5 +4,6 @@ history-v1
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--pipeline-owner=🥑 Core
--public-repo=False
--tsconfig-extra-includes=backup-deletion-app.mjs,backup-verifier-app.mjs,backup-worker-app.mjs,api/**/*,migrations/**/*,storage/**/*

View File

@@ -142,6 +142,15 @@ pipeline {
always {
junit checksName: 'notifications test results', testResults: 'services/notifications/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
dir('services/notifications') {
sh 'make clean'

View File

@@ -4,6 +4,7 @@ notifications
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=True
--test-acceptance-vitest=True
--test-unit-vitest=True

View File

@@ -142,6 +142,15 @@ pipeline {
always {
junit checksName: 'project-history test results', testResults: 'services/project-history/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🥑 Core"'
}
}
}
}
cleanup {
dir('services/project-history') {
sh 'make clean'

View File

@@ -4,4 +4,5 @@ project-history
--env-pass-through=
--esmock-loader=True
--node-version=22.18.0
--pipeline-owner=🥑 Core
--public-repo=False

View File

@@ -142,6 +142,15 @@ pipeline {
always {
junit checksName: 'real-time test results', testResults: 'services/real-time/reports/junit-*.xml'
}
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
dir('services/real-time') {
sh 'make clean'

View File

@@ -4,4 +4,5 @@ real-time
--env-pass-through=
--esmock-loader=False
--node-version=22.18.0
--pipeline-owner=🚉 Platform
--public-repo=False

View File

@@ -48,6 +48,15 @@ pipeline {
}
}
post {
failure {
script {
if (env.BRANCH_NAME == 'main') {
node('built-in') {
sh '/usr/local/bin/open-gh-failure-issue --project="🚉 Platform"'
}
}
}
}
cleanup {
sh 'rm -rf services/web/data/storybook/'
sh 'make clean_jenkins -j10'