Im trying to create a cross-compilation job, that will build my code for both Windows & Linux. I have set up Windows & Linux jenkins nodes, and configured two jobs, one with 'windows' label to run on my Windows machine and the other with 'linux' label to run on my linux machine. I installed MultiJob plugin, and wrapped both jobs to run in parallel When both finishes successfully, I want to copy all the generated files and do operations on them In other words I want to copy the files from both jobs remote workspaces for further operations Can anyone suggest a way how to do it? |
Im trying to create a cross-compilation job, that will build my code for both Windows & Linux. I have set up Windows & Linux jenkins nodes, and configured two jobs, one with 'windows' label to run on my Windows machine and the other with 'linux' label to run on my linux machine. I installed MultiJob plugin, and wrapped both jobs to run in parallel When both finishes successfully, I want to copy all the generated files and do operations on them In other words I want to copy the files from both jobs remote workspaces for further operations Can anyone suggest a way how to do it?
--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/05639dc0-fce6-4ce7-9cc1-c39e95ca7498%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Original Message processed by david®
Re: Copy files from remote Jenkins workspace (13-Nov-2016 15:39) From: Baptiste Mathus To:jenkins...@googlegroups.com
Look for pipeline jobs. Might be far easier to achieve that.
2016-11-13 11:23 GMT+01:00 buddy123 <er...@twistlock.com>:
Im trying to create a cross-compilation job, that will build my code for both Windows & Linux. I have set up Windows & Linux jenkins nodes, and configured two jobs, one with 'windows' label to run on my Windows machine and the other with 'linux' label to run on my linux machine. I installed MultiJob plugin, and wrapped both jobs to run in parallel When both finishes successfully, I want to copy all the generated files and do operations on them In other words I want to copy the files from both jobs remote workspaces for further operations Can anyone suggest a way how to do it?
--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/05639dc0-fce6-4ce7-9cc1-c39e95ca7498%40googlegroups.com[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
--
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/CANWgJS6i%3DXazsb%3DzYyQ_21PXnJSQN5gNpBmJJycUZrOnwZXTaA%40mail.gmail.com[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
What about archiving artefacts. On that way all output marked as artefacts could be found on master so far, couldn't it?
Original Message processed by david®
Re: Copy files from remote Jenkins workspace (13-Nov-2016 15:39) From: Baptiste Mathus To:jenkins...@googlegroups.com Look for pipeline jobs. Might be far easier to achieve that.
2016-11-13 11:23 GMT+01:00 buddy123 <er...@twistlock.com>:
Im trying to create a cross-compilation job, that will build my code for both Windows & Linux. I have set up Windows & Linux jenkins nodes, and configured two jobs, one with 'windows' label to run on my Windows machine and the other with 'linux' label to run on my linux machine. I installed MultiJob plugin, and wrapped both jobs to run in parallel When both finishes successfully, I want to copy all the generated files and do operations on them In other words I want to copy the files from both jobs remote workspaces for further operations Can anyone suggest a way how to do it?
--
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/05639dc0-fce6-4ce7-9cc1-c39e95ca7498%40googlegroups.com[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
Original Message processed by david®
Re: Re-2: Copy files from remote Jenkins workspace (14-Nov-2016 10:15) From: buddy123 To:Jenkins Users
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d70bc939-7416-4d89-9265-7b2d8631d301%40googlegroups.com[groups.google.com].
Original Message processed by david®
Re: Re-2: Copy files from remote Jenkins workspace (14-Nov-2016 10:15) From: buddy123 To:Jenkins Users
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d70bc939-7416-4d89-9265-7b2d8631d301%40googlegroups.com[groups.google.com].
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d70bc939-7416-4d89-9265-7b2d8631d301%40googlegroups.com[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/1OChk_e4A6Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/DIIE.0000228E0093FFA4%4010.11.0.23.
For more options, visit https://groups.google.com/d/optout.
Original Message processed by david®
Re: Re-4: Copy files from remote Jenkins workspace (14-Nov-2016 10:41) From: Eran Yanay To:jenkins...@googlegroups.com
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/1OChk_e4A6Y/unsubscribe[groups.google.com].
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/DIIE.0000228E0093FFA4%4010.11.0.23[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
--
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/CABz3omUiTCaB%3DHmJ%2BJbBj_tST9ST3jYkO4Mzf5TDK3tYVL09Xg%40mail.gmail.com[groups.google.com].
You'll have to do some housekeeping anyway....Otherwise you'll run out of memory very fast.By archiving all the artefacts generated(mainly needed for release steps or similar) on your own you'll be able to keep your jenkins workspace very slim. This is an advantage and practicable.Keeping Console Output by simply archiving is possible. I do so on the following way:-Use Log Parser Plugin which generates a Log.txt or similar in your project on slave workspace and include it as post build step('Console output(build log)parsing')-Get your Console Output from slaves by scp/ssh or similar e.g.
Original Message processed by david®
Re: Re-4: Copy files from remote Jenkins workspace (14-Nov-2016 10:41) From: Eran Yanay
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CABz3omUiTCaB%3DHmJ%2BJbBj_tST9ST3jYkO4Mzf5TDK3tYVL09Xg%40mail.gmail.com[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/1OChk_e4A6Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/DIIE.000021EC00940142%4010.11.0.23.
For more options, visit https://groups.google.com/d/optout.
Original Message processed by david®
Re: Re-6: Copy files from remote Jenkins workspace (14-Nov-2016 12:41) From: Eran Yanay To:jenkins...@googlegroups.com
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/DIIE.000021EC00940142%4010.11.0.23[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
--
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/CABz3omWwm6-6oRUUuNALpch%3DFN4gdKajE_nu8DBpZii_OKjCtQ%40mail.gmail.com[groups.google.com].
Workspace per definition is space you gave jenkins to store all the builds executed on master. If you run 50 Jobs from JobA all builds including artefacts will be stored on master. So you'll run out of memory defenitelly if you don't care about housekeepings. Local workspace you mean is workspace acquired on jenkins slave for a job execution. Keep on working on your basics dude;-)Don't archive artefacts and get the artefacts from slave on your own. On that way none artefacts are put on your master machine. But keep in mind, that none artefacts can be accessed in your job history if not archived.Cheers
Original Message processed by david®
Re: Re-6: Copy files from remote Jenkins workspace (14-Nov-2016 12:41) From: Eran Yanay
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CABz3omWwm6-6oRUUuNALpch%3DFN4gdKajE_nu8DBpZii_OKjCtQ%40mail.gmail.com[groups.google.com].
For more options, visit https://groups.google.com/d/optout[groups.google.com].
--
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-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/DIIE.000101E2009413D8%4010.11.0.23.
For more options, visit https://groups.google.com/d/optout.