This commit is contained in:
Natalia Szymczyk 2023-04-21 16:11:09 +02:00
parent 1b58c3686b
commit de37b2b416
3 changed files with 12 additions and 7 deletions

5
Jenkinsfile vendored
View File

@ -23,6 +23,11 @@ pipeline {
sh 'python3 main.py' sh 'python3 main.py'
} }
} }
stage('List') {
steps {
sh 'ls -la'
}
}
stage('ArchiveArtifacts') { stage('ArchiveArtifacts') {
steps { steps {
archiveArtifacts 'liver.data.train' archiveArtifacts 'liver.data.train'

View File

@ -14,11 +14,11 @@ pipeline {
copyArtifacts projectName: 'z-s487186-create-dataset', selector: lastSuccessful() copyArtifacts projectName: 'z-s487186-create-dataset', selector: lastSuccessful()
} }
} }
stage('test') { stage('List') {
steps { steps {
sh 'ls -la' sh 'ls -la'
}
} }
}
stage('Script') { stage('Script') {
steps { steps {
sh 'python3 main2.py > output.txt' sh 'python3 main2.py > output.txt'

View File

@ -1,8 +1,8 @@
import pandas as pd import pandas as pd
train = pd.read_csv('liver.data.train') train = pd.read_csv('liver.train.data')
test = pd.read_csv('liver.data.test') test = pd.read_csv('liver.test.data')
dev = pd.read_csv('liver.data.dev') dev = pd.read_csv('liver.dev.data')
print('\ntrain dataset:\n', train.describe()) print('\ntrain dataset:\n', train.describe())
print('\ntest dataset:\n', test.describe()) print('\ntest dataset:\n', test.describe())