getting the result of buildJob needs approval but as we are
triggering the job anonymous this is not possible. Thus, this
workaround is implemented
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the previous 2 commits need the changes of this file. But for a
better visibility it was committed separately
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
this job is responsible to build a yocto target, syncing the sstate
cache and deploying the artifact to nexus.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the pipeline was renamed to BuildAll and adatped to act as the
overall pipeline building all NWL targets.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
There are 2 reasons for this replacement:
- the build pipeline holds a parameter of the branch to build
- the project to build can be separated from the CI work
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the git credential ID is different for the AWX instance, thus the
jobs are selected according the hostname.
additionally I reordered the seed jobs in nwl-cicd.yaml
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
In a nightly build the job parameter TARGET stays on "selected...".
Thus, a check verifies if the job is triggered by a timer and then
takes the default target which is the first one in the file
'nwlTargets'.
With it the description name of the build gets a postfix 'nightly'.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
with the current Merge Request there are now 2 images for the NWL.
One is specially for the CI.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
need to clone the repository to load the list of the buid
targets in pre-node step.
added a git credential ID getter to clone repositories.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
this commit holds additionally a common jenkins file and a
file containing the targets (machines) to build. Latter is
used for the drop-down parameter in the build job.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>