adapt to ml_pytorch.py
This commit is contained in:
parent
8d5658d672
commit
4c4d0e1864
@ -18,34 +18,11 @@ pipeline {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('First step') {
|
stage('Train-stage'){
|
||||||
steps {
|
steps {
|
||||||
echo 'Hello world!'
|
copyArtifacts filter: '*', projectName: 's478839-create-dataset'
|
||||||
}
|
sh 'python3 ./ml_pytorch.py'
|
||||||
}
|
archiveArtifacts artifacts: 'Model_xPosition.pkl', followSymlinks: false
|
||||||
stage('Checkout') {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/feature']], extensions: [], userRemoteConfigs: [
|
|
||||||
[url: 'https://git.wmi.amu.edu.pl/s478839/ium_478839.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Shell Script') {
|
|
||||||
steps {
|
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}"]) {
|
|
||||||
sh "chmod +x -R ${env.WORKSPACE}"
|
|
||||||
sh './skrypt.sh'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Arichve') {
|
|
||||||
steps{
|
|
||||||
archiveArtifacts artifacts: 'understat.csv', followSymlinks: false
|
|
||||||
archiveArtifacts artifacts: 'understat_per_game.csv', followSymlinks: false
|
|
||||||
archiveArtifacts artifacts: 'understat.csv.dev', followSymlinks: false
|
|
||||||
archiveArtifacts artifacts: 'understat.csv.train', followSymlinks: false
|
|
||||||
archiveArtifacts artifacts: 'understat.csv.test', followSymlinks: false
|
|
||||||
archiveArtifacts artifacts: 'understat.csv.cutted', followSymlinks: false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user