-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor task names #27
Comments
+1 |
It also might be neat if you could leverage task rules to mess with items:
Would enable one to run:
This is a bit nicer to use sometimes than passing in properties to the job (and also shows up in --tasks output). Additionally, I could type the short form even more efficiently: ./gradlew uJIP vs ./gradlew uJIT vs ./gradlew uJID Thoughts? |
That's a pretty good idea. I've done something similar with some plugins we use internally and it works really well. Then we'd just make updateJenkinsItems an aggregator task for all of the updateJenkinsItems* tasks. I like it. |
This turned into a non-trivial refactor of the task plumbing, but the end result is much cleaner. Needs some further testing/scrutiny, but core use cases should be covered. |
This is in v1.1.0. |
Since we support both jobs and views now, it makes sense to refactor the task names from "updateJenkinsJobs" to "updateJenkinsItems", "dumpJenkinsJobs" to "dumpJenkinsItems", etc.
The text was updated successfully, but these errors were encountered: