The notes below are complimentary to the youtube video showing students how to setup Jenkins on the cloud along with
Gradle to run builds on JenkinsJunit to generate a test reportJacoco to generate a code coverage reportWebhook from Github to Jenkinsjar file as output of a jenkins buildhttps://www.youtube.com/watch?v=fCnmcsc7VEc
Create an account on Vultr
Head to Products > Plus button > Deploy new server
Cloud computeSydneyMarketplace Apps > Docker > Ubuntu 20.04 x64Head to Products > Server > Server Details and note down ip address, username and password
It should look something like 107.191.57.92 root and v3j4by@341 respectively
Remote into your newly created instance via ssh
ssh <username>@<ip address>
Create a docker container with Jenkins official image and give it a custom name myjenkins
docker run -d --restart always -p 80:8080 -p 50000:50000 -v jenkins_home:/var/jenkins_home --name myjenkins jenkins/jenkins:lts-jdk11
Find your initial password by executing the command below, it should look something like a1234b32b32412asdf123vbdfgasfqwer
docker exec myjenkins cat /var/jenkins_home/secrets/initialAdminPassword
<ip address> e.g. http://107.191.57.92