Closed medamineziraoui closed 4 years ago
We want to fix response of the projectsImport task if zip file is invalide.
https://github.com/saagie/gradle-saagie-dataops-plugin/issues/258
I NEED MERGE https://github.com/saagie/gradle-saagie-dataops-plugin/pull/267 SO I CAN WORK THIS ISSUE
If we use the projectsImport task with invalide zip artifact we get and error and successful message
An error occurred when unzipping the artifacts export file. {status=success, job=[], pipeline=[]}
We wrap the code of importJob methode with a
tryCatchClosure({ ... code contain }, 'importJob', 'projectsImport')
Why ?
We want to fix response of the projectsImport task if zip file is invalide.
Links / Ressources
https://github.com/saagie/gradle-saagie-dataops-plugin/issues/258
Important
I NEED MERGE https://github.com/saagie/gradle-saagie-dataops-plugin/pull/267 SO I CAN WORK THIS ISSUE
Actual status / Investigations
If we use the projectsImport task with invalide zip artifact we get and error and successful message
How?
We wrap the code of importJob methode with a