Skip to content

Instantly share code, notes, and snippets.

View vsilverman's full-sized avatar
🏠
Working from home

Vlad Silverman vsilverman

🏠
Working from home
View GitHub Profile

Welcome to the Jenkins Continuous Integration Overview!

Purpose of this overview is to show how to automate the process of building, testing and deploying your java and python apps using Jenkins Pipeline.

To start the process follow these instructions

After starting Jenkins and properly configuring your account according to above instructions you may point your browser to https://localhost:8080 and login to your Jenkins account as admin user with demo/demo (login_name/password) credentials.

@vsilverman
vsilverman / Jenkinsfile
Created April 7, 2020 17:07 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@vsilverman
vsilverman / install-docker-cli.sh
Created June 21, 2020 23:54
Install Docker CLI
#!/bin/bash
# Script to install docker cli
# on Debian/Ubuntu OS Platforms
apt-get update && \
apt-get -y install apt-transport-https \
ca-certificates \
curl \
gnupg2 \
@vsilverman
vsilverman / Dockerfile
Last active December 14, 2020 21:14
Dockerfile snippets - How-To Install Docker CLI, etc.
...
# Docker install
USER root
RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
RUN curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg > /tmp/dkey
# src: https://github.com/halkeye/jenkins-shared-library/blob/master/vars/buildDockerfile.groovy
def call(String imageName, Map config=[:], Closure body={}) {
if (!config.registry) {
config.registry = ""
}
if (!config.credential) {
config.credential = "dockerhub-halkeye"
}