From b4a816b80d0f5db10da6d7ad70157467e19074a2 Mon Sep 17 00:00:00 2001 From: fanta Date: Wed, 23 Aug 2023 23:24:42 +0200 Subject: [PATCH] jenkinsfile --- Jenkinsfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..7262b4f --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,20 @@ +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" + } + } + } + +}