This commit is contained in:
s487178 2023-04-12 21:59:32 +02:00
parent 3a1096d32d
commit 8f3c3eb6f6
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -18,7 +18,7 @@ pipeline {
steps {
script {
def csv_filename = 'body_performance_processed.csv'
sh "docker run -v ${env.WORKSPACE}/artifacts:/app/artifacts ium_s487178 python3 ./python_dataset_create.py --csv-file ${csv_filename}"
sh "docker run -v ${env.WORKSPACE}/artifacts:/app/artifacts ium_s487178 python3 ./python_dataset_create.py"
if (fileExists("${env.WORKSPACE}/artifacts/${csv_filename}")) {
archiveArtifacts "${env.WORKSPACE}/artifacts/${csv_filename}"
}

View File

@ -41,7 +41,7 @@ scaler = MinMaxScaler(feature_range=(-1, 1))
df['sit and bend forward_cm'] = scaler.fit_transform(df[['sit and bend forward_cm']])
df.to_csv(r'/app/artifacts/body_performance_processed.csv', index=False)
print("csv file saved to /app/artifacts/body_performance_processed.csv")