Update Jenkinsfile_stats - class 4
This commit is contained in:
parent
ac3fa8bca2
commit
f1f90075d7
@ -1,21 +1,21 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
docker { image 'zollinka/ium:latest' }
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('copyArtifacts') {
|
stage('Sh script') {
|
||||||
steps {
|
steps {
|
||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434684-create-dataset', selector: buildParameter('CREATE_DATASET_BUILD_SELECTOR')
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
}
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
}
|
sh 'chmod +x run.sh'
|
||||||
stage('script stats') {
|
sh './run.sh > netflix_stats.txt'
|
||||||
steps {
|
}
|
||||||
sh 'chmod +x jenkins_stats_script.sh'
|
|
||||||
sh './jenkins_stats_script.sh'
|
}
|
||||||
}
|
}
|
||||||
}
|
stage('Archive artifacts') {
|
||||||
stage('archiveArtifacts') {
|
steps{
|
||||||
steps {
|
archiveArtifacts artifacts: 'netflix_stats.txt'
|
||||||
archiveArtifacts 'dataset-stats.txt'
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user