-
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
Upgrade Job-DSL dependency to 1.42 #68
Conversation
Replace job with freeStyleJob and view with listView in most tests. Remove tests that check for an exception to be thrown when no job name is provided, since the new Job DSL syntax requires the job name as a parameter. Also the name method does not exist in Job DSL anymore, so replace usages with calls to the setter method for name. javaposse.jobdsl.dsl.JobType was removed, so instead use the simlar class com.terrafolio.gradle.plugins.jenkins.jobdsl.DSLJobType. Also add a direct dependency to Guava because it was removed from Job DSL.
4d37598
to
534b751
Compare
+1 - waiting for a new release :) |
Hrm... a manual build of @mnonnenmacher's PR leads to the following exception for me:
and that happens right at the time the plugin is applied via |
@tommyd3mdi, I had similar issues before cleaning the project, but after a "gradlew clean" it did work. Did you try this already? |
Thanks for your effort! ;-) |
@ghale Could you please merge this and release a new version? |
@ghale I'm also waiting for a new release with this merged :-) |
Sorry for the lack of movement on this. I've just been struggling to find the time to work on my side projects. I promise I will try to find some time to merge this and cut a new release in the next few days. Thanks for being (overly) patient. |
Waiting for this as well. |
Thanks for the contribution! This is in v1.3.2. |
Thats great, but now i get an error:
I am just using
|
@oliverbestmann @ghale Thanks for the new version! |
Here's my build.gradle buildscript to add the missing dependencies mentioned by oliverbestmann plugins { |
Replace job with freeStyleJob and view with listView in most tests.
Remove tests that check for an exception to be thrown when no job name is
provided, since the new Job DSL syntax requires the job name as a
parameter. Also the name method does not exist in Job DSL anymore, so
replace usages with calls to the setter method for name.
javaposse.jobdsl.dsl.JobType was removed, so instead use the simlar class
com.terrafolio.gradle.plugins.jenkins.jobdsl.DSLJobType.