This commit is contained in:
Jakub Zaręba 2023-05-23 23:14:26 +02:00
parent c67299cfeb
commit 0c7430265d

View File

@ -25,29 +25,29 @@ pipeline {
steps {
script {
try {
git 'https://git.wmi.amu.edu.pl/s487187/ium_487187.git'
git 'https://git.wmi.amu.edu.pl/s487187/ium_487187'
} catch (Exception err) {
error "Failed to clone repository: ${err.message}"
}
}
}
}
stage('Create dvc.yaml') {
steps {
writeFile file: 'dvc.yaml', text: '''
stages:
prepare:
cmd: python prepare_data.py
deps:
- raw_data.csv
outs:
- processed_data.csv
'''
sh 'git add dvc.yaml'
sh 'git commit -m "Add dvc.yaml"'
sh 'git push origin HEAD'
}
}
// stage('Create dvc.yaml') {
// steps {
// writeFile file: 'dvc.yaml', text: '''
// stages:
// prepare:
// cmd: python prepare_data.py
// deps:
// - raw_data.csv
// outs:
// - processed_data.csv
// '''
// sh 'git add dvc.yaml'
// sh 'git commit -m "Add dvc.yaml"'
// sh 'git push origin HEAD'
// }
// }
stage('Pull DVC Files') {
steps {