ium_444354/Jenkinsfile2
Adrian Charkiewicz 7afb3efe31 without flag t
2022-04-09 18:36:43 +02:00

29 lines
617 B
Plaintext

pipeline {
agent {
dockerfile true
}
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
name: 's444354-create-dataset',
description: 'Which build to use for copying artifacts'
)
}
stages {
stage("Check out from version control") {
steps {
checkout scm
}
}
stage("Shell Script") {
steps {
sh "chmod u+x ./script2.sh"
sh " ./script2.sh"
archiveArtifacts 'num_of_lines.txt'
}
}
}
}