Update Jenkinsfile

This commit is contained in:
marcin-szczepanski 2019-11-25 13:31:13 +01:00
parent 9f8ae924b3
commit 9c8aed8dd3
2 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,8 @@
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
"e2e": "ng e2e",
"mybuild": "HOME=/ ./node_modules/@angular/cli/bin/ng build -prod -aot"
},
"private": true,
"dependencies": {

6
Jenkinsfile vendored
View File

@ -33,7 +33,7 @@ pipeline {
echo 'Deploying...'
}
}
/*stage('Front-end') {
stage('Front-end') {
agent {
dockerfile true
}
@ -50,9 +50,9 @@ pipeline {
git pull
cd FrontEnd
npm install
./node_modules/@angular/cli/bin/ng build --prod
npm run mybuild
'''
}
}*/
}
}
}