ium_444356/Jenkinsfile2

19 lines
400 B
Plaintext

pipeline {
agent any
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
name: 'BUILD_SELECTOR',
description: 'Which build to use for copying artifacts'
)
}
stages {
stage("Script") {
steps {
sh " ./stats.sh"
archiveArtifacts 'lines.txt'
}
}
}
}