task 5 jenkinsfile

This commit is contained in:
patrycjalazna 2021-03-28 13:06:52 +02:00
parent 1cc3bc2bb1
commit 119598d1b4

22
Jenkinsfile vendored
View File

@ -2,11 +2,25 @@ pipeline {
agent any
stages {
stage('Hello') {
stage('checkout: Check out from version control') {
steps {
echo 'Hello World'
git credentialsId: 'f746c8e0-e974-4758-838d-1920a7b0e3dc',
url: 'https://git.wmi.amu.edu.pl/s434742/ium_434742'
}
}
stage('sh: Shell Script') {
steps {
sh 'chmod +x avocado-preprocessing.sh'
sh './avocado-preprocessing.sh ${CUTOFF}'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'avocado-updated-2020.csv'
archiveArtifacts 'test.csv'
archiveArtifacts 'dev.csv'
archiveArtifacts 'train.csv'
}
}
}
}
}