#!/usr/bin/env groovy properties( [ string(name: 'Name', defaultValue: 'denes'), string(name: 'Age', defaultValue: '34') ] ) node('master') { stage('Print params') { sh "echo "${params.Name}" sh "echo "${params.Age}" } }