Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
a786a6b8
Unverified
Commit
a786a6b8
authored
2 years ago
by
Divyansh
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Create jenk
parent
d960b9e3
github/fork/admindivyansh/patch-2
1 merge request
!12837
Create jenk
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jenk
+17
-0
jenk
with
17 additions
and
0 deletions
+17
-0
jenk
0 → 100644
+
17
-
0
View file @
a786a6b8
pipeline {
agent any
stages {
stage("Build") {
steps {
sh "sudo npm install"
sh "sudo npm run build"
}
}
stage("Deploy") {
steps {
sh "sudo rm -rf /var/www/jenkins-react-app"
sh "sudo cp -r ${WORKSPACE}/build/ /var/www/jenkins-react-app/"
}
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets