There is a "Pipeline Syntax" item in you pipeline job which has a
"Snippet Generator", there you can select step "sshPublisher: Send build
artifacts over SSH" which you can configure and then generate the
pipeline snippet.

Hope that helps, but I'm guessing as I can't access the config of your jobs.

Kind Regards,
Stefan


On 4/5/21 12:33 PM, Roy Lenferink wrote:
> Hi all,
> 
> TL;DR:
> Does someone know how to upload to nightlies.a.o using a declarative
> pipeline?
> 
> The longer version:
> 
> I am trying to create a nightly Jenkins job which generates Doxygen
> information for Apache Celix;
> however I am not sure how to upload to nightlies.apache.org using a
> declarative pipeline.
> 
> https://nightlies.apache.org/jenkins-publishing.html describes how to
> upload something using
> a 'Post Build action'. This is something I tried and succeeded with, only
> that requires me to
> use a 'Freestyle project' type of job instead of a 'Pipeline' job.
> 
> I am able to:
> - Generate Doxygen output using a 'Pipeline' job [1]
> - Upload to nightlies.a.o using a 'Freestyle project' job [2]
> 
> How to combine this so I can upload to nightlies.a.o using a declarative
> pipeline?
> 
> Thanks already!
> 
> Roy
> 
> [1] https://ci-builds.apache.org/job/Celix/job/doxygen-test/22/console
> [2] https://ci-builds.apache.org/job/Celix/job/nightlies-test/6/console
> 

Reply via email to