the nightly builds the target in a loop. To have directly a job
log with an overview about the consumed build times, the nightly
prints the measured time after each target build.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
if the nightly job is aborted any downstream job are aborted and
no further build target job is triggered. I case of an exception
the job is handled as failed with the note of exception but no
longer an error is thrown.
To get the handling properly done, the nightly triggers downstream
jobs with propagate flag set to false. The result handling is done
with <job>.getResult() and catching exceptions.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
With the latest version where the nightly branch is forwarded to
the build job, the source revision update is no longer necessary.
But in case of a manual trigger of the build job it makes sense
to keep the functionality. Thus, an additional parameter is
introduced to the build target job. With it the nightly job and
the common files are updated too.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
the update source revision job is important for a successful nightly
build- Thus the nightly job triggers this job and uses the returned
branch for the build target job.
With this we are able to pass the nightly without already merge a
pull request for new source revisions.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
with all the changes we have had regarding seed job integration in
the HAC instance the job name changed. Thus, fixing the name when
triggering the build job.
Additionally the script updating the source revisions leaves some
unstaged changes which is resolved by adding the clean-up of the
repository after building all targets.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
The function isMachineSane() held so far a guard that only the
machine cn9130-cf-pro was built. According to the latest update
the legacy parts are now integrated and thus can be released to
be built.
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
to have a better overview some shell commands of basic parts are
suppressed with set +x
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
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 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>