Update 'Jenkinsfile'
This commit is contained in:
parent
8a0e670726
commit
7f976117ca
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -14,7 +14,7 @@ pipeline {
|
|||||||
)
|
)
|
||||||
string(
|
string(
|
||||||
defaultValue: '130000',
|
defaultValue: '130000',
|
||||||
description: 'wielkość odcięcia zbioru danych',
|
description: 'data file cutoff threshold',
|
||||||
name: 'CUTOFF'
|
name: 'CUTOFF'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -23,8 +23,9 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
echo 'Hello world!'
|
echo 'Checking out...'
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'f695fe86-8cca-47f7-a546-d3bfd1059fd4', url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'f695fe86-8cca-47f7-a546-d3bfd1059fd4', url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git']]])
|
||||||
|
echo 'Launching data processing script...'
|
||||||
sh 'chmod u+x ./skrypt.sh'
|
sh 'chmod u+x ./skrypt.sh'
|
||||||
sh './skrypt.sh $CUTOFF'
|
sh './skrypt.sh $CUTOFF'
|
||||||
archiveArtifacts 'lego_sets.tar.gz'
|
archiveArtifacts 'lego_sets.tar.gz'
|
||||||
|
Loading…
Reference in New Issue
Block a user