Skip to content

Instantly share code, notes, and snippets.

pipeline {
options {
buildDiscarder(logRotator(numToKeepStr: '3'))
}
agent any
stages {
stage('Cloning Git'){
steps {
// check out git repo and pull submodules recursively
# docker compose with persistent data in database and php
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
@hazelement
hazelement / .gitignore
Last active August 23, 2019 22:15
Git
# Created by https://www.gitignore.io
# Jetbrains
.idea
### OSX ###
.DS_Store
.AppleDouble
.LSOverride
@hazelement
hazelement / .tmux.conf
Last active April 23, 2020 04:33
machine_config
# Uncomment the lines with the options you want to activate (by deleting the preceding "#")
# Allow mouse interaction
set-option -g mouse on
# Change prefix key to CTRL+A. "C-" stands for CTRL, "M-" stands for ALT key
set-option -g prefix C-k
unbind C-b
bind C-k send-prefix