title: Error in Jenkins Openshift pipeline script about unable to read certificate-authority
body: <p>I have an Openshift simple test script, but I get an error, and I have no idea how to solve it. Someone said define <code>SKIP_TLS = true</code> in your Jenkins pipeline parametered definition will solve problem.</p>
  
  <p>My script:</p>
  
  <pre><code>openshift.withCluster( "${KUBERNETES_SERVICE_HOST}", "${AUTH_TOKEN}") {
      openshift.withProject( "ph1" ) {
      def latestDeploymentVersion = 
      openshift.selector('dc','feign').object().status.latestVersion
      echo ${latestDeploymentVersion}
      }
  }
  </code></pre>
  
  <p>I got error, I don’t know what I can do. How can I skip 
  <code>--certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt</code> in oc command?</p>
  
  <blockquote>
    <p>ERROR: Unable to retrieve object markup with get; action failed: {reference={}, err=error: unable to read certificate-authority /var/run/secrets/kubernetes.io/serviceaccount/ca.crt for console-appcanvas-net:8443 due to open /var/run/secrets/kubernetes.io/serviceaccount/ca.crt: The system cannot find the path specified., verb=get, cmd=oc --server=<a href="https://console.appcanvas.net:8443" rel="nofollow noreferrer">https://console.appcanvas.net:8443</a> --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt --namespace=ph1 --token=XXXXX get deploymentconfig/feign -o=json , out=, status=1}
    Finished: FAILURE</p>
  </blockquote>