Update 'Jenkinsfile'

This commit is contained in:
Patryk Gałka 2023-04-18 17:04:34 +02:00
parent edd0ee798e
commit 715beb7c45

9
Jenkinsfile vendored
View File

@ -23,6 +23,15 @@ pipeline {
sh "figlet \"${KAGGLE_USERNAME}${KAGGLE_KEY}\" | tee output.txt" sh "figlet \"${KAGGLE_USERNAME}${KAGGLE_KEY}\" | tee output.txt"
} }
} }
stage('checkout') {
steps {
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
echo "INPUT_TEXT: ${KAGGLE_USERNAME}"
//Wywołaj w konsoli komendę "figlet", która generuje ASCI-art
sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686 | ls -a | tee ls.txt'
}
}
stage('Goodbye!') { stage('Goodbye!') {
steps { steps {
echo 'Goodbye!' echo 'Goodbye!'