diff --git a/Jenkinsfile-eval b/Jenkinsfile-eval index 670b827..fe63c8b 100644 --- a/Jenkinsfile-eval +++ b/Jenkinsfile-eval @@ -82,6 +82,6 @@ node { stage('Saving artefacts') { echo 'Goodbye!' sh 'ls' - archiveArtifacts artifacts: '*.csv', '*.png' + archiveArtifacts artifacts: '*.csv, *.png' } } \ No newline at end of file diff --git a/src/models/utils.py b/src/models/utils.py index 3ffa84c..c388f1e 100644 --- a/src/models/utils.py +++ b/src/models/utils.py @@ -38,7 +38,7 @@ class utils: file_path = Path(file_path) df = pd.DataFrame({"build_id": [build_id], "data": [data]}) - df.to_csv(file_path, mode="w", header=False, index=False) + df.to_csv(file_path, mode="a", header=False, index=False) if __name__ == "__main__":