2023-04-20 21:50:50 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
//Definijuemy parametry, które będzie można podać podczas wywoływania zadania
|
2023-04-20 22:45:53 +02:00
|
|
|
// parameters {
|
|
|
|
// string (
|
|
|
|
// defaultValue: 'Hello World!',
|
|
|
|
// description: 'To jest tekst, którym chce przywitać świat',
|
|
|
|
// name: 'INPUT_TEXT',
|
|
|
|
// trim: false
|
|
|
|
// )
|
|
|
|
// }
|
2023-04-20 21:50:50 +02:00
|
|
|
stages {
|
2023-04-20 22:45:53 +02:00
|
|
|
stage('Checkout') {
|
|
|
|
steps {
|
|
|
|
checkout scm
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Script') {
|
2023-04-20 21:50:50 +02:00
|
|
|
steps {
|
2023-04-20 22:45:53 +02:00
|
|
|
sh './script.sh'
|
2023-04-20 21:50:50 +02:00
|
|
|
}
|
|
|
|
}
|
2023-04-20 22:45:53 +02:00
|
|
|
stage('ArchiveArtifacts!') {
|
2023-04-20 21:50:50 +02:00
|
|
|
steps {
|
2023-04-20 22:45:53 +02:00
|
|
|
archiveArtifacts 'liver.data.train'
|
|
|
|
archiveArtifacts 'liver.data.test'
|
|
|
|
archiveArtifacts 'liver.data.dev'
|
2023-04-20 21:50:50 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|