ium_434766/JenkinsFile
2021-03-26 16:36:45 +01:00

32 lines
794 B
Plaintext

pipeline {
agent any
parameters {
string (
defaultValue: '40',
description: 'Podaj ilość wierszy do odcięcia ze zbioru danych',
name: 'CUTOFF',
trim: false
)
}
stages {
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s434766/ium_434766.git'
}
}
stage('sh: Shell Script') {
steps {
sh 'chmod +x script.sh'
sh './script.sh ${CUTOFF}'
}
}
stage('archiveArtifacts') {
steps {
archiveArtifacts 'scriptTest.csv'
archiveArtifacts 'scriptDev.csv'
archiveArtifacts 'scriptTrain.csv'
archiveArtifacts 'lab3.csv'
}
}
}
}