From a9a4c69612c0238fd19d42d54b4248545323f376 Mon Sep 17 00:00:00 2001 From: Denes Matetelki Date: Tue, 18 Dec 2018 12:54:38 +0100 Subject: [PATCH] First parameter try --- scripted/a/Jenkinsfile-a | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripted/a/Jenkinsfile-a diff --git a/scripted/a/Jenkinsfile-a b/scripted/a/Jenkinsfile-a new file mode 100644 index 0000000..e208655 --- /dev/null +++ b/scripted/a/Jenkinsfile-a @@ -0,0 +1,15 @@ +#!/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}" + } +}