update
This commit is contained in:
parent
43b7355ae8
commit
5d23d6d8cc
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -17,7 +17,6 @@ pipeline {
|
||||
stage('Preparation') {
|
||||
steps {
|
||||
script {
|
||||
// Ustawianie danych uwierzytelniających KAGGLE
|
||||
withCredentials([string(credentialsId: '', variable: 'KAGGLE_USERNAME'), string(credentialsId: '', variable: 'KAGGLE_KEY')]) {
|
||||
sh 'export KAGGLE_USERNAME=$KAGGLE_USERNAME && export KAGGLE_KEY=$KAGGLE_KEY'
|
||||
}
|
||||
@ -26,20 +25,17 @@ pipeline {
|
||||
}
|
||||
stage('checkout') {
|
||||
steps {
|
||||
//Klonowanie
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'git-creds', url: 'https://git.wmi.amu.edu.pl/s487175/ium_z487175.git']]])
|
||||
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487175/ium_z487175.git'
|
||||
}
|
||||
}
|
||||
stage('script') {
|
||||
steps {
|
||||
//skrypt
|
||||
sh './s487175-create-dataset-scriptsh.py > output.txt'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
//archiveArtifacts
|
||||
archiveArtifacts artifacts: 'output.txt', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user