Hello

I'm trying to build a project which Makefile pulls modules from a private 
repository. How should I forward the SSH key from Jenkins to the docker 
container?

The pipeline which creates the build is pretty very basic but it fails on 
checkout: 

pipeline {
    agent { dockerfile true }
    stages {
        stage('Build'){
            steps {
                sh 'make'
            }
        }
    }
}

I assume that similar problem will occur for *known_hosts* entry for the 
git repo. Are there any best practices for this? 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8e3fc387-fabb-4118-a7b6-922d6539bba2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to