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
Artifacts env setting are incorrectly overridden #3432
Comments
I also came across the same error:
I tried declaring ARTIFACTS_TARGET_PATHS in the env:global part as given below:
Also set the addons: artifacts: true |
@meatballhat Could you take a look at this soon? Thanks. |
The version of |
@meatballhat I still have some issue with artefacts https://travis-ci.org/googlesamples/android-ndk/builds
Note: it works after restricting the artifacts path, see: |
@meatballhat Still seeing the issue |
I'm closing this out given that the version of artifacts in production has since been updated. Please yell (with job URLs) if you're still seeing issues. ❤️ |
@meatballhat Still having this issue with repository setting env vars. They print correctly at the top of the build: $ export ARTIFACTS_PATHS="log/test.log" Despite that:
It appears that it's ignoring any previously set |
e.g. if
ARTIFACTS_PATHS
is set in the environment but not ataddons.artifacts.paths
, then the default value ofARTIFACTS_PATHS="$(git ls-files -o | tr "\n" ":")"
is exported. Additionally, the paths appear to be passed as positional arguments, which results in errors like:The text was updated successfully, but these errors were encountered: