fix: utils & jenkinsfile
This commit is contained in:
parent
34040bbd25
commit
7a6469a633
|
@ -82,6 +82,6 @@ node {
|
|||
stage('Saving artefacts') {
|
||||
echo 'Goodbye!'
|
||||
sh 'ls'
|
||||
archiveArtifacts artifacts: '*.csv', '*.png'
|
||||
archiveArtifacts artifacts: '*.csv, *.png'
|
||||
}
|
||||
}
|
|
@ -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__":
|
||||
|
|
Loading…
Reference in New Issue