Skip to content
Snippets Groups Projects
Commit 0abe4ca8 authored by Homada.Boumedane's avatar Homada.Boumedane
Browse files

chore(dlcm-portal): add stages

add stages to clean workspace and zip the app folder.
parent 96a53af8
No related branches found
No related tags found
No related merge requests found
......@@ -6,37 +6,34 @@ pipeline{
}
stages{
stage('Clean'){
cleanWs()
}
stage ('checkout'){
stage ('Checkout'){
steps{
cleanWs()
checkout scm
}
}
stage ('install modules'){
stage ('Install modules'){
steps{
sh 'npm install --verbose -d'
}
}
stage ('test'){
stage ('Test'){
steps{
// sh 'ng test --watch=false --no-progress --browsers=ChromeNoSandboxHeadless'
echo 'Test....'
}
}
stage ('code quality'){
stage ('Code quality'){
steps{
// sh 'ng lint'
echo 'Lint....'
}
}
stage ('build') {
stage ('Build') {
steps{
sh 'ng build --aot=true --prod=true'
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment