Hi, I would like to install scala sbt using sbt-plugin via a groovy script, in order to automate a vm installation with ansible. I tried several options but I can't make it work.
I was following https://github.com/glenjamin/jenkins-groovy-examples/blob/master/README.md and I was able to get the sbt plugin, but from there I'm kinda lost: #!groovy import jenkins.model.* sbtVersion = "{{item}}" def sbtPluginExtension = Jenkins.instance.getPlugin("sbt") this is the main class for the sbt plugin: https://github.com/jenkinsci/sbt-plugin/blob/master/src/main/java/org/jvnet/hudson/plugins/SbtPluginBuilder.java Any idea on how to accomplish this task? thanks cirpo -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d84facd7-ae2c-4f5e-8c3f-1b6af87bc8a6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
