From 7731317c1dba2ca2a1f7b5cf4a99b9b16fb6dcc8 Mon Sep 17 00:00:00 2001 From: JonnyBravo Date: Fri, 17 Mar 2023 08:44:59 +0100 Subject: [PATCH] added --- Jenkinsfile | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index edb4364..fbbacd7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,13 +1,21 @@ pipeline { -agent none - stages{ - stage('Setting the variables values') { - agent any - steps { - bash '''#!/bin/bash - echo "hello world" - ''' + agent none + + stages { + + stage ('Hello') { + agent any + + steps { + echo 'Hello, ' + + sh '''#!/bin/bash + + echo "Hello from bash" + echo "Who I'm $SHELL" + ''' + } + } } } -} -} +