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

chore(dlcm-portal): add jenkins file

add jenkins file to use pipeline build
parent c2194317
No related branches found
No related tags found
No related merge requests found
pipeline{
agent any
stages{
stage ('checkout'){
steps{
checkout scm
}
}
stage ('install modules'){
steps{
sh 'npm install --verbose -d'
}
}
stage ('test'){
steps{
/* sh 'ng test --watch=false --no-progress --browsers=ChromeNoSandboxHeadless' */
}
}
stage ('code quality'){
steps{
/ * sh 'ng lint' */
}
}
stage ('build') {
steps{
sh 'ng build --aot=true --prod=true'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}
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