archive stats
This commit is contained in:
parent
a88751fd7e
commit
19b1db0e66
@ -1,12 +1,5 @@
|
||||
pipeline {
|
||||
agent none
|
||||
/* parameters {
|
||||
string(defaultValue: '6000',
|
||||
description: 'numbers of data entries to keep in train.csv',
|
||||
name: 'CUTOFF',
|
||||
trim: true)
|
||||
}
|
||||
*/
|
||||
stages {
|
||||
stage('copy files') {
|
||||
agent any
|
||||
@ -19,40 +12,21 @@ pipeline {
|
||||
'''
|
||||
}
|
||||
}
|
||||
/* stage('sh: Shell Script') {
|
||||
steps {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh ''' chmod +x ./lab2/script-zadanie-2-4.sh
|
||||
./lab2/script-zadanie-2-4.sh
|
||||
chmod +x ./lab2/script-zadanie-2-4-cutoff.sh'''
|
||||
sh "./lab2/script-zadanie-2-4-cutoff.sh ${params.CUTOFF}"
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
stage('docker') {
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
stages {
|
||||
stage('test') {
|
||||
steps {
|
||||
sh 'cat /etc/issue'
|
||||
}
|
||||
}
|
||||
stage('actual') {
|
||||
stage('script') {
|
||||
steps {
|
||||
sh '''
|
||||
chmod +x script.sh
|
||||
./script.sh'''
|
||||
./script.sh >> stats.txt'''
|
||||
}
|
||||
}
|
||||
stage('archive artifacts') {
|
||||
stage('archive artifact') {
|
||||
steps {
|
||||
archiveArtifacts 'train.csv'
|
||||
archiveArtifacts 'test.csv'
|
||||
archiveArtifacts 'valid.csv'
|
||||
archiveArtifacts 'stats.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user