Thanks, If I write console sections for each begin/end pair, then it would make it really ugly as I have around 15 components and 5 platforms.
It seems to me that it is better to write a plugin for this. On Wednesday, October 17, 2012 6:18:44 PM UTC+5:30, Mandeville, Rob wrote: > > I’ve got the same problem, with no good solution. In my case, some of > these steps are inside of other steps, so I can be more than one “BEGIN” > deep. As far as I can tell, the only way to handle this is to write up > each possible begin/end pair separately. That was too ugly for me to > pursue, and it only works if you know all the possible components in > advance. > > > > --Rob > > > > *From:* [email protected] <javascript:> [mailto: > [email protected] <javascript:>] *On Behalf Of *sandy > *Sent:* Wednesday, October 17, 2012 2:41 AM > *To:* [email protected] <javascript:> > *Subject:* Collapsing Console Section > > > > Hi > > I'm using Jenkins 1.483 on my Linux box. I have a query regarding the > Collapsing console section. > > My build scripts generates some echo statements like "BEGIN BUILD > COMPONENT1" , "END BUILD COMPONENT1", "BEGIN BUILD COMPONENT2" , "END BUILD > COMPONENT2", "BEGIN TEST COMPONENT1", etc.. > > I want to have a generic console section which covers all the above. So, I > created a console section with: > > Section Name: Build > Section Starts With: ^BEGIN.* > Section Ends With: ^END.* > > This works, but I need to have the section name contains the values > captured by the regular expression. How can I do it? I tried using {1}, > {2}.. but those does not work. I want to have separate sections for > individual components. Do I have to write my own plugin? > > Thanks. > The information in this message is for the intended recipient(s) only > and may be the proprietary and/or confidential property of Litle & Co., > LLC, and thus protected from disclosure. If you are not the intended > recipient(s), or an employee or agent responsible for delivering this > message to the intended recipient, you are hereby notified that any use, > dissemination, distribution or copying of this communication is prohibited. > If you have received this communication in error, please notify Litle & Co. > immediately by replying to this message and then promptly deleting it and > your reply permanently from your computer. >
