Updates CI notification in Jenkinsfile
Updates the Jenkinsfile to ensure proper JSON formatting for the list of artifact URLs passed to the CI notification service. This ensures that the recipient correctly interprets the download links.
This commit is contained in:
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@@ -98,7 +98,7 @@ pipeline {
|
||||
if (params.BUILD_TYPE in ['Both', 'Release']) {
|
||||
urlsList << "${env.BUILD_URL}artifact/builds/KhaoticEngineReborn_Release.zip"
|
||||
}
|
||||
|
||||
// Convertir en une chaîne JSON valide d'URLs
|
||||
def urlsJson = urlsList.collect { "\"${it}\"" }.join(',')
|
||||
urlsJson = "[${urlsJson}]"
|
||||
|
||||
@@ -118,8 +118,5 @@ pipeline {
|
||||
"""
|
||||
}
|
||||
}
|
||||
always {
|
||||
cleanWs(deleteDirs: true, disableDeferredWipeout: true, notFailBuild: true)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user