Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-20914

Gradle snapshot uploads and user credentials?

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Nexus
    • Labels:
      None
    • Project:
      Lucene

      Description

      Hi Infra. I looked at [1] and peeked at Apache projects on github but couldn't find the information on which Nexus credentials should be passed to Gradle's publishing plugin. I think the code is correct but I get 401 on trying to publish a snapshot to [2]. So:

      - What are the correct Nexus credentials to publish snapshot builds?

      - Is any Apache LDAP user allowed to publish snapshots (I've created a token in Nexus but this didn't work)?

      - I saw an issue where Infra stated Jenkins instances are already configured with the right credentials. I assume this applies to Maven (settings) but how to pick up these built-in credentials from a Gradle build?

      Thanks for pointers.

      [1] https://infra.apache.org/publishing-maven-artifacts.html
      [2] https://repository.apache.org/content/repositories/snapshots

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dweiss Dawid Weiss
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: