task 5 jenkinsfile
This commit is contained in:
parent
1cc3bc2bb1
commit
119598d1b4
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -2,11 +2,25 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Hello') {
|
stage('checkout: Check out from version control') {
|
||||||
steps {
|
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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user