[JIRA] [rvm] (JENKINS-24747) RVM plugin manipulations via script console

2014-09-17 Thread anikeev1...@yandex.ru (JIRA)














































Serghei Anicheev
 created  JENKINS-24747


RVM plugin manipulations via script console















Issue Type:


Task



Assignee:


Unassigned


Components:


rvm



Created:


17/Sep/14 4:44 PM



Description:


I want to be able to create jobs via script console and enable RVM environment for them. Actually don't know how to implement it.Tried to find from jenkins sources but no luck.
I'm creating job with this command:
job = Jenkins.getInstance().createProject(FreeStyleProject.class, "test123")
The next i found from jenkins sources should be something like :
job.getBuildWrappersList().add(wrapper)
And here is the problem. How should i initialize wrapper correctly for RVM plugin?
Please clarify this aspect.




Project:


Jenkins



Priority:


Trivial



Reporter:


Serghei Anicheev

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [rvm] (JENKINS-24747) RVM plugin manipulations via script console

2014-09-17 Thread anikeev1...@yandex.ru (JIRA)














































Serghei Anicheev
 updated  JENKINS-24747


RVM plugin manipulations via script console
















Change By:


Serghei Anicheev
(17/Sep/14 4:46 PM)




Description:


IwanttobeabletocreatejobsviascriptconsoleandenableRVMenvironmentforthem.Actuallydontknowhowtoimplementit.Triedtofindfromjenkinssourcesbutnoluck.Imcreatingjobwiththiscommand:job=Jenkins.getInstance().createProject(FreeStyleProject.class,test123)Thenextifoundfromjenkinssourcesshouldbesomethinglike:job.getBuildWrappersList().add(wrapper)Andhereistheproblem.HowshouldiinitializewrappercorrectlyforRVMplugin?
IntestsisawthisTestBuildWrapperwrapper=newTestBuildWrapper();.Butwhatsarealimplementationonthis?
Pleaseclarifythisaspect.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.