mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-06 15:54:31 +00:00
Testing build log output
This commit is contained in:
20
qetest/Jenkinsfile
vendored
20
qetest/Jenkinsfile
vendored
@@ -20,11 +20,31 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage("Locate Image Failure Example") {
|
||||
agent{ label rocmnode("nogpu") }
|
||||
steps {
|
||||
script {
|
||||
echo "Unable to locate image"
|
||||
echo "login attempt to https://some.docker.io/v2 failed with status: 401 Unauthorized"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage("Unauthorized Failure Example") {
|
||||
agent{ label rocmnode("nogpu") }
|
||||
steps {
|
||||
script {
|
||||
echo "Unable to locate image"
|
||||
echo "login attempt to https://some.docker.io/v2 failed with status: 401 Unauthorized"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
node(rocmnode("nogpu")) {
|
||||
script {
|
||||
def buildLog = currentBuild.rawBuild.logFile.text
|
||||
echo "log: ${buildLog}"
|
||||
withCredentials([string(credentialsId: 'ck_ci_errors_webhook_url', variable: 'WEBHOOK_URL')]) {
|
||||
sh """
|
||||
curl -X POST '${WEBHOOK_URL}' \
|
||||
|
||||
Reference in New Issue
Block a user