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