stats jenknsfile
This commit is contained in:
parent
9becbb62ff
commit
8a3280a07b
33
stats/Jenkinsfile
vendored
Normal file
33
stats/Jenkinsfile
vendored
Normal 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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user