ium_444417/Jenkinsfile2

26 lines
590 B
Plaintext
Raw Normal View History

2022-03-24 21:26:43 +01:00
pipeline {
agent any
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
name: 's444417-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_lines.txt'
}
}
}
}