Skip to content
Snippets Groups Projects
Commit 96a53af8 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 137a77de
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,10 @@ pipeline{ ...@@ -6,6 +6,10 @@ pipeline{
} }
stages{ stages{
stage('Clean'){
cleanWs()
}
stage ('checkout'){ stage ('checkout'){
steps{ steps{
checkout scm checkout scm
...@@ -41,6 +45,7 @@ pipeline{ ...@@ -41,6 +45,7 @@ pipeline{
stage('Deploy') { stage('Deploy') {
steps { steps {
echo 'Deploying....' echo 'Deploying....'
zip dir: "${workspace}/dist/**", zipFile: "dlcm-frontend.zip" // Create a zip file of content in the workspace
} }
} }
......
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