Thomas Sundberg

March 7, 2011

Set working directory for your Jenkins continuous build server

This post is available at http://www.thinkcode.se/blog/2011/03/07/set-working-directory-for-your-jenkins-continuous-build-server

Advertisements

2 Comments »

  1. How to set up jenkins set up in ubuntu machine if a project is set using jbehave ,webdriver,Git? Please advice.

    Comment by kashu4055 — March 23, 2013 @ 13:52

    • Hi!

      It all depends so it is difficult to give you an advice. I would, however, start with running Jenkins as a stand alone service on your Ubuntu host.

      java -jar jenkins.war

      Then I assume that you use a modern build tool like Maven. If you do, create a Maven job. Set it to listen to your Git repo and execute

      mvn clean install

      whenever it detects a change. Using Maven will abstract away a lot of configuration as long as you follow the Maven way.

      Before you create a Jenkins job, make sure you can execute your build directly from Maven.

      Good luck!
      Thomas

      Comment by Thomas Sundberg — March 25, 2013 @ 21:31


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: