25 lines
599 B
Plaintext
25 lines
599 B
Plaintext
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 ./startscript2.sh"
|
|
sh " ./startscript2.sh"
|
|
archiveArtifacts 'num_lines.txt'
|
|
}
|
|
}
|
|
}
|
|
} |