Update Jenkinsfile
This commit is contained in:
parent
996579f67e
commit
79bf1a5398
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user