Update 'Jenkinsfile'

This commit is contained in:
Patryk Gałka 2023-04-18 19:50:03 +02:00
parent 042e5ea0f3
commit 64748a9e72

9
Jenkinsfile vendored
View File

@ -15,18 +15,17 @@ pipeline {
) )
} }
stages { stages {
stage('Hello') { stage('clear_all') {
steps { steps {
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!) //Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
echo "INPUT_TEXT: ${KAGGLE_USERNAME}" sh 'rm -rf ium_z434686'
//Wywołaj w konsoli komendę "figlet", która generuje ASCI-art sh 'rm -rf data/'
sh "figlet \"${KAGGLE_USERNAME}${KAGGLE_KEY}\" | tee output.txt" sh 'rm -rf video-game-sales-with-ratings.zip'
} }
} }
stage('checkout') { stage('checkout') {
steps { steps {
//Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!) //Wypisz wartość parametru w konsoli (To nie jest polecenie bash, tylko groovy!)
sh 'rm -rf ium_z434686'
sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686' sh 'git clone https://git.wmi.amu.edu.pl/s434686/ium_z434686'
} }
} }