Issue Type: Improvement Improvement
Assignee: Justin Ryan
Components: job-dsl-plugin
Created: 24/Mar/14 11:36 AM
Description:

i would like to recommend to change the default job creation dialect from:
```groovy
job{ name 'asd' }
```

to
```groovy
job('asd'){
}
```
because jobs/other items without a name doesn't make sense at all..the item's name is mandatory; not optional

in the past i've seen view/etc coming into the dsl; and i think for a standard dsl user the following is more straight forward:
```groovy
job('asd'){
}
listView('l1'){
}
listView('l2'){
}
nestedView('l2'){
listView('nl1'){
}
}
```

plus..jenkins has a concept of what are job level types: like freestyle; listview;matrix - this will mimic the same organizational logic to the dsl level.

Project: Jenkins
Priority: Major Major
Reporter: Nagy Zoltán
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to