Skip to content

Instantly share code, notes, and snippets.

@johnstosh
johnstosh / johnstosh.jenkins
Last active September 14, 2017 21:24
declarative jenkins pipeline for parallel builds
pipeline {
environment {
/*
* Maybe maven 3.5.0 is why the build hangs sometimes?
* I'm trying 3.0.5 which is what's in NetBeans.
* That fixed it.
*/
mvnHome = tool 'maven-3.0.5'
jenkins2MvnVersion = 'maven-3.5.0'