diff --git a/Jenkinsfile b/Jenkinsfile index 1b6f2bd..e38ef49 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,12 +35,12 @@ pipeline { } stage('Front-end') { agent { - docker { image 'timbru31/node-alpine-git' } + docker { image 'node:latest' } } steps { echo 'Building FrontEnd...' sh ''' - sudo chown -R 1003:100 "/.npm" + [ ! -d "Punktonerzy" ] && git clone https://git.wmi.amu.edu.pl/s416178/Punktonerzy.git cd Punktonerzy git pull cd FrontEnd