Added stats
This commit is contained in:
parent
92c9e53b43
commit
887c472c4a
20
Jenkinsfile2
Normal file
20
Jenkinsfile2
Normal file
@ -0,0 +1,20 @@
|
||||
pipeline {
|
||||
agent any
|
||||
parameters {
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
name: 'BUILD_SELECTOR',
|
||||
description: 'Which build to use for copying artifacts'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage("Script") {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's444507-create-dataset', selector: lastSuccessful() sh " ./stats.sh"
|
||||
archiveArtifacts 'lines.txt'
|
||||
sh './stats.sh'
|
||||
archiveArtifacts artifacts: 'stats.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user