#!/usr/bin/env groovy properties( [ booleanParam(defaultValue: true, description: '', name: 'userFlag') ] ) node('master') { stage('Print params') { echo "flag: ${params.userFlag}" } }