Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

338
Views
Jenkins - Cómo ejecutar - poda del sistema docker - en proceso

Este es mi Jenkinsfile para crear una imagen acoplable y enviarla a dockerhub. Todo funciona muy bien. Me gustaría limpiar las imágenes sin etiquetar después del proceso de compilación. Actualmente hago el docker system prune -f manualmente en el nodo de Jenkins. ¿Hay alguna forma de incorporar cuando el agente no es none ?

 pipeline { agent none stages { stage('Build Jar') { agent { docker { image 'maven:3.6.0' args '-v $HOME/.m2:/root/.m2' } } steps { sh 'mvn clean package' } } stage('Build Image') { steps { script { app = docker.build("myimagename") } } } stage('Push Image') { steps { script { app.push("latest") } } } } }
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!