Skip to content

Instantly share code, notes, and snippets.

View yego87's full-sized avatar
🎯
Focusing

Yegor Veselov yego87

🎯
Focusing
View GitHub Profile
@yego87
yego87 / Jenkinsfile
Created July 3, 2019 09:17 — forked from lferro9000/Jenkinsfile
Jenkinsfile with PHP pipeline for Jenkins 2
#!/usr/bin/env groovy
node('php') {
stage('Get code from SCM') {
checkout(
[$class: 'GitSCM', branches: [[name: '*/#your-dev-branch#']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
submoduleCfg: [],
@yego87
yego87 / remove-all-from-docker.sh
Created October 10, 2019 13:12 — forked from beeman/remove-all-from-docker.sh
Remove all from Docker
# Stop all containers
docker stop `docker ps -qa`
# Remove all containers
docker rm `docker ps -qa`
# Remove all images
docker rmi -f `docker images -qa `
# Remove all volumes