a4ef4af182
Some checks failed
s444354-evaluation/pipeline/head There was a failure building this commit
31 lines
798 B
Plaintext
31 lines
798 B
Plaintext
pipeline {
|
|
agent {
|
|
dockerfile {image 'ksero/ium:pytorch'}
|
|
}
|
|
|
|
/* 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([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444354', url: 'https://git.wmi.amu.edu.pl/s444354/ium_444354.git']]])
|
|
}
|
|
}
|
|
stage("Shell Script") {
|
|
steps {
|
|
sh "chmod u+x ./script2.sh"
|
|
sh " ./script2.sh"
|
|
archiveArtifacts 'num_of_lines.txt'
|
|
|
|
}
|
|
}
|
|
}
|
|
} |