copy artefacts from build with specific parameter

27 views
Skip to first unread message

Alan Birtles

unread,
Sep 1, 2015, 12:49:55 PM9/1/15
to Jenkins Users
is there a way for copy artefacts to copy from the latest build of a project which was built with a specific parameter? e.g. copy artefacts from the last successful build of project A that was built with my_parameter set to true
Message has been deleted

mr

unread,
Sep 3, 2015, 7:33:10 AM9/3/15
to Jenkins Users
What I would do:

1. Create Build-Flow-Job project A1 with following code
build('project A',
      my_parameter:true,
      my_other_parameter: params.my_other_parameter
     )  

2. Use project A1 for copying artefacts from the last successful build.

Regards

Jovan Jevric

unread,
Sep 11, 2015, 1:29:29 AM9/11/15
to jenkins...@googlegroups.com
Try to set up a post build job evaluating parameter given and make your job A exclusive in order to prevent loss of your artifacts.
Cheers
 
 
Original Message     
   processed by David.fx 
Subject: 
copy artefacts from build with specific parameter (01-Sep-2015 18:49)
From:    
To:      
 
is there a way for copy artefacts to copy from the latest build of a project which was built with a specific parameter? e.g. copy artefacts from the last successful build of project A that was built with my_parameter set to true
 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/862cb812-3456-4483-bee0-c46ff0deb3a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages