Skip to content

Support delayed/lazy configuration #162

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

Open
staffanf opened this issue Apr 17, 2018 · 0 comments
Open

Support delayed/lazy configuration #162

staffanf opened this issue Apr 17, 2018 · 0 comments

Comments

@staffanf
Copy link

Use case: We want to be able to build locally with minimal user configuration after checkout.

Current situation: The artifactory DSL calls it publish closure at configuration time and this makes it hard for user to only pupulate the needed properties when they are required.
A user that does not have publisher permission does not need to populate these properties.

artifactory {
  publish {
    repository {
      repoKey = "${artifactoryPublishRepo}"
      username = "${artifactory_user}"
      password = "${artifactory_password}"
    }
  }
}

Suggestion: Allow lazy configuration that is only resolved when the related artifactory tasks is executed.
This should be the default for all configuration.

RobiNino pushed a commit to RobiNino/build-info that referenced this issue Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant