stats jenknsfile

This commit is contained in:
Filip Izydorczyk 2021-05-25 18:39:55 +02:00
parent 9becbb62ff
commit 8a3280a07b

33
stats/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,33 @@
pipeline {
agent {
dockerfile true
}
stages {
stage('Copy Archive') {
steps {
script {
step ([$class: 'CopyArtifact',
projectName: 's434700-create-dataset',
filter: '*.csv',
target: 'test'])
}
}
}
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s434700/ium_s434700.git'
}
}
stage('sh: Shell Script') {
steps {
sh 'chmod +x stats.sh'
sh './stats.sh'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'stat.txt'
}
}
}
}