Update Jenkinsfile

This commit is contained in:
Marcin Szczepański 2019-11-24 12:52:46 +01:00
parent b3e040db52
commit 9334b00250

3
Jenkinsfile vendored
View File

@ -35,11 +35,12 @@ pipeline {
} }
stage('Front-end') { stage('Front-end') {
agent { agent {
docker { image 'node:13' } docker { image 'node:10' }
} }
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 [ ! -d "Punktonerzy" ] && git clone https://git.wmi.amu.edu.pl/s416178/Punktonerzy.git
cd Punktonerzy cd Punktonerzy
git pull git pull