Sort generated jobs alphabetically

35 views
Skip to first unread message

Robert Kielty

unread,
Sep 5, 2016, 7:24:28 AM9/5/16
to job-dsl-plugin
Hi,

On the Project Summary page of a job-dsl seed job, is it possible to sort the generated jobs alphabetically? 

My generated jobs follow a naming convention, the (long) list of generated jobs would be more readable if they were sortable.

I would be happy to work on a pull request to implement this as a feature if someone could give me some pointers as to where I would need to look?

Many thanks,
Rob Kielty

Andrew McLaughlin

unread,
Sep 9, 2016, 2:34:47 AM9/9/16
to job-dsl...@googlegroups.com
+1


--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/ab0b7f8c-7194-4c73-88ba-4251b5126d33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Spilker

unread,
Sep 13, 2016, 4:49:07 AM9/13/16
to job-dsl...@googlegroups.com
As far as I can remember then intended behavior was to show the jobs in the same order as they appear in the DSL scripts. But that is currently broken, the jobs appear in a random order. Since no one complained about that beeing broken, I assume that no one cares about this behavior, so we can change it and show the jobs sorted alphabetically.

Can you file a feature request at https://issues.jenkins-ci.org/?

Daniel

On Tue, Sep 6, 2016 at 6:39 PM, Andrew McLaughlin <javapat...@gmail.com> wrote:
+1


On Sep 5, 2016, at 4:24 AM, Robert Kielty <rob.k...@gmail.com> wrote:

Hi,

On the Project Summary page of a job-dsl seed job, is it possible to sort the generated jobs alphabetically? 

My generated jobs follow a naming convention, the (long) list of generated jobs would be more readable if they were sortable.

I would be happy to work on a pull request to implement this as a feature if someone could give me some pointers as to where I would need to look?

Many thanks,
Rob Kielty

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugin+unsubscribe@googlegroups.com.
To post to this group, send email to job-dsl-plugin@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugin+unsubscribe@googlegroups.com.
To post to this group, send email to job-dsl-plugin@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/3C4592E5-E932-46F0-A736-C39F0E8FDC59%40gmail.com.

Victor Martinez

unread,
Sep 25, 2016, 5:55:53 PM9/25/16
to job-dsl-plugin

On Tuesday, 13 September 2016 09:49:07 UTC+1, Daniel Spilker wrote:
As far as I can remember then intended behavior was to show the jobs in the same order as they appear in the DSL scripts. But that is currently broken, the jobs appear in a random order. Since no one complained about that beeing broken, I assume that no one cares about this behavior, so we can change it and show the jobs sorted alphabetically.

Can you file a feature request at https://issues.jenkins-ci.org/?

Daniel
On Tue, Sep 6, 2016 at 6:39 PM, Andrew McLaughlin <javapat...@gmail.com> wrote:
+1


On Sep 5, 2016, at 4:24 AM, Robert Kielty <rob.k...@gmail.com> wrote:

Hi,

On the Project Summary page of a job-dsl seed job, is it possible to sort the generated jobs alphabetically? 

My generated jobs follow a naming convention, the (long) list of generated jobs would be more readable if they were sortable.

I would be happy to work on a pull request to implement this as a feature if someone could give me some pointers as to where I would need to look?

Many thanks,
Rob Kielty

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.

Robert Kielty

unread,
Sep 26, 2016, 7:05:48 AM9/26/16
to job-dsl-plugin
Thanks Victor, Daniel and Andrew! 

Apologies for not getting back sooner, am up to my eyeballs and gmail marked email notification of these responses as spam, gah!

I will log a feature request and see if I have time to have a crack at implementing iy thanks to Victor's signposting. Thanks again Victor.

Rob

Robert Kielty

unread,
Oct 3, 2016, 4:58:35 AM10/3/16
to job-dsl-plugin
Hi,


There are some checks that haven't complete yet. I can't figure that out from the build as it seems to be ok. https://jenkins.ci.cloudbees.com/job/plugins/job/job-dsl-plugin/2418/

Can some check over the PR and let me know if there is anything else that I should add.

Many thanks,

Rob
Reply all
Reply to author
Forward
0 new messages