Jenkins Test #18

This commit is contained in:
2025-10-08 18:45:26 +02:00
parent aa8e5c0782
commit 38569b18a7

5
Jenkinsfile vendored
View File

@@ -98,8 +98,9 @@ pipeline {
if (params.BUILD_TYPE in ['Both', 'Release']) {
urlsList << "${env.BUILD_URL}artifact/builds/KhaoticEngineReborn_Release.zip"
}
def urlsJson = urlsList.collect { "\"${it}\"" }.join(',')
urlsJson = "[${urlsJson}]"
// Construire correctement tableau JSON d'URLs sous forme de chaîne à injecter dans curl
def urlsJson = "[${urlsList.collect { "\"${it}\"" }.join(',')}]"
bat """
curl -X POST http://192.168.1.131:2500/ci-notify ^