36 lines
990 B
Groovy
36 lines
990 B
Groovy
pipeline {
|
|
agent none
|
|
stages {
|
|
stage('copy files') {
|
|
agent any
|
|
steps {
|
|
sh '''
|
|
cp ./lab5/create/script.sh .
|
|
cp ./lab5/create/create_dataset.py .
|
|
cp ./lab5/create/smart-grid-stability.zip .
|
|
cp ./lab5/create/requirements.txt .
|
|
'''
|
|
}
|
|
}
|
|
stage('docker') {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
stages {
|
|
stage('ls') {
|
|
steps {
|
|
sh "ls -lah"
|
|
}
|
|
}
|
|
stage('archive artifact') {
|
|
steps {
|
|
archiveArtifacts 'train.csv'
|
|
archiveArtifacts 'test.csv'
|
|
archiveArtifacts 'valid.csv'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|