Skip to content
Snippets Groups Projects
Commit 921c72f1 authored by Denis Pynkin's avatar Denis Pynkin
Browse files

Jenkinsfile: refactoring


Changes:
- all logical parts are moved to appropriate functions;
- stages are used only in main `buildImages()` and high-level
  functions to avoid nested stages usage to have a clean and
  comprehensive view of the job in Jenkins;
- use separate OSTree repositories to avoid confusion
  for parallel ostree tasks;
- use individual build statuses per image/tarball. With try/catch
  companion it allows to continue the build of deriviatives if some
  image fail to build;
- all artifacts deployed at stage 'upload' after the build;
- tests started only for successfully created images;
- allow to avoid the build `image` artifacts -- allow to create sysroot
  without the development image;
- for `Armhf` only minimal images and sysroot are created.

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
parent cb1bc1ac
No related branches found
No related tags found
1 merge request!3Jenkinsfile: refactoring
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment