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", "build": "ng build",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e" "e2e": "ng e2e",
"mybuild": "HOME=/ ./node_modules/@angular/cli/bin/ng build -prod -aot"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {

6
Jenkinsfile vendored
View File

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