From be2cbed28ffd467b6cc5c6b877271d8ed6009979 Mon Sep 17 00:00:00 2001 From: Adam Wojdyla Date: Sat, 2 Apr 2022 18:07:21 +0200 Subject: [PATCH] tag + archive files --- Jenkinsfile-docker | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile-docker b/Jenkinsfile-docker index db1e47d..b204bde 100644 --- a/Jenkinsfile-docker +++ b/Jenkinsfile-docker @@ -20,7 +20,8 @@ pipeline { } agent { dockerfile{ - additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY"' + label 'my-label' + additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY" -t s444507_create_dataset_image' } } stages { @@ -30,4 +31,9 @@ pipeline { } } } + post { + success { + archiveArtifacts artifacts: 'Car_Prices_Poland_Kaggle_*', followSymlinks: false + } + } } \ No newline at end of file