Merge remote-tracking branch 'origin/main'

This commit is contained in:
Krzysztof Raczyński 2024-05-05 23:13:08 +02:00
commit c9c98dff01
2 changed files with 9 additions and 1 deletions

View File

@ -9,7 +9,6 @@ RUN pip install numpy tensorflow scikit-learn kaggle pandas
WORKDIR /app
COPY kaggle.json /root/.kaggle/kaggle.json
COPY ./create-dataset.sh ./
RUN dos2unix ./create-dataset.sh
COPY ./model.py ./

9
Jenkinsfile vendored
View File

@ -35,6 +35,15 @@ pipeline {
}
}
}
stage('Train and predict') {
steps {
sh "chmod +x ./model.py"
sh "chmod +x ./predict.py"
sh "python ./model.py"
sh "python ./predict.py"
archiveArtifacts artifacts: 'predicted_selling_prices.csv', onlyIfSuccessful: true
}
}
stage('Archive Results') {
steps {
archiveArtifacts artifacts: 'data/*', onlyIfSuccessful: true