ium_444354/Jenkinsfile2

31 lines
798 B
Plaintext
Raw Normal View History

2022-03-24 17:03:41 +01:00
pipeline {
2022-04-09 18:36:43 +02:00
agent {
2022-05-03 22:12:13 +02:00
dockerfile {image 'ksero/ium:pytorch'}
2022-04-09 18:36:43 +02:00
}
2022-05-03 22:12:13 +02:00
/* parameters{
2022-03-24 21:12:58 +01:00
buildSelector(
defaultSelector: lastSuccessful(),
name: 's444354-create-dataset',
2022-04-09 18:41:11 +02:00
description: 'Which build to use for copying artifacts'
2022-03-24 21:12:58 +01:00
)
2022-05-03 22:12:13 +02:00
}*/
2022-03-24 21:12:58 +01:00
stages {
stage("Check out from version control") {
2022-05-03 22:12:13 +02:00
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's444354', url: 'https://git.wmi.amu.edu.pl/s444354/ium_444354.git']]])
}
2022-03-24 21:12:58 +01:00
}
stage("Shell Script") {
steps {
sh "chmod u+x ./script2.sh"
sh " ./script2.sh"
archiveArtifacts 'num_of_lines.txt'
}
}
}
2022-03-24 19:43:47 +01:00
}