diff --git a/Jenkinsfile b/Jenkinsfile index bcaa5281..a5393064 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,14 +1,13 @@ pipeline { agent any stages { - stage('Deploy') { + stage('Build') { steps { - timeout(time: 1, unit: 'MINUTES') { - sh './fibonacci.sh 4' - } - timeout(time: 1, unit: 'MINUTES') { - sh './fibonacci.sh 8' - } + sh 'echo "Hello World"' + sh ''' + echo "Multiline shell steps works too" + ls -lah + ''' } } } diff --git a/fibonacci.sh b/fibonacci.sh deleted file mode 100755 index aa00809b..00000000 --- a/fibonacci.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -N=${1:-10} - -a=0 -b=1 - -echo "The Fibonacci series is : " - -for (( i=0; i