ls
This commit is contained in:
parent
1b58c3686b
commit
de37b2b416
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -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'
|
||||||
|
@ -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'
|
||||||
|
6
main2.py
6
main2.py
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user