Trying to use msbuild from job-dsl

22 views
Skip to first unread message

Dirk Kuypers

unread,
Sep 20, 2016, 6:44:17 AM9/20/16
to job-dsl-plugin
hi,

I am just unable to get msbuild working from my DSL script.

  steps {
    msbuild {
      msbuildInstallation('MSBuild 4.0 32Bit')
      buildFile('MySolution.sln')
      args('Release')
    }
  }

If I add the step above I get the following error:
ERROR: (Create_Continuous_Dbg.groovy, line 171) No signature of method: javaposse.jobdsl.dsl.helpers.step.StepContext.msbuild() is applicable for argument types: (Create_Continuous_Dbg$_run_closure3$_closure29$_closure31) values: [Create_Continuous_Dbg$_run_closure3$_closure29$_closure31@7ba44432]
Possible solutions: msBuild(groovy.lang.Closure)

What am I missing or doing wrong here? MSBuild plugin is 1.26 and job-dsl 1.51...

Thanks for a hint
Dirk

Matt Sheehan

unread,
Sep 20, 2016, 12:03:40 PM9/20/16
to job-dsl-plugin

--
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/93961207-0a68-4557-84d6-12c4c40512fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Dirk Kuypers

unread,
Sep 21, 2016, 4:51:08 AM9/21/16
to job-dsl-plugin
Thanks Matt, 

I swear I have looked >10 times for misspellings.:-/

Sorry for the dumb question
Dirk
Reply all
Reply to author
Forward
0 new messages