Open API to get the Build step details from teamcity
Hi All,
I would like to know the open api which I could use to get the Build Step details - such as
Runner Type - whether it is "Maven 2 " or other,
Goals,
Maven home Path,
Java parameters like
JDK home path,
JVM command line parameters
Thanks in advance
Please sign in to leave a comment.
Hello,
Do you plan to write a server-side plugin?
If yes, then you can use
SBuildType.getBuildRunners()
to get collection of the steps and then find the necessary one by type and use getParameters() to get all the step settings. You can easily get the available names if you create a necessary step and dump it's parameters.
BTW, Can you describe what kind of plugin is in your plans?
Thank you very much. I will try this.
I am just trying out to write a plugin which displays the basic information about the settings.
Thank you once again.
If your plugin is doing something generally valuable, you can consider sharing it with other users and be listed on our plugins page.