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.
<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.
Perhaps I should ask this in Jenkins Developers instead...