[composablekernel] fix failure status (#4351)

## Motivation

Pipelines were failing on Math CI status check.

## Technical Details

For the success case, we just changed the config in Jenkins to use a
proper app token and no code changes were required. However, the failure
case would not have worked as coded, so we needed to move that outside
of the `rocmnode()` block.

## Test Plan

I removed all of the CI in one of the commits to quickly test, and then
added it back.  Got a successful "success" message and "failure" message
produced
This commit is contained in:
Jobbins
2026-02-05 08:56:42 -07:00
committed by GitHub
parent 9e00e291dc
commit ec787e6fa2

6
Jenkinsfile vendored
View File

@@ -1965,10 +1965,10 @@ pipeline {
description: 'All checks have passed'
}
failure {
githubNotify context: 'Math CI Summary',
status: 'FAILURE',
description: 'Some checks have failed'
node(rocmnode("nogpu")) {
githubNotify context: 'Math CI Summary',
status: 'FAILURE',
description: 'Some checks have failed'
script {
sendFailureNotifications()
}