2021-05-14 21:52:14 +02:00
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
stages {
|
|
|
|
stage('copy files') {
|
|
|
|
agent any
|
|
|
|
steps {
|
|
|
|
sh '''
|
2021-05-14 21:54:06 +02:00
|
|
|
cp ./lab5/create/script.sh .
|
|
|
|
cp ./lab5/create/create_dataset.py .
|
2021-05-15 15:05:42 +02:00
|
|
|
cp ./lab5/create/smart-grid-stability.zip .
|
2021-05-14 21:54:06 +02:00
|
|
|
cp ./lab5/create/requirements.txt .
|
2021-05-14 21:52:14 +02:00
|
|
|
'''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('docker') {
|
|
|
|
agent {
|
2021-05-15 14:11:08 +02:00
|
|
|
dockerfile true
|
2021-05-14 21:52:14 +02:00
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('archive artifact') {
|
|
|
|
steps {
|
|
|
|
archiveArtifacts 'train.csv'
|
|
|
|
archiveArtifacts 'test.csv'
|
|
|
|
archiveArtifacts 'valid.csv'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|