ium_452487/Jenkinsfile
2024-03-24 17:58:29 +01:00

29 lines
871 B
Groovy

pipeline {
agent any
stages {
stage('checkout: Check out from version control') {
steps {
echo 'username_visibility_test2: ${kaggle_username}'
echo 'password_visibility_test2: ${kaggle_password}'
echo "Checkout robiony deklaratywnie przez konfiguracje pipeline'u"
// git clone https://git.wmi.amu.edu.pl/s452487/ium_452487.git
echo "Zawartość folderu:"
sh "ls"
}
}
stage('sh: Shell Script') {
steps {
echo "Przetwarzanie zbioru danych..."
sh "chmod +x -R ${env.WORKSPACE}"
sh "./dataset_download.sh"
}
}
stage('archiveArtifacts') {
steps {
echo "Zapisywanie artefaktów..."
archiveArtifacts 'extracted_dataset/2022/processed.csv'
}
}
}
}