Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [january-dev] January 1.0 RC1 published

Hi Jay,

I used build promotion feature of Hudson. You can see build configuration here:

https://hudson.eclipse.org/january/job/january-1.0/configure

But short version is I added a promotion criteria of "Only when
manually approved", added a string parameter for the release name
(e.g. 1.0RC1 in this case) and a bit of shell to take the artefacts
from Hudson and publish them on download.eclipse.org:

This is the script I used (in the job link above):

# Make sure this name hasn't been promoted before
test ! -e /home/data/httpd/download.eclipse.org/january/releasecandidates/${RCNAME}

curl ${PROMOTED_URL}artifact/january/releng/org.eclipse.january.releng.p2/target/repository/*zip*/repository.zip
> repository.zip
rm -rf /home/data/httpd/download.eclipse.org/january/releasecandidates/tmp
mkdir -p /home/data/httpd/download.eclipse.org/january/releasecandidates/tmp
cp -pv repository.zip
/home/data/httpd/download.eclipse.org/january/releasecandidates/tmp
unzip repository.zip -d
/home/data/httpd/download.eclipse.org/january/releasecandidates/tmp
mv -v /home/data/httpd/download.eclipse.org/january/releasecandidates/tmp
/home/data/httpd/download.eclipse.org/january/releasecandidates/${RCNAME}

Once configured, I press Promotion Status on the build (e.g
https://hudson.eclipse.org/january/job/january-1.0/3/promotion/ ) and
then approve the build as an RC.


The alternative is to use SCP to copy to
build.eclipse.org/home/data/httpd/download.eclipse.org/january.

Jonah
~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 16 October 2016 at 16:18, Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:
> Jonah,
>
> How did you push those releases? Greg configured everything to be pushed
> directly from our build, so I have to figure out how to push individual
> releases. Is there a wiki article on this somewhere?
>
> Jay
>
> On Sun, Oct 16, 2016 at 11:16 AM, Jonah Graham <jonah@xxxxxxxxxxxxxxxx>
> wrote:
>>
>> Dear January devs,
>>
>> January 1.0RC1 has now been published. We have the release review
>> scheduled for this week, with the release date being officially Friday.
>>
>> Please let me know if you find anything that needs correcting ahead of
>> 1.0.
>>
>> RC1:
>> Uploaded: http://download.eclipse.org/january/releasecandidates/1.0RC1/?d
>> P2:
>> http://download.eclipse.org/january/releasecandidates/1.0RC1/repository
>> Hudson job: https://hudson.eclipse.org/january/job/january-1.0/3/
>> GitHub: https://github.com/eclipse/january/tree/january_1_0
>> SHA: 4c084d62327a0568b414ec3b6ef23192f858fd31
>>
>> Jonah
>>
>> ~~~
>> Jonah Graham
>> Kichwa Coders Ltd.
>> www.kichwacoders.com
>>
>> _______________________________________________
>> january-dev mailing list
>> january-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/january-dev
>>
>
>
>
> --
> Jay Jay Billings
> Oak Ridge National Laboratory
> Twitter Handle: @jayjaybillings
>
> _______________________________________________
> january-dev mailing list
> january-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/january-dev
>


Back to the top