Skip to content

Commit

Permalink
Create JenkinsfileCD
Browse files Browse the repository at this point in the history
  • Loading branch information
opswithranjan authored Nov 24, 2022
1 parent b478ca9 commit 6ac9d29
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions JenkinsfileCD
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pipeline {
agent slave1
stages {
stage("Deploy") {
steps {
sh "sudo rm -r /var/www/html/frontend/*"
sh "sudo mv /home/jenkins/workspace/Frontend/build/* /var/www/html/frontend"
}
}
}
}

0 comments on commit 6ac9d29

Please sign in to comment.