pipeline { // Agente agent { docker { image 'debian:12' args '-u root' } } // Fases stages { stage('DEDENDENCIAS') { steps { echo "Actualizar repos y upgrade de paquetes instalados" sh "apt-get update && apt-get -y upgrade" } } } }