Getting Started

Two things. First, log into your GitHub account (if you have one) and fork these two repositories:

Then find the GitHub URL for your fork of the macro-maven repo (the first one you cloned) and copy it so you can use it in the follow-along exercise we’ll do in class.

Working with Eclipse

The next few labs have you play around in Eclipse, but many of you have never seen Eclipse before. I’d like to do some of Exercise II from Day 3, along with some GitFlow sprinkled in, with you in Eclipse and show you how much easier Maven, Gradle and Git operations are when performed inside of Eclipse.

For reference, check out the Impossible GitFlow Exercise

Jenkins, Jenkins, Jenkins!

I’d also like to see if we can build our Macro-Maven application with Eclipse. Are you up for it? Get that Macro-Maven repo forked!!!

Macro-Maven Repo: https://github.com/cameronmcnz/macro-maven.git

Today’s Agenda: Continuous Integration with Jenkins

The official topics for today are Continuous Delivery and Jenkins

  • Chapter 4: Introduction to CI and CD2
  • Chapter 5: Installing Jenkins (Quick Overview)
  • Chapter 6: Jenkins Job Types (Time Permitting)

The two labs assigned for the day include:

  • Lab 4 - Configure Tools in Jenkins
  • Lab 5 - Create a Jenkins Job

Here are some links we might need:

Macro-Maven NumberGuesser Repo: https://github.com/cameronmcnz/macro-maven.git GitFlow Exercise Drag and Drop Exercise I (Rock Paper Scissors) Drag and Drop Exercise II (NumberGuesser)

GitHub, Maven and Eclipse

On Day 3 we worked with the number guesser example in Exercise II. The following video shows you how to import the same GitHub repository used in that example into Eclipse and use the various Eclipse tools to do the exact same thing we did on the command line. Check it out!

The repository used in the example below, which you should probably fork and use, is here:

https://github.com/cameronmcnz/macro-maven.git