Update Jenkinsfile
This commit is contained in:
parent
9f8ae924b3
commit
9c8aed8dd3
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
'''
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue