XMLWordPrintable

    Details

    • Type: Publishing Support
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Labels:
    • Group Id:
      null
    • Publishing Hostname:
      oss.sonatype.org
    • Modify publishing permissions?:
      No

      Description

      I'm trying to automatically push SNAPSHOTs using a Travis-CI machine, like so:

      after_success:

      • if [[ $MAVEN == 'true' && $TRAVIS_BRANCH == 'dev' && $TRAVIS_PULL_REQUEST == 'false'
        ]]; then gradle clean uploadArchives -PnexusUsername=$nexusUsername -PnexusPassword=$nexusPassword --info
        ; fi

      nexusUsername and nexusPassword have been encrypted using travis encrypt.

      However, I keep getting a 401 response. When running the exact same command from my local machine, the task succeeds.

      My username: nhaarman
      Link to travis build: https://travis-ci.org/nhaarman/FastFail/builds/32763676#L833

        Attachments

          Activity

            People

            Assignee:
            jorlina Joel Orlina
            Reporter:
            nhaarman Niek Haarman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title