Added sh file

This commit is contained in:
Jakub Henyk 2023-03-28 12:43:16 +02:00
parent 089629d6a0
commit 88b5242851
2 changed files with 9 additions and 0 deletions

7
Jenkinsfile vendored
View File

@ -18,6 +18,13 @@ pipeline {
sh "figlet \"${INPUT_TEXT}\" | tee output.txt" sh "figlet \"${INPUT_TEXT}\" | tee output.txt"
} }
} }
stages {
stage('Run Script') {
steps {
sh 'take_data.sh'
}
}
}
stage('Goodbye!') { stage('Goodbye!') {
steps { steps {
echo 'Goodbye!' echo 'Goodbye!'

2
take_data.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
echo "Hello World"