dataset-stats
This commit is contained in:
parent
35e4c282ad
commit
5f2b293296
24
copyArtiJenkins/Jenkinsfile
vendored
Normal file
24
copyArtiJenkins/Jenkinsfile
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('checkout') {
|
||||||
|
steps {
|
||||||
|
git 'https://git.wmi.amu.edu.pl/s434766/ium_434766.git'
|
||||||
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434766-create-dataset', selector: lastSuccessful()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('sh: Shell Script') {
|
||||||
|
steps {
|
||||||
|
sh 'chmod +x script2.sh'
|
||||||
|
sh './script2.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('archiveArtifacts') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts 'stats.txt'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
4
copyArtiJenkins/script2.sh
Normal file
4
copyArtiJenkins/script2.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
wc -l healthcare-dataset-stroke-data.csv >> stats.txt
|
||||||
|
wc -l scriptTest.csv >> stats.txt
|
||||||
|
wc -l scriptDev.csv >> stats.txt
|
||||||
|
wc -l scriptTrain.csv >> stats.txt
|
Loading…
Reference in New Issue
Block a user