java - How to run a Intellij IDEA created Maven project with Jenkins? -


i have created maven (java) project in intellij idea on macos. has standard directory structure, this:

myproject    |    -- src -- main -- java -- java code goes here    |   |    |   ----- test -- java -- junit test code goes here    |    -- pom.xml    -- myproject.xml 

my project generate jar file. in idea, have been able run maven build generate jar file run junit test.

now, want use jenkins ci test project. have setup jenkins on linux box. jenkins can pull entire project structures linux box.

my question is, on linux, given directory structure created intellij idea, how can run maven packet jar file , run junit test?

that directory not specific idea, infact standard maven structure. if go project configurations of jenkins maven project see section can declare pom.xml , goals want run.


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -