Re: reading DSL script from file for BUILD FLOW PLUGIN
On Thu, Feb 26, 2015 at 8:41 AM, Jesse Glick jgl...@cloudbees.com wrote: On Thursday, February 12, 2015 at 10:43:28 AM UTC-5, LesMikesell wrote: With workflow, if you trigger another build, how do you access that other build object? For example to find the build number so you can copy its artifacts into the workflow job.Or find the SVN_REVISION so you can trigger other builds of that same revision? This area is still relatively weak in Workflow, so I plan to add more features here. https://issues.jenkins-ci.org/browse/JENKINS-26100 https://issues.jenkins-ci.org/browse/JENKINS-25851 Is there some reason workflow isn't just a superset of build flow, adding control of workspaces and inlining? What's the point of having open source if everyone starts over from scratch whenever they have a new idea anyway? Or, why aren't both of these just class libraries for the groovy plugin with an easy way to add new ones for common high-level operations? -- Les Mikesell lesmikes...@gmail.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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAOAgVpyTmU-0uZRfXzo47E%2B%3D-hD1zWUYzLrWyoFzTqrnOH1P5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: reading DSL script from file for BUILD FLOW PLUGIN
On Thursday, February 12, 2015 at 10:43:28 AM UTC-5, LesMikesell wrote: With workflow, if you trigger another build, how do you access that other build object? For example to find the build number so you can copy its artifacts into the workflow job.Or find the SVN_REVISION so you can trigger other builds of that same revision? This area is still relatively weak in Workflow, so I plan to add more features here. https://issues.jenkins-ci.org/browse/JENKINS-26100 https://issues.jenkins-ci.org/browse/JENKINS-25851 -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/42b21938-3c1d-4b0b-8333-d400c03521d2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: reading DSL script from file for BUILD FLOW PLUGIN
2015-02-26 17:09 GMT+01:00 Les Mikesell lesmikes...@gmail.com: On Thu, Feb 26, 2015 at 8:41 AM, Jesse Glick jgl...@cloudbees.com wrote: On Thursday, February 12, 2015 at 10:43:28 AM UTC-5, LesMikesell wrote: With workflow, if you trigger another build, how do you access that other build object? For example to find the build number so you can copy its artifacts into the workflow job.Or find the SVN_REVISION so you can trigger other builds of that same revision? This area is still relatively weak in Workflow, so I plan to add more features here. https://issues.jenkins-ci.org/browse/JENKINS-26100 https://issues.jenkins-ci.org/browse/JENKINS-25851 Is there some reason workflow isn't just a superset of build flow, The explanation you ask for has already been given here and there on the ML. IIRC, Build flow plugin has been deemed a dead-end by its creator (Nicolas De Loof, IIRC). That always happens in our field. But that experience has somehow also served as another feedback to create a far broader-scoped plugin. adding control of workspaces and inlining? What's the point of having open source if everyone starts over from scratch whenever they have a new idea anyway? Or, why aren't both of these just class libraries for the groovy plugin with an easy way to add new ones for common high-level operations? Many reasons already given I guess (suspendable, etc.) -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6HtahhrgKhzPNkzzzOU3NbRk0XAA_VME1PRFXnbEZtDw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: reading DSL script from file for BUILD FLOW PLUGIN
On Thursday, February 26, 2015 at 2:55:17 PM UTC-5, Baptiste Mathus wrote: why aren't both of these just class libraries for the groovy plugin with an easy way to add new ones for common high-level operations? Many reasons already given I guess (suspendable, etc.) Right, the requirement for durability alone totally precluded use of any Build Flow code. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/17dc58f3-2d98-417d-aa6f-c16b1c16a237%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: reading DSL script from file for BUILD FLOW PLUGIN
Ahan, I am going to look into workflow plugin after upgrading my jenkins to latest version Thanks for answering guys. Regards, On Wednesday, February 11, 2015 at 5:11:28 PM UTC+1, Muhammad Faizan-Ul-Haq wrote: Hi, I have started using BUILD FLOW PLUGIN for job orchestration. Now the DSL in my job configuration has become quite lengthy and it is becoming difficult to maintain it there. I want to move it to my repository (SVN) and read it from file. I understood that it is possible to read it form file but I am missing the syntax ? What should be the file extension and how to invoke it. any help would be appreciated and sorry for posting such a naive question. Faizan -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4a58a2e7-64a1-43a4-8771-599ad31a066e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: reading DSL script from file for BUILD FLOW PLUGIN
I know that this thread is wandering but I too and a little worried about the Build Flow plugin being replaced. I hope that I can just drop my Build Flow statements into a workflow step and they will run unaltered. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Baptiste Mathus Sent: Thursday, February 12, 2015 7:36 AM To: jenkinsci-users@googlegroups.com Subject: Re: reading DSL script from file for BUILD FLOW PLUGIN Why would you be sad? I know more the workflow plugin than the build flow, but seems to me you should be able to do the same things as easily with the workflow plugin, but it's just designed to be able to do much much more. With the workflow plugin you can also trigger another build. I'm actually pretty sad about this, the build flow plugin is pretty simple to use, especially for orchestrating multiple jobs which I don't want to pull into a single job. On Wed Feb 11 2015 at 2:55:07 PM Baptiste Mathus m...@batmat.netmailto:m...@batmat.net wrote: Build flow is on the way to deprecation. The workflow plugin is the one to use. It's standard with this one to use a scm URL for your workflow declaration (through combobox+textfield for your scm url and you're done). Cheers Le 11 févr. 2015 17:11, Muhammad Faizan-Ul-Haq faiza...@gmail.commailto:faiza...@gmail.com a écrit : Hi, I have started using BUILD FLOW PLUGIN for job orchestration. Now the DSL in my job configuration has become quite lengthy and it is becoming difficult to maintain it there. I want to move it to my repository (SVN) and read it from file. I understood that it is possible to read it form file but I am missing the syntax ? What should be the file extension and how to invoke it. any help would be appreciated and sorry for posting such a naive question. Faizan -- 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+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.comhttps://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.com?utm_medium=emailutm_source=footer. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.comhttps://groups.google.com/d/msgid/jenkinsci-users/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.com?utm_medium=emailutm_source=footer. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcO8u%2ByG-hThcCKPUK1FxGfWkkwBxQyR%2B_eh%2B-ONnFRAQ%40mail.gmail.comhttps://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcO8u%2ByG-hThcCKPUK1FxGfWkkwBxQyR%2B_eh%2B-ONnFRAQ%40mail.gmail.com?utm_medium=emailutm_source=footer. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5oqpZrep9z000Co_yUJoxC0N_Bt2jkdvR1nvf7Sn5b9Q%40mail.gmail.comhttps://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5oqpZrep9z000Co_yUJoxC0N_Bt2jkdvR1nvf7Sn5b9Q%40mail.gmail.com?utm_medium=emailutm_source=footer. For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E26E4F697A%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.
Re: reading DSL script from file for BUILD FLOW PLUGIN
Why would you be sad? I know more the workflow plugin than the build flow, but seems to me you should be able to do the same things as easily with the workflow plugin, but it's just designed to be able to do much much more. With the workflow plugin you can also trigger another build. I'm actually pretty sad about this, the build flow plugin is pretty simple to use, especially for orchestrating multiple jobs which I don't want to pull into a single job. On Wed Feb 11 2015 at 2:55:07 PM Baptiste Mathus m...@batmat.net wrote: Build flow is on the way to deprecation. The workflow plugin is the one to use. It's standard with this one to use a scm URL for your workflow declaration (through combobox+textfield for your scm url and you're done). Cheers Le 11 févr. 2015 17:11, Muhammad Faizan-Ul-Haq faiza...@gmail.com a écrit : Hi, I have started using BUILD FLOW PLUGIN for job orchestration. Now the DSL in my job configuration has become quite lengthy and it is becoming difficult to maintain it there. I want to move it to my repository (SVN) and read it from file. I understood that it is possible to read it form file but I am missing the syntax ? What should be the file extension and how to invoke it. any help would be appreciated and sorry for posting such a naive question. Faizan -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcO8u%2ByG-hThcCKPUK1FxGfWkkwBxQyR%2B_eh%2B-ONnFRAQ%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcO8u%2ByG-hThcCKPUK1FxGfWkkwBxQyR%2B_eh%2B-ONnFRAQ%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS5oqpZrep9z000Co_yUJoxC0N_Bt2jkdvR1nvf7Sn5b9Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: reading DSL script from file for BUILD FLOW PLUGIN
On Thu, Feb 12, 2015 at 6:35 AM, Baptiste Mathus m...@batmat.net wrote: Why would you be sad? I know more the workflow plugin than the build flow, but seems to me you should be able to do the same things as easily with the workflow plugin, but it's just designed to be able to do much much more. With the workflow plugin you can also trigger another build. With workflow, if you trigger another build, how do you access that other build object? For example to find the build number so you can copy its artifacts into the workflow job.Or find the SVN_REVISION so you can trigger other builds of that same revision? -- Les Mikesell lesmikes...@gmail.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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAOAgVpyiZtyJ3YPVX7BaPhp%3DTRDxLfqiMU%3DjD88MjScH-f9JWw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
reading DSL script from file for BUILD FLOW PLUGIN
Hi, I have started using BUILD FLOW PLUGIN for job orchestration. Now the DSL in my job configuration has become quite lengthy and it is becoming difficult to maintain it there. I want to move it to my repository (SVN) and read it from file. I understood that it is possible to read it form file but I am missing the syntax ? What should be the file extension and how to invoke it. any help would be appreciated and sorry for posting such a naive question. Faizan -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: reading DSL script from file for BUILD FLOW PLUGIN
I'm actually pretty sad about this, the build flow plugin is pretty simple to use, especially for orchestrating multiple jobs which I don't want to pull into a single job. On Wed Feb 11 2015 at 2:55:07 PM Baptiste Mathus m...@batmat.net wrote: Build flow is on the way to deprecation. The workflow plugin is the one to use. It's standard with this one to use a scm URL for your workflow declaration (through combobox+textfield for your scm url and you're done). Cheers Le 11 févr. 2015 17:11, Muhammad Faizan-Ul-Haq faiza...@gmail.com a écrit : Hi, I have started using BUILD FLOW PLUGIN for job orchestration. Now the DSL in my job configuration has become quite lengthy and it is becoming difficult to maintain it there. I want to move it to my repository (SVN) and read it from file. I understood that it is possible to read it form file but I am missing the syntax ? What should be the file extension and how to invoke it. any help would be appreciated and sorry for posting such a naive question. Faizan -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.com https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVcO8u%2ByG-hThcCKPUK1FxGfWkkwBxQyR%2B_eh%2B-ONnFRAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: reading DSL script from file for BUILD FLOW PLUGIN
Build flow is on the way to deprecation. The workflow plugin is the one to use. It's standard with this one to use a scm URL for your workflow declaration (through combobox+textfield for your scm url and you're done). Cheers Le 11 févr. 2015 17:11, Muhammad Faizan-Ul-Haq faiza...@gmail.com a écrit : Hi, I have started using BUILD FLOW PLUGIN for job orchestration. Now the DSL in my job configuration has become quite lengthy and it is becoming difficult to maintain it there. I want to move it to my repository (SVN) and read it from file. I understood that it is possible to read it form file but I am missing the syntax ? What should be the file extension and how to invoke it. any help would be appreciated and sorry for posting such a naive question. Faizan -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.com https://groups.google.com/d/msgid/jenkinsci-users/ed6dc25c-b90b-4ae5-bcaf-e00743998c07%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS69_8kMndkebHt_TyN3VPDeaD4O4t6_0KvMQ0-W8-zPVw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.