pipeline { // Agente agent { docker { image 'debian:12' args '-u root' } } // Fases stages { stage('DEDENDENCIAS') { steps { echo "Actualizar repos, upgrade de paquetes instalados." sh "apt-get update && apt-get -y upgrade" } steps { echo "Instalar paquetes necesarios para compilar." sh "apt install -y g++ make git nasm libsdl2-dev libsdl2-net-dev liba52-dev libjpeg62-turbo-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev libfribidi-dev libgif-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev" } } } }