I have updated my DSL plugin and I'm getting the following error when I run the seed-job. It was working fine with the old DSL plugin. line 8) No signature of method: javaposse.jobdsl.dsl.helpers.scm.GitContext.mergeOptions() is applicable for argument types: (java.lang.String, java.lang.String) values: [origin, master]Here is my groovy code which I'm facing problems. Please help me to fix this issue. job('PR-analytics') { scm { git { remote { url 'g...@bitbucket.org:${repositoryOwner}/${repositoryName}.git' } branch '*/${sourceBranch}' mergeOptions 'origin', 'master' } } Regards,
Alvin Jaison
--
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/3f754bab-5169-4c6a-ad2c-d90023eaf853%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
scm {
git {
remote {
url 'g...@bitbucket.org:${repositoryOwner}/${repositoryName}.git'
}
branch '*/${sourceBranch}'
extensions {
mergeOptions {
remote('origin')
branch('master')
strategy('default')
}
}
}
}
Regards,
Alvin Jaison