Talk is cheap
This example just for interviewer.It’s triggered by post-receive.
Run flow
Local push -> Git host -> post-receive -> Jenkins -> shell
The Point of Technique
- git
- post-receive: Git will trigger jenkins to do somethins.
- jenkins
- Git will call me when it fired.
- shell
- this script will do somethins when jenkins has been called.
- nginx
- Do some sutff after jenkins deployment doen.
- vue
- Build on local then push dists to Git host, a simple html example.
EOF
Enjoy
I, simon love this world ❤️