1.jenkins build job
2.Configure
3.Scan MultiplePipeline Now, Scan MultiplePipeline log
4.Bitbucket where configure to link with bitucket?
5.Define JenkinsFile with Shared_libaray service_name
#!groovy library identifier: 'jenkins-shared-lib@tc/v3', retriever: modernSCM( [$class : 'GitSCMSource', remote : 'git@bitbucket.org:english1/jenkins-shared-lib.git', credentialsId: 'devops.kt']) sharedCIPipelineBuildDockerAndPush { podTemplate = ktPodTemplate('docker': true) service = 'api-auto-test' serviceName = 'api-auto-test' imageRepo = 'edtech-kt/api-auto-test' registries = ['TC_CN': true, 'AWS_CN': false, 'AWS_SG': false] deployTo = ['CN':true, 'SG':false] qaDeployJob = "KT-API-AUTO_TEST-CN-DEPLOY" stgDeployJob = "KT-API-AUTO_TEST-STG-CN-DEPLOY" teamsConnectorName = 'Platform Channel' teamsConnectorUrl = 'https://outlook.office.com/webhook/a7f32c1d-faf5-4e70-9b87-c1553ce93d97@f0d1c6fd-dff0-486a-8e91-cfefefc7d98d/JenkinsCI/d1eecb1befc04b00af2dc4a275959ac8/6034223b-343c-4dc8-8cd6-f71f41659b6c' }
DockerFile :
services: api-auto-test: image: edtech-kt/api-auto-test:${IMAGE_TAG} build: context: ./ dockerfile: ./Dockerfile network: host