script2
This commit is contained in:
parent
1f73d4adf9
commit
01f03013e9
16
Jenkinsfile2
16
Jenkinsfile2
@ -9,20 +9,18 @@ pipeline {
|
||||
}
|
||||
stage('CopyArtifacts'){
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s487186-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s487186-create-dataset', selector: lastSuccessful()
|
||||
}
|
||||
}
|
||||
stage('Script') {
|
||||
steps {
|
||||
sh 'echo test'
|
||||
sh './script2.sh > output.txt'
|
||||
}
|
||||
}
|
||||
stage('ArchiveArtifacts') {
|
||||
steps {
|
||||
archiveArtifacts 'output.txt'
|
||||
}
|
||||
}
|
||||
// stage('ArchiveArtifacts') {
|
||||
// steps {
|
||||
// archiveArtifacts 'liver.data.train'
|
||||
// archiveArtifacts 'liver.data.test'
|
||||
// archiveArtifacts 'liver.data.dev'
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
4
script2.sh
Normal file
4
script2.sh
Normal file
@ -0,0 +1,4 @@
|
||||
echo "Ilość linii w plikach:"
|
||||
wc -l liver.data.train
|
||||
wc -l liver.data.test
|
||||
wc -l liver.data.dev
|
Loading…
Reference in New Issue
Block a user