Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Interrogations on the new Jenkins/Kubernetes instances

Hi Ed,

Thanks for that (I have been following conversation for my own education). Can you make your jobs' configuration readable (extended read on) so that we can see all the details?

A picture if it help:

image.png

Thanks,
Jonah
~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Tue, 11 Jun 2019 at 11:48, Ed Willink <ed@xxxxxxxxxxxxx> wrote:

Hi

On 11/06/2019 16:00, Denis Roy wrote:

2-      I tried to add a promote step to the job but I cannot figure out how one would access the archive files from the job as the promote step is launched in another agent. I gather you can get them through a (curl ?) request but that can be a big overhead for larger project archives (e.g. RCPs, zipped p2s containing hundreds of plugins, …). There must be a way to do it cleanly but I didn’t find how.

If you're using a pipeline build, you can use stash for this:

https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/

Rather than add a step to the build you can add a downstream job. This has the benefits of a very simple and so reliable if-the-build-fails don't promote guard.

You can look at the https://ci.eclipse.org/ocl/job/promoter/ which executes the very simple (not-in-GIT) script:

rm -f downloads.sh updates.sh
curl -s -k ${PUBLISH__DOWNLOADS_SH} > downloads.sh
curl -s -k ${PUBLISH__UPDATES_SH} > updates.sh
chmod +x downloads.sh updates.sh
bash -ex downloads.sh
bash -ex updates.sh

to use the downloads.sh and updates.sh scripts from GIT and parameters from the original job.

Regards

Ed Willink




Virus-free. www.avast.com
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev

Back to the top