home / blog

Minimal jenkins, git, gradle setup on Ubuntu 12.04

Minimal jenkins, git, gradle setup on Ubuntu 12.04

Although gradle is available via app-get, the current version is broken

Manual install of jenkins

apt-get remove gradle
wget http://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-8-bin.zip
sudo mv gradle-1.0-milestone-8 /usr/share/
sudo ln -s /usr/share/gradle-1.0-milestone-8/bin/gradle /usr/bin/

Normal install of jenkins.

sudo apt-get install jenkins

Setup of jenkins.

  • Add plugin : git
  • Add plugin : gradle
  • Create new project
    • set repository URL /data/development/repo
    • set poll SCM * * * * *
    • Select git advanced options – skip internal tag
    • Add build step – gradle
    • Set gradle root directory java/TestProject
This entry was posted in geek and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.