-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment Variable Export - Wrong error message #301
Comments
Can you share the build for this issue please |
Steps to recreate issues
saagie { This gradle tasks errors with the below saagies-mbp:Gradle shivakumar$ gradle -b build.gradle.projectExportEnvV2 projectExport
FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. BUILD FAILED in 3s |
How to test : Version to test : 2.1.8 The error build case with warning message: Case platform have no project scope env. Create a build file:
Export job using this commande : The successful case : Create a new build file:
Then use this command line: Expected behvior
|
This is still misleading. **> Task :projectsExport FAILED FAILURE: Build failed with an exception.
BUILD FAILED in 2s The out put has a failure which is correct but then there is additional statements like what went wrong and thats misleading. Why are we printing 2 contradicting statements. |
Trying to export all project environment variables from a project where none is defined then the task fails with a mis leading error message
saagies-mbp:Gradle shivakumar$ gradle -b build.gradle.projectExportEnvV2 projectExport
FAILURE: Build failed with an exception.
Execution failed for task ':projectsExport'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 2s
1 actionable task: 1 executed
In the usecase of exporting all Global or Project level environment variables and if none is found then just print out a WARN statement that No variables found and do not create the zip file.
Also the message
jobs, pipelines and variables to be exported can t be empty at the same time
What is this " can t " ? Gramatically wrong in ENGLISH, change this to cannot
The text was updated successfully, but these errors were encountered: