Exercise 2 - Introduction

The goal of this exercise is to automate the whole release and release publishing process of the project-automation chatbot application that you developed in the last course exercise as a class.

What You learn

  • Build a docker image for your application
  • Publish docker images to dockerhub
  • Automate building and releasing a docker image with gradle
  • Automatically calculate your application's version using gradle and git
  • Integrate the automated release into your jenkins pipelines
  • Push-button-Release: Let the Pipeline do the tagging of a clean release for you
  • Test your released docker images with Play-with-Docker.com

How to Work

  • Pair Programming rocks! It is proven to be more efficient when done right. Therefore we recommend to work in pairs.
  • Start from latest version of the develop branch with all the bots we integrated there the last time
  • Create your own feature branch to work on! Give it a unique name.
  • Follow the instructions in the exercise sheets carefully, there are some hints
  • Ask the teachers if you need help

Getting Ready

  • Go to the exercise directory where you cloned the repository
  • pick a cool feature branch name, something like: feature/bonnie-and-clydes-release-automation
  • Run the following commands:
     git checkout develop
     git pull
     git checkout -b feature/<your-feature-branch-name>
     ./gradlew build
    
  • You should see BUILD SUCCESSFUL when done
  • Go to IntelliJ
  • Refresh the project by choosing Synchronize on the project folder (in left hand side project tree)
  • Run gradle refresh of your gradle project from right hand side gradle tab (project-automation/Refresh gradle project)

results matching ""

    No results matching ""