zadanie doker

This commit is contained in:
szymonj98 2022-04-03 15:05:44 +02:00
parent 6827801773
commit 64fb526675
3 changed files with 7 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -22,7 +22,11 @@ pipeline {
KAGGLE_KEY="$params.KAGGLE_KEY"
CUTOFF="$params.CUTOFF"
}
agent any
agent {
dockerfile {
additionalBuildArgs '-t ium'
}
}
stages {
stage('Stage 1') {
steps {

View File

@ -1,6 +1,6 @@
pipeline{
agent {
dockerfile true
dockerfile { image 'ium' }
}
parameters {
buildSelector(

View File

@ -2,5 +2,5 @@
kaggle datasets download -d tamber/steam-video-games
unzip -o steam-video-games.zip
> data.csv
head -n $CUTOFF steam-200k.csv >> data.csv
head -n $CUTOFF steam-200k.csv >> steam-200k.csv