Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 4dc63549 authored by Hannah von Reth's avatar Hannah von Reth

Craft: Enable appImage packaging

parent 0e7134f3
......@@ -60,9 +60,8 @@ timestamps {
// Now generate the appimage for it
sh """
cd ~/Craft/BinaryFactory/
// If Craft knew how to generate Appimages we could just run the below...
//python3 craftmaster/CraftMaster.py --config "${craftmasterConfig}" --target ${craftPlatform} -c ${craftOptions} ${craftProjectParams} --package ${craftBuildBlueprint}
// Instead we'll have to ask Craft to stage all the resources like it normally would, then we can run the necessary external tools to generate the appimage
python3 craftmaster/CraftMaster.py --config "${craftmasterConfig}" --target ${craftPlatform} -c ${craftOptions} ${craftProjectParams} linuxdeploy
python3 craftmaster/CraftMaster.py --config "${craftmasterConfig}" --target ${craftPlatform} -c ${craftOptions} ${craftProjectParams} --package ${craftBuildBlueprint}
"""
// Now copy it to the Jenkins workspace so it can be grabbed from there
......@@ -76,7 +75,7 @@ timestamps {
stage('Capturing Package') {
// Then we ask Jenkins to capture the generated installers as an artifact
archiveArtifacts artifacts: '*.appimage, *.sha256', onlyIfSuccessful: true
archiveArtifacts artifacts: '*.AppImage', *.appimage, *.sha256', onlyIfSuccessful: true
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment