25 lines
610 B
Groovy
25 lines
610 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
parameters {
|
|
string(name: 'KAGGLE_USERNAME', defaultValue: 'gulczas', description: 'Kaggle username')
|
|
password(name: 'KAGGLE_KEY', defaultValue: '', description: 'Kaggle API key')
|
|
}
|
|
|
|
stages {
|
|
stage('Clone Repository') {
|
|
steps {
|
|
git 'https://git.wmi.amu.edu.pl/s464953/ium_464953.git'
|
|
}
|
|
}
|
|
stage('Cleanup Artifacts') {
|
|
steps {
|
|
script {
|
|
sh 'rm -rf artifacts'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|