From 0c12aa2047b3880e5a9fa82636321f4a6ce0b60c Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 18 Jul 2026 10:35:34 +0200 Subject: [PATCH] fix: corregir ruta de .deb y reordenar Archive Packages antes del upload --- Jenkinsfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e5c798b..9d79fff 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ pipeline { APTLY_HOST = "ubuntu@elordenador.org" - DEB_FILE = "../*.deb" + DEB_FILE = "*.deb" } stages { @@ -52,7 +52,7 @@ pipeline { ./build-kernel.sh echo "=== Generated packages ===" - ls -lah ../*.deb + ls -lah *.deb ''' } } @@ -60,11 +60,20 @@ pipeline { stage('Lintian Check') { steps { sh ''' - lintian ../*.deb || true + lintian *.deb || true ''' } } + stage('Archive Packages') { + steps { + archiveArtifacts( + artifacts: '*.deb', + fingerprint: true + ) + } + } + stage('Upload to Aptly') { steps { sshagent(['srv01_elordenador_org']) { @@ -114,15 +123,6 @@ pipeline { } } } - - stage('Archive Packages') { - steps { - archiveArtifacts( - artifacts: '../*.deb', - fingerprint: true - ) - } - } } post {