$ oc create secret generic certisign-git-ssh-secret \
--from-literal=username=<user_name> \
--from-literal=password=<password> \
--type=kubernetes.io/basic-auth
# habilitar syncronismo com jenkins
$ oc label secret certisign-git-ssh-secret credential.sync.jenkins.openshift.io=true
$ oc label secret certisign-git-ssh-secret jenkins.openshift.io/secret.name=certisign-git-ssh-secret
![image-20190503124255395](https://raw.githubusercontent.com/sachgits/hello-openshift-jenkins-ci-cd/master/./img/image-20190503124255395.png)
![image-20190503124355774](https://raw.githubusercontent.com/sachgits/hello-openshift-jenkins-ci-cd/master/./img/image-20190503124355774.png)
oc process -f jenkins-sync-secret.yml -p APPLICATION_NAME=hello | oc create -f -
![image-20190506103715132](https://raw.githubusercontent.com/sachgits/hello-openshift-jenkins-ci-cd/master/./img/image-20190506103715132.png)
![image-20190506104007093](https://raw.githubusercontent.com/sachgits/hello-openshift-jenkins-ci-cd/master/./img/image-20190506104007093.png)
# verificar o nome do build
$ oc get bc
NAME TYPE FROM LATEST
hello-pipeline JenkinsPipeline 0
# iniciar
$ oc start-build hello-pipeline
build.build.openshift.io/hello-pipeline-1 started
![image-20190506104212619](https://raw.githubusercontent.com/sachgits/hello-openshift-jenkins-ci-cd/master/./img/image-20190506104212619.png)
# vejas os logs
$ oc logs -f bc/hello-pipeline
info: logs available at /https://jenkins-teste.apps.na311.openshift.opentlc.com/blue/organizations/jenkins/teste%2Fteste-hello-pipeline/detail/teste-hello-pipeline/1/
![image-20190506104504358](https://raw.githubusercontent.com/sachgits/hello-openshift-jenkins-ci-cd/master/./img/image-20190506104504358.png)