Next bix fix!
This commit is contained in:
parent
a63623c615
commit
5042a7f851
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -10,19 +10,22 @@ pipeline {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Clone_Repo') {
|
stage('checkout: Check out from version control') {
|
||||||
steps {
|
steps {
|
||||||
// Get some code from a GitHub repository
|
|
||||||
git 'https://git.wmi.amu.edu.pl/s434788/ium_434788'
|
git 'https://git.wmi.amu.edu.pl/s434788/ium_434788'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Run shell script') {
|
stage('sh: Shell Script') {
|
||||||
steps {
|
steps {
|
||||||
sh 'chmod +x test.sh'
|
sh 'chmod +x test.sh'
|
||||||
sh './test.sh'
|
sh './test.sh ${CUTOFF}'
|
||||||
archiveArtifacts 'test.csv'
|
}
|
||||||
archiveArtifacts 'dev.csv'
|
}
|
||||||
archiveArtifacts 'train.csv'
|
stage('archiveArtifacts') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts 'test.csv'
|
||||||
|
archiveArtifacts 'dev.csv'
|
||||||
|
archiveArtifacts 'train.csv'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Hello') {
|
stage('Hello') {
|
||||||
|
6
test.sh
6
test.sh
@ -9,4 +9,8 @@ tail -n +333 data.shuffled > wine.data.train
|
|||||||
|
|
||||||
cat header.csv wine.data.test > test.csv
|
cat header.csv wine.data.test > test.csv
|
||||||
cat header.csv wine.data.dev > dev.csv
|
cat header.csv wine.data.dev > dev.csv
|
||||||
cat header.csv wine.data.train > train.csv
|
cat header.csv wine.data.train > train.csv
|
||||||
|
|
||||||
|
|
||||||
|
head -n $1 data.shuffled > zadanie7.data
|
||||||
|
cat header.csv zadanie7.data > zadanie7.csv
|
Loading…
Reference in New Issue
Block a user