filmov
tv
Complete Jenkins CI/CD Using GitLab and Docker | Jenkins Deployment To Docker Container |
Показать описание
Complete Jenkins CI/CD Using GitLab and Docker | Jenkins Deployment To Docker Container |
#jenkins #cicd #deployment
Configure the Jenkins project:
Set up the Jenkins project you intend to run your build on.
On your Jenkins instance, go to New Item.
Enter the project’s name.
Choose between Freestyle or Pipeline and click OK. We recommend a Freestyle project, because the Jenkins plugin updates the build status on GitLab. In a Pipeline project, you must configure a script to update the status on GitLab.
Choose your GitLab connection from the dropdown.
Check the Build when a change is pushed to GitLab checkbox.
Check the following checkboxes:
Accepted Merge Request Events
Closed Merge Request Events
Specify how build status is reported to GitLab:
If you created a Freestyle project, in the Post-build Actions section, choose Publish build status to GitLab.
If you created a Pipeline project, you must use a Jenkins Pipeline script to update the status on GitLab.
1) Configure the GitLab project
2) Webhook integration
3) configure Jenkins with GitLab
4)configure docker machine remote machine with Jenkins
5) make deployment script
#jenkins #cicd #deployment
Configure the Jenkins project:
Set up the Jenkins project you intend to run your build on.
On your Jenkins instance, go to New Item.
Enter the project’s name.
Choose between Freestyle or Pipeline and click OK. We recommend a Freestyle project, because the Jenkins plugin updates the build status on GitLab. In a Pipeline project, you must configure a script to update the status on GitLab.
Choose your GitLab connection from the dropdown.
Check the Build when a change is pushed to GitLab checkbox.
Check the following checkboxes:
Accepted Merge Request Events
Closed Merge Request Events
Specify how build status is reported to GitLab:
If you created a Freestyle project, in the Post-build Actions section, choose Publish build status to GitLab.
If you created a Pipeline project, you must use a Jenkins Pipeline script to update the status on GitLab.
1) Configure the GitLab project
2) Webhook integration
3) configure Jenkins with GitLab
4)configure docker machine remote machine with Jenkins
5) make deployment script
Комментарии