www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Crawford <traviscrawf...@gmail.com>
Subject Re: Publishing HCatalog snapshot jars from Jenkins
Date Tue, 02 Oct 2012 20:49:50 GMT
On Tue, Oct 2, 2012 at 1:02 PM, Olivier Lamy <olamy@apache.org> wrote:
> 2012/10/2 Travis Crawford <traviscrawford@gmail.com>:
>> Hey Olivier -
>>
>> I worked with a PMC member with permissions to update our CI job, and added
>> the ant target that publishes to the Apache snapshots repo. However, there
>> was a publishing failure for what I'm guessing is a discrepancy between the
>> repo ID we publish to, and the repo ID in settings.xml.
>>
>> OUR SETTINGS:
>>
>> mvn.deploy.repo.id=apache.snapshots.https
>> mvn.deploy.repo.url=
>> https://repository.apache.org/content/repositories/snapshots
>>
>> WHERE I GOT THE ID FROM:
>>
>> I got the ID and URL from the Apache parent POM.
>>
>> https://repository.apache.org/service/local/repositories/releases/content/org/apache/apache/11/apache-11.pom
>>
>> Can you look at the settings.xml file on the build machines and see what
>> repository ID we should reference, so we pick up the correct credentials.
> Weird as all looks fine your settings and settings file on machine
> (they use the user ci-hudson who have karma.
> Is nexus correctly configured for the groupId: org.apache.hcatalog (I
> cannot check that)
> Which maven ant tasks version are you using ?
>>

Aah thanks for checking, good to know they match.

You raise a good point - perhaps the repo is not configured to allow
CI publishing artifacts. This was setup in
https://issues.apache.org/jira/browse/INFRA-4936, so I'll request more
info about what was setup in that issue.

We use maven-ant-tasks to publish, and I published some snapshots
manually while testing this. I believe publishing works correctly
(since I successfully published some manually) and this is a
permissions issue of some sort.

Your pointer at repo permissions sounds like the path to explore next.

Thanks for your help with this. I'm not entirely sure what to ask for
to set this up, and I appreciate your patience.

--travis




>> Thanks!
>> Travis
>>
>>
>>
>> On Mon, Oct 1, 2012 at 9:58 AM, Travis Crawford <traviscrawford@gmail.com>wrote:
>>
>>> Ok, I'll ping our PMC folks. Thanks for the info.
>>>
>>> --travis
>>>
>>>
>>> On Mon, Oct 1, 2012 at 9:42 AM, Olivier Lamy <olamy@apache.org> wrote:
>>> > Your pmc members are able to do that.
>>> > And as it's an ant build I have no idea about the target for that :-)
>>> >
>>> > 2012/10/1 Travis Crawford <traviscrawford@gmail.com>:
>>> >> Hey Olivier -
>>> >>
>>> >> I don't have permissions to make this change. Can you please either
>>> >> make the change on our behalf, or help me learn who has permissions
to
>>> >> do so? I poked around the CI job page but was not able to determine
>>> >> who has permissions to modify it. Any tips on getting in touch with
>>> >> the right people to make this change (or permissions changes so we can
>>> >> do it ourselves) would be much appreciated.
>>> >>
>>> >> Thanks!
>>> >> Travis
>>> >>
>>> >>
>>> >> On Mon, Oct 1, 2012 at 9:14 AM, Olivier Lamy <olamy@apache.org>
wrote:
>>> >>> 2012/10/1 Travis Crawford <travis@apache.org>:
>>> >>>> Hi build gurus -
>>> >>>>
>>> >>>> In HCATALOG-132 we added maven publishing support to our build,
and
>>> >>>> would like to update our trunk Jenkins job to publish snapshots.
>>> >>>>
>>> >>>>     https://builds.apache.org/job/Hcatalog-trunk-build/
>>> >>>>
>>> >>>> From a previous thread the build machines should already have
correct
>>> >>>> settings.xml files.
>>> >>>>
>>> >>>>
>>> http://mail-archives.apache.org/mod_mbox/www-builds/201208.mbox/%3cCABN7xTBKF2eAMpTERrmJ5+wC49vLST66UOvjyWQ4nYqu0QgAxA@mail.gmail.com%3e
>>> >>>>
>>> >>>> I believe we just need to add "mvn-deploy" to the end of the
current
>>> >>>> command (default build properties publish to Apache snapshots
repo).
>>> >>>> Is this something I can work with y'all on?
>>> >>>
>>> >>> correct simply mvn-deploy should work.
>>> >>>
>>> >>>>
>>> >>>> Thanks!
>>> >>>> Travis
>>> >>>
>>> >>>
>>> >>>
>>> >>> --
>>> >>> Olivier Lamy
>>> >>> Talend: http://coders.talend.com
>>> >>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>> >
>>> >
>>> >
>>> > --
>>> > Olivier Lamy
>>> > Talend: http://coders.talend.com
>>> > http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy

Mime
View raw message