Official docker page https://docs.docker.com/engine/installation/linux/ubuntulinux/#uninstallation
sudo apt-get purge -y docker-engine
sudo apt-get autoremove -y --purge docker-engine
sudo apt-get autoclean| Download Datastax community Edition from Planet Cassandra | |
| https://academy.datastax.com/planet-cassandra/cassandra | |
| Install it | |
| after this done | |
| Create app using jhipster with casandra database |
Official docker page https://docs.docker.com/engine/installation/linux/ubuntulinux/#uninstallation
sudo apt-get purge -y docker-engine
sudo apt-get autoremove -y --purge docker-engine
sudo apt-get autoclean| import { Component, ElementRef, Input, ViewChild } from '@angular/core'; | |
| @Component({ | |
| selector: 'contacts-list', | |
| template: require('./rack-details.component.html') | |
| }) | |
| export class RackDetailsComponent { | |
| public radius:number = 20; | |
| public circleBorder:number = 0.5; | |
| public cols:number = 15; |
#CD#
Checkout the code
RUn Unit Test
Build
Run Functional Tests
| #!/usr/bin/env groovy | |
| node { | |
| stage('checkout') { | |
| checkout scm | |
| } | |
| stage('check java') { | |
| sh "java -version" | |
| } |
| To clone the repository | |
| git clone <REPO_URL> | |
| > git clone https://github.com/JinnaBalu/GitFlow.git | |
| BY DEFAULT WE"LL BE IN MASTER BRANCH AS WE CLONE | |
| After cloning it we get the same folder named repository |
| docker rmi $(docker images -q -f dangling=true) |
| export CLUSTER_DNS=[...] | |
| export CLUSTER_IP=[...] | |
| ssh -i workshop.pem docker@$CLUSTER_IP | |
| docker container run -d --name jenkins -p 8080:8080 jenkins:alpine | |
| docker container ls # Wait until it is up and running |