Docker build using

Keywords: Jenkins - Other - How to - Other
Hi all, i’ve installed jenkins using helm but i not found a way to use docker build. I’ve found docker installation program inside jenkins configuration and using
ex pipeline:

pipeline {
  agent any
  tools {
    // a bit ugly because there is no `@Symbol` annotation for the DockerTool
    // see the discussion about this in PR 77 and PR 52: 
    '' 'master'
  environment {
    DOCKER_CERT_PATH = credentials('canister_docker')
  stages {
            sh "docker -version"
    stage('build') {
      steps {
        sh "./mvnw clean spring-boot:build-image " // DOCKER_CERT_PATH is automatically picked up by the Docker client

The problem is that mvn spring-boot:build-image command cannot connect to docker socket so the build command not work.

I’ve tried a tons of plugins and online solutions without success. Can anyone help me?

Hello @paulux84,

We provide technical support for our charts in our Github repositories. Our team is actively monitoring them and will be glad to help you there, usually within a business day, and the whole community will benefit from your contribution. Could you please post your question by creating a new issue in the testlink repo?

Thank you for your understanding!

Sure, thanks for the reply.
I’ve opened a new issue here
Have a nice day :slight_smile: