gvalkov / jenkins-autojobs

Automatically create Jenkins jobs from template jobs and branches in a SCM repository
http://jenkins-autojobs.rtfd.org
Other
49 stars 39 forks source link

[Feature Request] Spread plugin using Jenkins update center #2

Closed maxymshg closed 11 years ago

maxymshg commented 11 years ago

Hello,

Please spread your plugin through the Jenkins plugin center, due to your installation guide doesn't show how to complete the installation. There are a lot of questions to your plugin setup: 1) What should be done after "python setup.py install" command and so on? 2) What version of python is required for build?

Probably you as a developer know how to deal with these and don't have any issues with installation, but from user perspective it's better to use update center or ready to use *.hpi file.

Thanks in advance!

gvalkov commented 11 years ago

Hello,

First off, thanks for the interest!

Jenkins-autojobs isn't really a Jenkins plugin in the way the plugins in the update center are - there is no hpi file to begin with. Jenkins-autojobs are three Python scripts (jenkins-makejobs-git, jenkins-makejobs-svn and jenkins-makejobs-hg) that you start on the command line or from crontab. There is an example of a jenkins-makejobs-git console session in the docs: link

On each invocation, a script lists all SCM branches/refs and acts according to the rules defined in a config file. All interactions with Jenkins are done through its REST API.

As for your second question, the current stable version works with Python 2.7 only. I'm currently working on a Jenkins interface library that would let jenkins-autojobs support Python 2.6 to 3.3. This will be the highlight of the next release. I'll also definitely think about improving the documentation.

Regards, G.

maxymshg commented 11 years ago

Thanks for quick response.

Please add uninstall feature in future release. I will close the issue, due to my questions are not releated to the current project goals.

Good luck with your projects.