fix script paths

This commit is contained in:
jakubknczny 2021-04-02 22:14:19 +02:00
parent df0d4bd9db
commit 1aac06908b
2 changed files with 6 additions and 5 deletions

View File

@ -11,10 +11,10 @@ pipeline {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'chmod +x script-zadanie-2-4.sh'
sh './script-zadanie-2-4.sh'
sh 'chmod +x script-zadanie-2-4-cutoff.sh'
sh "./script-zadanie-2-4-cutoff.sh ${params.CUTOFF}"
sh 'chmod +x ./lab2/script-zadanie-2-4.sh'
sh './lab2/script-zadanie-2-4.sh'
sh 'chmod +x ./lab2/script-zadanie-2-4-cutoff.sh'
sh "./lab2/script-zadanie-2-4-cutoff.sh ${params.CUTOFF}"
}
}
}

View File

@ -14,7 +14,8 @@ pipeline {
}
stage('stats') {
steps {
sh 'chmod +x dataset-stats.sh'
sh 'chmod +x ./lab2/dataset-stats.sh'
sh './lab2/dataset-stats.sh'
}
}
stage('archive artifacts') {