Scala plugin support

36 views
Skip to first unread message

Jeremy Marshall

unread,
Jun 23, 2016, 6:54:48 PM6/23/16
to Jenkins Developers
Hey 

I'm learning Scala as part of my actual job and thought developing a plugin for Jenkins in Scala would be an interesting way, as I know something about plugins.

I hit a road block whith classes and objects sharing the same name (which scala doesn't like) but then I found a plugin already built but not in the repository https://github.com/adamretter/jenkins-scala-plugin

The owner claims he tried to get it adopted but no one responded. https://github.com/adamretter/jenkins-scala-plugin/issues/2

Is there any chance this could be adopted?


Slide

unread,
Jun 23, 2016, 7:42:38 PM6/23/16
to Jenkins Developers
I replied to the github issue with information on how to get it hosted in the jenkinsci group as a supported plugin.

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/ef9fc16b-2234-47e0-a877-e714b10ad887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeremy Marshall

unread,
Jul 24, 2016, 7:15:56 AM7/24/16
to Jenkins Developers
I (finally) got this working

It needed the scala class files running through the annotation processing.

It only does 'hello world' but its a start


It uses the gradle jpi plugin with the scala plugin


Baptiste Mathus

unread,
Jul 24, 2016, 8:17:17 AM7/24/16
to Jenkins Developers

I'm not sure I understand, finally.
IIUC, the link you initially provided was about a plugin adding a Scala step in a job.

What you're trying to do is write a Jenkins plugin *in* Scala.

Though both are indeed interesting, they're not the same. Could you please clarify?

Also, as Alex explained in the github issue, we now have a dedicated jira project for hosting requests. This way now we don't forget about them like with an email here.

Possibly too, I guess we could host your hello-world-scala-plugin as IIRC we already have some of those example projects.

WDYT?

Thanks


--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.

Jeremy Marshall

unread,
Jul 29, 2016, 7:39:08 AM7/29/16
to Jenkins Developers, m...@batmat.net

I was looking at scala specifically and yes they are two issues. 

I posted my comment on here by accident as I had another thread. My plugin could be hosted. It is a bit raw and more a proof of concept

Regards
Jeremy
Reply all
Reply to author
Forward
0 new messages