further fixes

This commit is contained in:
Kacper 2022-05-12 23:17:24 +02:00
parent 382694e415
commit 066d25cdd2
9 changed files with 12 additions and 10 deletions

6
lab5/Jenkinsfile vendored
View File

@ -1,6 +1,8 @@
pipeline { pipeline {
agent { agent {
dockerfile true dockerfile {
dir 'lab5'
}
} }
parameters { parameters {
string( string(
@ -13,7 +15,7 @@ pipeline {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
sh 'cd lab5/' sh 'cd lab5/'
sh 'chmod u+x ./process_dataset.py ./simple_regression.py' sh 'chmod u+x process_dataset.py simple_regression.py'
echo 'Processing dataset...' echo 'Processing dataset...'
sh 'python3 process_dataset.py' sh 'python3 process_dataset.py'
echo 'Dataset processed' echo 'Dataset processed'

View File

@ -6,7 +6,7 @@ pipeline {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
sh 'cd lab5/' sh 'cd lab5/'
sh 'chmod u+x ./process_dataset.py ./simple_regression.py' sh 'chmod u+x process_dataset.py simple_regression.py'
echo 'Processing dataset...' echo 'Processing dataset...'
sh 'python3 process_dataset.py' sh 'python3 process_dataset.py'
echo 'Dataset processed' echo 'Dataset processed'

View File

@ -8,7 +8,7 @@ pipeline {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
sh 'cd lab6/' sh 'cd lab6/'
sh 'chmod u+x ./process_dataset.py' sh 'chmod u+x process_dataset.py'
echo 'Processing dataset...' echo 'Processing dataset...'
sh 'python3 process_dataset.py' sh 'python3 process_dataset.py'
echo 'Dataset processed' echo 'Dataset processed'

View File

@ -17,7 +17,7 @@ pipeline {
steps { steps {
git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git' git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git'
sh 'cd lab6/' sh 'cd lab6/'
sh 'chmod u+x ./evaluate.py' sh 'chmod u+x evaluate.py'
echo 'Copying datasets from the create-dataset job...' echo 'Copying datasets from the create-dataset job...'
copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset' copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset'
echo 'Datasets copied' echo 'Datasets copied'

View File

@ -15,7 +15,7 @@ pipeline {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
sh 'cd lab6/' sh 'cd lab6/'
sh 'chmod u+x ./simple_regression.py' sh 'chmod u+x simple_regression.py'
echo 'Copying datasets from create-dataset...' echo 'Copying datasets from create-dataset...'
copyArtifacts filter: '*', projectName: 's449288-create-dataset' copyArtifacts filter: '*', projectName: 's449288-create-dataset'
echo 'Datasets copied' echo 'Datasets copied'

View File

@ -17,7 +17,7 @@ pipeline {
steps { steps {
sh 'cd lab7/' sh 'cd lab7/'
git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git' git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git'
sh 'chmod u+x ./evaluate.py' sh 'chmod u+x evaluate.py'
echo 'Copying datasets from the create-dataset job...' echo 'Copying datasets from the create-dataset job...'
copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset' copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset'
echo 'Datasets copied' echo 'Datasets copied'

View File

@ -8,7 +8,7 @@ pipeline {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
sh 'cd lab7/' sh 'cd lab7/'
sh 'chmod u+x ./simple_regression_lab7.py' sh 'chmod u+x simple_regression_lab7.py'
echo 'Copying datasets from create-dataset...' echo 'Copying datasets from create-dataset...'
copyArtifacts filter: '*', projectName: 's449288-create-dataset' copyArtifacts filter: '*', projectName: 's449288-create-dataset'
echo 'Datasets copied' echo 'Datasets copied'

View File

@ -17,7 +17,7 @@ pipeline {
steps { steps {
git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git' git branch: "${params.BRANCH}", url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git'
cd 'lab8/' cd 'lab8/'
sh 'chmod u+x ./evaluate.py' sh 'chmod u+x evaluate.py'
echo 'Copying datasets from the create-dataset job...' echo 'Copying datasets from the create-dataset job...'
copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset' copyArtifacts filter: 'lego_sets_clean_test.csv', projectName: 's449288-create-dataset'
echo 'Datasets copied' echo 'Datasets copied'

View File

@ -8,7 +8,7 @@ pipeline {
stage('Stage 1') { stage('Stage 1') {
steps { steps {
sh 'cd lab8/' sh 'cd lab8/'
sh 'chmod u+x ./simple_regression_lab8.py' sh 'chmod u+x simple_regression_lab8.py'
echo 'Copying datasets from create-dataset...' echo 'Copying datasets from create-dataset...'
copyArtifacts filter: '*', projectName: 's449288-create-dataset' copyArtifacts filter: '*', projectName: 's449288-create-dataset'
echo 'Datasets copied' echo 'Datasets copied'