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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/328208ad-ab8f-46b1-8c15-55368f845cea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to