properly move artifacts
This commit is contained in:
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@@ -55,22 +55,29 @@ pipeline {
|
||||
chmod +x /root/zzz-config-live.sh
|
||||
cp /root/update-initramfs.sh config/chroot_local-hooks
|
||||
cp /root/zzz-config-live.sh config/chroot_local-hooks
|
||||
cp /root/linux-image-*.deb config/chroot_local-packages/
|
||||
cp /root/device3dfx-*.deb config/chroot_local-packages/
|
||||
cp /root/squashfs-modules-*.deb config/chroot_local-packages/
|
||||
ln -s /root/linux-image-*.deb config/chroot_local-packages/
|
||||
ln -s /root/device3dfx-*.deb config/chroot_local-packages/
|
||||
ln -s /root/squashfs-modules-*.deb config/chroot_local-packages/
|
||||
cp /root/desktop config/chroot_local-packageslists/
|
||||
mkdir -p config/chroot_local-includes/usr/share/wallpapers
|
||||
cp /root/wallpaper.jpg config/chroot_local-includes/usr/share/wallpapers/retrodebian.jpg
|
||||
'''
|
||||
sh 'lh_build'
|
||||
}
|
||||
dir('root')
|
||||
{
|
||||
sh '''
|
||||
mkdir artifacts
|
||||
mv *.deb artifacts/
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
success {
|
||||
archiveArtifacts artifacts: 'root/live/*.iso', fingerprint: true
|
||||
archiveArtifacts artifacts: 'root/*.deb', fingerprint: true
|
||||
archiveArtifacts artifacts: 'root/artifacts/*.deb', fingerprint: true
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user