diff --git a/Jenkinsfile b/Jenkinsfile index d7bca8b..b7c6dcd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,12 +1,12 @@ pipeline { - node('nomad') { - steps{ - step("Hello"){ - sh "echo 'Hello World!'" + agent('nomad') { + stages{ + stage("Hello"){ + script { + sh "echo 'Hello World!'" + } } - } - } }