ium-s301654/create-dataset.Jenkinsfile

35 lines
845 B
Plaintext
Raw Normal View History

2024-03-20 14:29:28 +01:00
pipeline {
2024-03-26 12:15:35 +01:00
agent {
dockerfile true
}
2024-03-20 14:52:24 +01:00
parameters {
string (
defaultValue: '100',
description: 'Wielkość odcięcia zbioru danych',
name: 'CUTOFF',
trim: false
)
}
2024-03-20 14:34:10 +01:00
stages {
stage('Checkout') {
steps {
checkout scmGit(
branches: [[name: '*/main']],
extensions: [],
userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/pms/ium-s301654']])
}
}
2024-03-20 14:45:30 +01:00
stage('Download') {
steps {
2024-03-20 14:52:24 +01:00
sh "CUTOFF=${CUTOFF} ./create-dataset.sh"
2024-03-20 14:45:30 +01:00
}
}
2024-03-20 14:46:59 +01:00
stage('Archive') {
steps {
2024-03-20 14:52:59 +01:00
archiveArtifacts artifacts: 'data.csv', followSymlinks: false
2024-03-20 14:46:59 +01:00
}
}
2024-03-20 14:34:10 +01:00
}
2024-03-20 14:29:28 +01:00
}