-
-
Notifications
You must be signed in to change notification settings - Fork 6
docker_commands
Jenkins pipeline with sonar integration :
- Download jenkins and follow install instuctions
- Download sonar and follow install instructions
- Create pipeline based project
- Update Jenkins job to read instructions from pipeline file
Local settings : docker container start jenkins_siri_dad docker container start sonarqube_siri_dad1
Rename running docker container docker rename old_container_name new_container_name
How to create network between two containers : https://www.digitalocean.com/community/questions/how-to-ping-docker-container-from-another-container-by-name
Slack Test - Curl Command:
curl -X POST --data-urlencode "payload={"channel": "#build-team", "username": "webhookbot", "text": "This is posted to #build-team and comes from a bot named webhookbot.", }" https://hooks.slack.com/services/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
An awesome plugin to validate Jenkins Pipeline File syntax : There is Visual Studio Plugin for validating jenkins file. Below link will help you to understand how this plugin works https://jenkins.io/blog/2018/11/07/Validate-Jenkinsfile/
