Skip to content

Instantly share code, notes, and snippets.

@boaglio
Last active December 29, 2015 05:39
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boaglio/7623520 to your computer and use it in GitHub Desktop.
Save boaglio/7623520 to your computer and use it in GitHub Desktop.
Jenkins Hackathon setup
- Why Jenkins Hackathon setup ?
Don't waste your time installing stuff, start hacking right away!
- What should you need:
github account
Git
Java
Maven
Eclipse IDE
Nice Text Editor (like Sublime)
Nice Web Browser
- Environment: Kubuntu 13.10 - fresh install
- as root user:
apt-get install firefox
apt-get install git
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install oracle-jdk7-installer
apt-get install maven
add-apt-repository ppa:webupd8team/sublime-text-3
apt-get update
apt-get install sublime-text-installer
-as your user:
wget http://espelhos.edugraf.ufsc.br/eclipse//technology/epp/downloads/release/kepler/SR1/eclipse-java-kepler-SR1-linux-gtk-x86_64.tar.gz
tar xvfz ~/Downloads/eclipse-java-kepler-SR1-linux-gtk-x86_64.tar.gz
mkdir workspace
cd workspace/
git clone https://github.com/jenkinsci/jenkins.git
cd jenkins
mvn -Plight-test install
mvn -DdownloadSources=true eclipse:eclipse
--- yeah,it takes forever to download everything =)
Expected output:
[INFO] Reactor Summary:
[INFO]
[INFO] Jenkins main module ............................... SUCCESS [8:01.156s]
[INFO] Jenkins CLI ....................................... SUCCESS [58.489s]
[INFO] Jenkins core ...................................... SUCCESS [4:44.360s]
[INFO] Jenkins war ....................................... SUCCESS [1:39.626s]
[INFO] Test harness for Jenkins and plugins .............. SUCCESS [1:34.209s]
[INFO] Jenkins plugin POM ................................ SUCCESS [14.003s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20:46.913s
[INFO] Finished at: Sun Nov 24 04:41:32 BRST 2013
[INFO] Final Memory: 73M/405M
[INFO] -------------------------
cd war
mvnDebug hudson-dev:run
Expected output:
Preparing to Execute Maven in Debug Mode
Listening for transport dt_socket at address: 8000
After that you should have Jenkins Debug running =)
http://localhost:8080/
@kinow
Copy link

kinow commented Nov 25, 2013

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment