Update Jenkinsfile

This commit is contained in:
Marcin Szczepański 2019-11-24 12:45:42 +01:00
parent 996579f67e
commit 79bf1a5398

4
Jenkinsfile vendored
View File

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