I hate to +1 but I'm falling into agreement here. The writing of scripts is largely dependant on api knowledge which most people expect their IDE to auto-complete for them.
Without the Jenkins artefacts in central, this impedes community development. On 5 March 2015 at 11:25, Sverre Moe <[email protected]> wrote: > Since I am not familiar with the Jenkins API, I would like to program my > Groovy scripts in Eclipse. Having to check the Javadocs every time is quite > tedious. > Having to write the groovy in Jenkins (in a simple text area) and test it > by starting the build is taking forever. > > I was thinking of creating a maven project, but I cannot find any jar for > the Jenkins API in the maven repository. > I did find the jenkins repository http://repo.jenkins-ci.org/public, but > finding anything useful jenkins api there was like looking for a needle in > a haystack. > > <dependency> > <groupId>org.jenking</groupId> > <artifactId>jenkins-api</artifactId> > <version>1.599</version> > </dependency> > > Using the Jenkins API in Groovy, I reckon it is the same as making a > plugin for Jenkins in Java (Same API)? I could even make my code in Java > and use it as is in Groovy. > > Looked a little into the following Plugin tutorial. Though found it a bit > complex to set up environment for development. > > https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-SettingUpEnvironment > > > Perhaps I should ask this in Jenkins Developers instead... > > -- > 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/328208ad-ab8f-46b1-8c15-55368f845cea%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/328208ad-ab8f-46b1-8c15-55368f845cea%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAMH6%2BaxCSxnMpSV8dGYCGiVjDLmyxOH3Zim%3D_JvUS0wTtu69ng%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
