Fixed jenkins file

This commit is contained in:
Jan Nowak 2021-03-28 22:06:38 +02:00
parent 8aba5d9df1
commit 425a774340

8
Jenkinsfile vendored
View File

@ -1,8 +1,5 @@
pipeline { pipeline {
agent any agent any
stages {
stage('Preparation') {
properties([
parameters([ parameters([
string( string(
defaultValue: '0', defaultValue: '0',
@ -22,8 +19,7 @@ pipeline {
name: 'KAGGLE_KEY' name: 'KAGGLE_KEY'
) )
]) ])
]) stages {
}
stage('checkout') { stage('checkout') {
steps { steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s426206/ium_426206.git']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s426206/ium_426206.git']]])
@ -42,8 +38,10 @@ pipeline {
} }
stage('end') { stage('end') {
steps {
//Zarchiwizuj wynik //Zarchiwizuj wynik
archiveArtifacts 'output.txt' archiveArtifacts 'output.txt'
} }
} }
}
} }