Jenkins Test #7

This commit is contained in:
2025-10-08 17:28:14 +02:00
parent 715955ef6a
commit 3352f2afa7

8
Jenkinsfile vendored
View File

@@ -85,18 +85,18 @@ pipeline {
def debugUrl = "${env.BUILD_URL}artifact/builds/KhaoticEngineReborn_Debug.zip"
def releaseUrl = "${env.BUILD_URL}artifact/builds/KhaoticEngineReborn_Release.zip"
bat """
curl -X POST http://localhost:2500/ci-notify ^
curl -X POST http://host.docker.internal:2500/ci-notify ^
-H "Content-Type: application/json" ^
-d "{\\"userId\\": \\"VOTRE_USER_ID_DISCORD\\",\\"status\\": \\"success\\",\\"urls\\":[\\"${debugUrl}\\",\\"${releaseUrl}\\"]}"
-d "{\\"userId\\": \\"378262266723696651\\",\\"status\\": \\"success\\",\\"urls\\":[\\"${debugUrl}\\",\\"${releaseUrl}\\"]}"
"""
}
}
failure {
script {
bat """
curl -X POST http://localhost:2500/ci-notify ^
curl -X POST http://host.docker.internal:2500/ci-notify ^
-H "Content-Type: application/json" ^
-d "{\\"userId\\": \\"VOTRE_USER_ID_DISCORD\\",\\"status\\": \\"failure\\",\\"urls\\":[]}"
-d "{\\"userId\\": \\"378262266723696651\\",\\"status\\": \\"failure\\",\\"urls\\":[]}"
"""
}
}