Update Jenkinsfile

This commit is contained in:
s452487 2024-04-01 20:04:28 +02:00
parent 805d5d94f6
commit 308e2b194f

36
Jenkinsfile vendored
View File

@ -1,29 +1,11 @@
pipeline { pipeline {
agent any agent { dockerfile true }
stages { stages {
stage('checkout: Check out from version control') { stage('Dataset download and stats') {
steps { steps {
echo 'username_visibility_test2: ${kaggle_username}' sh "chmod +x -R ${env.WORKSPACE}"
echo 'password_visibility_test2: ${kaggle_password}' sh './dataset_download_and_run.sh'
}
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'
}
}
}
} }