Skip to content

Instantly share code, notes, and snippets.

View dweber019's full-sized avatar

David Weber dweber019

View GitHub Profile
@dweber019
dweber019 / Jenkinsfile
Created March 14, 2019 15:50 — forked from danielgehr/Jenkinsfile
Jenkins pipeline template with environment configuration using gitflow
// ***********************
//
// Build and deploy different environments with jenkins pipeline
//
// Merge to develop -> triggers development release
// Merge to master without tag -> triggers staging release
// Merge to master with tag -> triggers staging and production release
// Production release requires manual approval on the jenkins job
//
// Configure jenkins pipeline project to pull tags! By default, tags are not pulled!