Questions about developing pipeline DSL plugin

31 views
Skip to first unread message

liyud...@hotmail.com

unread,
Feb 26, 2019, 7:36:29 AM2/26/19
to Jenkins Developers
Hi all,
I'm a student from China University of Geosciences and I'm trying to create a pipeline compatible plugin. I have encountered some problems when I am learning the workflow-remote-loader-plugin source code. Class FileLoaderDSLImpl defines several methods for example withGit() . In the definition of this method it uses a local variable 'script' to call its methods like deleteDir() and checkout() (line 95).  But I cannot find the definition of checkout() in class CpsScript , could anyone tell me where this method is defined or how to use the variable 'script'?
Thank you for your time.
Li Yudong

martinda

unread,
Feb 27, 2019, 10:10:00 PM2/27/19
to Jenkins Developers
Hello Li,

I do not know the answer to your question, but since you are a student, you might be interested in our Google Summer of Code program. This is our main landing page. We have projects ideas for students, but you are also welcome to submit your own project idea. Sorry I could not be of more help wrt your question. Perhaps if you search the sources you will find your answer.

You can find the GSoC community on the https://gitter.im/jenkinsci/gsoc-sig chat

Best,
Martin d'Anjou
Jenkins GSoC Org Admin

liyud...@hotmail.com

unread,
Feb 28, 2019, 12:48:54 PM2/28/19
to Jenkins Developers
Thank you sir, I'm interested in GSoC and preparing for it now. This question confuses me when I follow guides on Jenkins REST Plugin Idea. This idea recommends to study  the workflow-remote-loader-plugin and docker-workflow-plugin source code. During this, I had problem understanding how DSL is defined. 

Thanks,
Li Yudong
Reply all
Reply to author
Forward
0 new messages