Jenkinsfile statystyki
This commit is contained in:
parent
a84335dc53
commit
c12c257ca0
@ -1,21 +1,14 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
parameters {
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
description: 'Which build to use for copying artifacts',
|
||||
name: 'BUILD_SELECTOR'
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('CopyArtifacts') {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-creat-datasets', selector: buildParameter('BUILD_SELECTOR')
|
||||
sh "chmod +x -R ${env.WORKSPACE}"
|
||||
sh './skrypt_stats.sh'
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-dataset', selector: lastSuccessful()
|
||||
sh "chmod +x -R ${env.WORKSPACE}"
|
||||
sh './skrypt_stats.sh'
|
||||
}
|
||||
}
|
||||
stage('Archive') {
|
||||
|
Loading…
Reference in New Issue
Block a user