nocache true

This commit is contained in:
Adam Wojdyla 2022-04-02 19:20:01 +02:00
parent 29cf279247
commit 10f81c6bf9
2 changed files with 3 additions and 4 deletions

View File

@ -20,7 +20,7 @@ pipeline {
}
agent {
dockerfile{
additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY" --build-arg --no-cache'
additionalBuildArgs '--build-arg KAGGLE_USERNAME="$KAGGLE_USERNAME" --build-arg KAGGLE_KEY="$KAGGLE_KEY" --build-arg --no-cache=true'
}
}
stages {

View File

@ -24,7 +24,7 @@ def unzip_package():
def download_dataset():
"""Download kaggle dataset."""
print('Downloading dataset...')
os.system('kaggle datasets downloasdasad -d anikannal/solar-power-generation-data')
os.system('kaggle datasets download -d anikannal/solar-power-generation-data')
print('Dir after downloading')
os.system('ls -la')
@ -83,8 +83,7 @@ def normalize_dataset(dataset):
return dataset
print(os.system('python3 -m pip freeze'))
# print(os.system('python3 -m pip freeze'))
download_dataset()
unzip_package()
cars = pd.read_csv('./Car_Prices_Poland_Kaggle.csv')