You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With clientConfig.isIncludeEnvVars = true set, there are no environment variables in the generated build info JSON. Custom properties added with buildInfo.addEnvironmentProperty are not there either. I suspect that the issue is that the environment is not stored in org.jfrog.build.api.Build but its parent BaseBuildBean's properties.
Current behavior
There are no environment variables in the generated build info JSON
Reproduction steps
No response
Expected behavior
Environment variables are in the generated build info JSON
Artifactory Gradle plugin version
5.1.10
Operating system type and version
Debian Linux 12.2
JFrog Artifactory version
7.68.7
Gradle version
8.3
The text was updated successfully, but these errors were encountered:
Thanks for flagging the problem, @StenSoft!
I attempted to recreate it using this example, but the build-info got populated with the environment variables. To further investigate, could you share additional details about your build script?
Describe the bug
With
clientConfig.isIncludeEnvVars = true
set, there are no environment variables in the generated build info JSON. Custom properties added withbuildInfo.addEnvironmentProperty
are not there either. I suspect that the issue is that the environment is not stored inorg.jfrog.build.api.Build
but its parentBaseBuildBean
'sproperties
.Current behavior
There are no environment variables in the generated build info JSON
Reproduction steps
No response
Expected behavior
Environment variables are in the generated build info JSON
Artifactory Gradle plugin version
5.1.10
Operating system type and version
Debian Linux 12.2
JFrog Artifactory version
7.68.7
Gradle version
8.3
The text was updated successfully, but these errors were encountered: