What should be the runner type for a simple java code?

Completed

I'm trying to test out the project https://github.com/marekbruchaty/SimpleJavaWebApp

This is the first time I'm using teamcity. What is a runner type? and which one should I select for the above simple git project?

I tried selecting gradle blindly even though I don't know anything about that. I read that for java projects we need to select Maven or gradle etc.,.

What are these runner types and what do they do? Like what is a build step? I've understood it like it'll compile the code from git hub,

Is the build step something that Compiles when we select Maven or gradle and then upload the files to the webserver if we select SSH upload in the build step? 

1 comment
Comment actions Permalink

Hi John,

 

For this specific project, you should use the IntelliJ IDEA project runner type. Maven and Gradle are specific tools that help in compiling projects, typically java, but in order for them to work, you need to have your project set up for them. This includes configuration files, a very specific folder structure etc. Your project in particular does not have any of them, so none of them will help, but it seems to have some idea files, so it might work with the idea runner. I have not tested it so I don't know if it would work or some files might be missing. There is more information here: https://www.jetbrains.com/help/teamcity/intellij-idea-project.html

 

This said, TeamCity is a tool that will help you automate tasks, including compiling, deploying and many others, but in order for you to be able to automate them, you need to know how they work. If you are not familiar with what you need to do, it will be very hard to configure teamcity to do it for you.

0

Please sign in to leave a comment.