Giter Club home page Giter Club logo

Comments (3)

tim-str avatar tim-str commented on June 12, 2024

Hi there,
you can probably go ahead with the below approach.

tasks.register('loadStashToken') {
group 'release'
scmVersion.repository.customUsername.set("$artifactory_user")
scmVersion.repository.customPassword.set("$artifactory_password")
}

tasks.named('release') {
dependsOn loadStashToken
}

from axion-release-plugin.

bl4keee avatar bl4keee commented on June 12, 2024

@tim-str
Thanks for posting your solution. I am not really able to get authenticated using any way present in the documentation.
So far, I've tried using ssh-agent based approach on Linux that does not seem to work, solely providing username and password via gradle parameters also cannot get me authenticated as well as trying to pass these to variables through custom made gradle tasks.
I am not quite sure, but seems like the plugin does not work well with my version of gradle (7.6.1).

from axion-release-plugin.

bgalek avatar bgalek commented on June 12, 2024

Should work now

from axion-release-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.