Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartaee-platform-dev] Copying artifacts to project download area

A question about populating the projects download.eclipse.org/ee4j area cam up today on the call.
The eclipse ci wiki has a section on this:
https://wiki.eclipse.org/Jenkins#How_do_I_deploy_artifacts_to_download.eclipse.org.3F


An example from the CDI dist build freestyle job:
https://ci.eclipse.org/cdi/job/CDI-TCK-Release-Job/configure

has this fragment in the Execute shell final step of the job which uses ssh/scp to list and copy content to the download.eclipse.org/ee4j/cdi directory:

# Copy dist to downloads area
ssh genie.cdi@xxxxxxxxxxxxxxxxxxxxxxxxxxxx rm -f /home/data/httpd/download.eclipse.org/ee4j/cdi/cdi-tck-${RELEASE_VERSION}-dist.zip
sha256sum target/cdi-tck-${RELEASE_VERSION}-dist.zip >target/cdi-tck-${RELEASE_VERSION}-dist.info
ls -l target/cdi-tck-${RELEASE_VERSION}-dist.zip >>target/cdi-tck-${RELEASE_VERSION}-dist.info
scp target/cdi-tck-${RELEASE_VERSION}-dist.zip genie.cdi@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/home/data/httpd/download.eclipse.org/ee4j/cdi
scp target/cdi-tck-${RELEASE_VERSION}-dist.info genie.cdi@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/home/data/httpd/download.eclipse.org/ee4j/cdi
ssh genie.cdi@xxxxxxxxxxxxxxxxxxxxxxxxxxxx ls -al /home/data/httpd/download.eclipse.org/ee4j/cdi

This requires the setup of the SSH Agent, the view of which is attached.

Attachment: CDI-ssh-agent.png
Description: PNG image


Back to the top