Jenkins pipeline example
pipeline{ agent any environment { DOCKER_USER='robot_config' DOCKER_PASS='xxxxxxxx' DOCKER_REGISTRY='harbor.google.com' DOCKER_PROJECT='config-server-test' IMAGE_NAME='config-server' TAG='latest' SERVICE='config-server' ENV='beta' NAMESPACE='jenkins' SERVER_URL='https://vks-api/v1/k8s/97afc070-xxxx-4171-xxxx-yyyyy' SVC_TOKEN='yyyyyy' } stages{ stage('Checkout config-server git repository') { steps { git branch: 'feature/jenkins', credentialsId: 'git.x.com_credential_for_Github_Organization_pipeline', url: 'git@git.com:harmmy/cs.git' withCredentials([string(credentialsId: 'password', variable: 'SECRET')]) { //set SECRET with the credential conten...