update
This commit is contained in:
parent
48b5dccbb4
commit
4dd4a39d6f
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -55,7 +55,7 @@ pipeline {
|
||||
}
|
||||
stage('Archive file') {
|
||||
steps {
|
||||
archiveArtifacts artifacts: 'output.txt, diamonds.csv', fingerprint: true
|
||||
archiveArtifacts artifacts: 'output.txt, diamonds.csv, diamonds_cutoff.csv', fingerprint: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ if cutoff == -1:
|
||||
else:
|
||||
cutoff = int(os.environ['CUTOFF'])
|
||||
diamonds = diamonds[:cutoff]
|
||||
diamonds.to_csv('diamonds_cutoff.csv', index=False)
|
||||
|
||||
# %%
|
||||
#przydzielanie nazwy kolumny z id
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# script ilość linii w wejściowym pliku
|
||||
|
||||
artifact_name="diamonds.csv"
|
||||
artifact_name="diamonds_cutoff.csv"
|
||||
artifact_path="$WORKSPACE/$artifact_name"
|
||||
|
||||
if [ -f "$artifact_path" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user