Explorar el Código

add Jenkinsfile

Benjamin Kornblum hace 8 meses
padre
commit
7dca7ef78c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Jenkinsfile

+ 1 - 0
Jenkinsfile

@@ -4,6 +4,7 @@ node {
     stage('Initialize'){
         def dockerHome = tool 'docker'
         env.PATH = "${dockerHome}/bin:${env.PATH}"
+        sh 'sudo usermod -aG docker jenkins'
     }
 
     stage('Clone repository') {