This PR target to fix logging that will be shown in case we request environment variable of type project and we get empty list in response.
In this case We need to
Add warning message that shows:
WARNING: No environment variable found on the targeted platform with scope project
Change error message from :
Previous message :
jobs, pipelines and variables to be exported cannot be empty at the same time, and cannot generate zip file
To fix:
Cannot generate zip file
In case we export other artifacts like jobs or pipelines with envionmnent variables then we need to only show the warning message with the successful logging message
Issue in question: https://github.com/saagie/gradle-saagie-dataops-plugin/issues/301
This PR target to fix logging that will be shown in case we request environment variable of type project and we get empty list in response.
In this case We need to Add warning message that shows:
WARNING: No environment variable found on the targeted platform with scope project
Change error message from :
Previous message : jobs, pipelines and variables to be exported cannot be empty at the same time, and cannot generate zip file
To fix:
Cannot generate zip file
In case we export other artifacts like jobs or pipelines with envionmnent variables then we need to only show the warning message with the successful logging message