fix: corregir ruta de .deb y reordenar Archive Packages antes del upload
This commit is contained in:
Vendored
+12
-12
@@ -7,7 +7,7 @@ pipeline {
|
|||||||
|
|
||||||
APTLY_HOST = "ubuntu@elordenador.org"
|
APTLY_HOST = "ubuntu@elordenador.org"
|
||||||
|
|
||||||
DEB_FILE = "../*.deb"
|
DEB_FILE = "*.deb"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
@@ -52,7 +52,7 @@ pipeline {
|
|||||||
./build-kernel.sh
|
./build-kernel.sh
|
||||||
|
|
||||||
echo "=== Generated packages ==="
|
echo "=== Generated packages ==="
|
||||||
ls -lah ../*.deb
|
ls -lah *.deb
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -60,11 +60,20 @@ pipeline {
|
|||||||
stage('Lintian Check') {
|
stage('Lintian Check') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
lintian ../*.deb || true
|
lintian *.deb || true
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Archive Packages') {
|
||||||
|
steps {
|
||||||
|
archiveArtifacts(
|
||||||
|
artifacts: '*.deb',
|
||||||
|
fingerprint: true
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Upload to Aptly') {
|
stage('Upload to Aptly') {
|
||||||
steps {
|
steps {
|
||||||
sshagent(['srv01_elordenador_org']) {
|
sshagent(['srv01_elordenador_org']) {
|
||||||
@@ -114,15 +123,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Archive Packages') {
|
|
||||||
steps {
|
|
||||||
archiveArtifacts(
|
|
||||||
artifacts: '../*.deb',
|
|
||||||
fingerprint: true
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
|
|||||||
Reference in New Issue
Block a user