Skip to content

How to pass environmental variables?  #350

Open
@antonalechnovic

Description

@antonalechnovic

https://www.jfrog.com/confluence/display/JFROG/Gradle+Artifactory+Plugin

"Controlling how environment variables are exposed

As shown in the example above, you can control which environment variables are exposed in clientConfig.setIncludeEnvVars using clientConfig.setEnvVarsExcludePatterns and clientConfig.setEnvVarsIncludePatterns. These calls specify which environment variables should be excluded or included respectively using a parameter which is a comma-separated list of expressions to exclude or include. The expressions can use a star ('*') wildcard to specify multiple environment variables."

After enabling this flag I tried various voodoo ways to populate variables with 0 effect:

ARTIFACTORY_PUBLISH_CONTEXT-URL=bla.com
ARTIFACTORY_PUBLISH_CONTEXT_URL=bla.com
ARTIFACTORY_PUBLISH_CONTEXTURL=bla.com

???

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions