32 lines
794 B
Plaintext
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'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|