Are you logging into Jenkins infra with the "incapptic_connect" user? If
so, then it should have worked. If not, then that is expected and you need
to do as Stephen says in
https://github.com/jenkins-infra/repository-permissions-updater/blob/master/permissions/plugin-incapptic-connect-uploader.yml

2017-06-27 17:01 GMT+02:00 Stephen Connolly <[email protected]
>:

> Are you listed in the plugin repository permissions? if not file a PR
> against https://github.com/jenkins-infra/repository-permissions-updater/
>
> On 27 June 2017 at 07:16, Tomasz Jurkiewicz <[email protected]>
> wrote:
>
>> Hi,
>>
>> I get 401/Unauthorised upon uploading to release repository:
>>
>> tomekmbpro:incapptic-connect-uploader-plugin tomek$ /Applications/
>> IntelliJ\ IDEA.app/Contents/plugins/maven/lib/maven3/bin/mvn release:
>> perform
>>
>> ..
>>     [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-
>> plugin:2.8.2:deploy (default-deploy) on project incapptic-connect-
>> uploader: Failed to deploy artifacts: Could not transfer artifact com.
>> incapptic.plugins:incapptic-connect-uploader:hpi:1.5 from/to maven.
>> jenkins-ci.org (https://repo.jenkins-ci.org/releases/): Access denied
>> to: https://repo.jenkins-ci.org/releases/com/incapptic/plugins/
>> incapptic-connect-uploader/1.5/incapptic-connect-uploader-1.5.hpi,
>> ReasonPhrase: Forbidden. -> [Help 1]
>>
>>
>> uploading to snapshot with mvn deploy works. I have the
>> ~/.m2/settings.xml filled with username & encrypted password revealed here:
>> https://repo.jenkins-ci.org/webapp
>>
>> Here are the snapshot versions:
>> https://repo.jenkins-ci.org/snapshots/com/incapptic/plugins/
>> incapptic-connect-uploader/
>>
>> I assume that my password is ok, because without the settings.xml file, I
>> cannot even do snapshot uploads.
>>
>> My plugin version is 2.11:
>>
>>
>> <parent>
>>  <groupId>org.jenkins-ci.plugins</groupId>
>>  <artifactId>plugin</artifactId>
>>  <version>2.11</version>
>>  <relativePath />
>> </parent>
>>
>>
>>
>>
>> Cheers,
>> Tomek
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-dev/ac07bd62-90ce-45cd-b15f-b6479cff081b%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/ac07bd62-90ce-45cd-b15f-b6479cff081b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/CA%2BnPnMypFxKZtGet4%2B-mPK1yNim%
> 2BV__NWPqhbSZ%2B_YWJp%3DODiQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CA%2BnPnMypFxKZtGet4%2B-mPK1yNim%2BV__NWPqhbSZ%2B_YWJp%3DODiQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS4yMmUvFs8e_xD6jyga1JrzDO-y0swXsi0fb2qojEfyvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to