ium_426206/Jenkinsfile

40 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-04-10 18:00:26 +02:00
pipeline {
2021-04-10 20:13:29 +02:00
agent any
2021-04-10 18:00:26 +02:00
parameters {
string(
defaultValue: '0',
description: 'Umożliwia zdefiniowanie wielkości odcięcia zbioru danych.',
name: 'CUTOFF',
trim: false
)
string(
defaultValue: 'rokoch',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
trim: false
)
password(
defaultValue: '',
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
name: 'KAGGLE_KEY'
)
}
stages {
stage('checkout') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s426206/ium_426206.git']]])
}
}
stage('docker') {
2021-04-10 20:12:30 +02:00
agent { dockerfile true }
2021-04-10 18:00:26 +02:00
steps {
2021-04-10 20:28:15 +02:00
sh 'cat /etc/issue'
2021-04-10 20:12:30 +02:00
sh 'ls -l'
sh 'chmod +x skrypt.sh'
sh './skrypt.sh 0'
2021-04-10 18:00:26 +02:00
}
}
}
}