t
This commit is contained in:
parent
30309c70c6
commit
0c51451a07
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -1,4 +1,8 @@
|
|||||||
node {
|
node {
|
||||||
|
stage('Clone Git Repository') {
|
||||||
|
git 'https://git.wmi.amu.edu.pl/s487187/ium_487187.git'
|
||||||
|
}
|
||||||
|
|
||||||
stage('Preparation') {
|
stage('Preparation') {
|
||||||
properties([
|
properties([
|
||||||
parameters([
|
parameters([
|
||||||
@ -21,15 +25,6 @@ node {
|
|||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
|
||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||||
sh 'kaggle datasets list'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Clone Git Repository') {
|
|
||||||
git 'https://git.wmi.amu.edu.pl/s487187/ium_487187.git'
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Process Data') {
|
|
||||||
sh '''
|
sh '''
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
pip install kaggle
|
pip install kaggle
|
||||||
@ -44,6 +39,7 @@ node {
|
|||||||
archiveArtifacts 'output.txt'
|
archiveArtifacts 'output.txt'
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('End') {
|
stage('End') {
|
||||||
echo 'Program ended!'
|
echo 'Program ended!'
|
||||||
|
Loading…
Reference in New Issue
Block a user