File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11pipeline {
22 agent any
33
4+ options {
5+ disableConcurrentBuilds()
6+ buildDiscarder(logRotator(numToKeepStr: '10'))
7+ }
8+
9+ triggers {
10+ githubPush()
11+ }
12+
413 tools {
514 nodejs 'Node24'
615 }
@@ -63,10 +72,28 @@ pipeline {
6372 sh 'docker compose -f docker-compose.eval.yml down -v || true'
6473 }
6574 failure {
66- echo 'Evaluation tests failed. Check archived artifacts for details.'
75+ script {
76+ if (env.GIT_COMMIT) {
77+ githubNotify context: 'eval-tests',
78+ status: 'FAILURE',
79+ description: 'Evaluation tests failed',
80+ repo: 'Cognito',
81+ credentialsId: 'github-cognito-webhook',
82+ account: 'KoderFPV'
83+ }
84+ }
6785 }
6886 success {
69- echo 'All evaluation tests passed!'
87+ script {
88+ if (env.GIT_COMMIT) {
89+ githubNotify context: 'eval-tests',
90+ status: 'SUCCESS',
91+ description: 'Evaluation tests passed',
92+ repo: 'Cognito',
93+ credentialsId: 'github-cognito-webhook',
94+ account: 'KoderFPV'
95+ }
96+ }
7097 }
7198 }
7299}
You can’t perform that action at this time.
0 commit comments