Update Jenkinsfile

This commit is contained in:
Marcin Szczepański 2019-11-24 13:18:54 +01:00
parent 2c92935996
commit e067f4aaf8
2 changed files with 5 additions and 2 deletions

1
Dockerfile Normal file
View File

@ -0,0 +1 @@
FROM circleci/node:10

6
Jenkinsfile vendored
View File

@ -35,12 +35,14 @@ pipeline {
} }
stage('Front-end') { stage('Front-end') {
agent { agent {
docker { image 'node:10' } dockerfile true
}
environment {
HOME = '.'
} }
steps { steps {
echo 'Building FrontEnd...' echo 'Building FrontEnd...'
sh ''' sh '''
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