Commit Graph

26 Commits

Author SHA1 Message Date
Marc Mattmueller 01e8be71b0 jenkins: used credential ID of the belonging server
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-27 15:58:42 +02:00
Marc Mattmueller 55ac1c7307 jenkins: provided ssh credentials from master for git commands
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-26 19:24:43 +02:00
Marc Mattmueller 6a56c05981 jenkins/common: made cleanWorkspace dash compatible
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-21 11:57:08 +02:00
Marc Mattmueller 969fa192e9 jenkins/common: reverted the rsync part but added the set +x
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 14:21:15 +02:00
Marc Mattmueller b2ea75f1b9 jenkins/common: used set +x to remove rsync log output
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:36:14 +02:00
Marc Mattmueller 6848564543 src-rev/jenkins: adapted src-rev to handle packages from a file
the file autorev-packages.inc holds holds all recipes with a
SRCREV set to AUTOREV.
When releasing this file shall be used as base which recipes to
update.

BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 13:17:37 +02:00
Marc Mattmueller 35cd165fd8 jenkins/common: set rsync to be quiet on jenkins output
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 12:32:37 +02:00
Marc Mattmueller 988558b95d jenkins/common: escaped $ from rsync command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 08:37:35 +02:00
Marc Mattmueller d676264535 jenkins/common: replaced bash- to groovy comment sign
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-13 07:59:57 +02:00
Alexandre Bard e3cf8861d0 Jenkinsfile_Common: Reduce logs from rsync command
The "*" is expanded when the script is running on jenkins and the SRC is
local files. This expansion is hundreds of files, leading to hundreds of
lines in the jenkins logs. We don't need these lines.

BugzID: 75217
2021-10-12 15:53:59 +02:00
Marc Mattmueller fc4dd66c9f jenkins: added autorevision handling to mmc-, ramdisk and sdk pipelines
BugzID: 75209
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-12 11:58:35 +02:00
Marc Mattmueller c459438f49 jenkins/common: put yocto env loading and src-rev handling in one command
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 13:13:19 +02:00
Marc Mattmueller d50515c6d5 jenkins: added updating source revisions for nightly builds
BugzID: 74523
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-11 09:26:12 +02:00
Marc Mattmueller d530642b18 jenkins/common: prevent cleaning when directory is not existing
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-05 10:22:52 +02:00
Marc Mattmueller c40dcce3d5 jenkins/common: added trailing slash to path for cleanup
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-10-04 11:14:26 +02:00
Marc Mattmueller 07b6bc9641 jenkins: added cleaning workspace
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-09-29 14:34:58 +02:00
Alexandre Bard d9f7f04bfc Jenkinsfiles: Execute commands silently 2021-08-26 14:03:14 +02:00
Marc Mattmueller f08b93c154 jenkins: cleaned the artifact directory instead of tmp-out dir
cleaning the tmp-out dir if desired, which is needed when building
the dev image where the bootloader is archived first

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-29 15:26:25 +02:00
Marc Mattmueller daca933bfd jenkins: added image type argument to archive different images in one job
BugzID: 73966
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-29 08:55:31 +02:00
Marc Mattmueller 701dbdc6f0 jenkins/common: created download directory in build-common on clean build
BugzID: 73973
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 11:04:39 +02:00
Marc Mattmueller 58108d6b66 jenkins/common: adpated path of the download directory
in case 73920 the download directory path was adapted too. Thus the
path needed to be adpated.

BugzID: 73973
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 10:42:45 +02:00
Marc Mattmueller 9e0a7a6ab4 jenkins: changed yocto build directories
In case 73920 are additional build directories created. The yocto
build pipelines needed to be updated.

BugzID: 73973
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-28 10:42:45 +02:00
Marc Mattmueller 5b3c82c7e2 jenkins_common: use the same versioning for the sdk as for fct
BugzID: 73674
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-08 10:54:53 +02:00
Marc Mattmueller f48295d249 jenkins_common: fixed variable typo
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-07 09:45:40 +02:00
Marc Mattmueller 9321361765 Jenkinsfiles: integrated updating only netmodule layers in split job files
Within the big jenkins file only the netmodule layers are updated
when the release string is empty of latest. This change is now
integrated into the split jenkins files.

BugzID: 73564
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-06 16:18:35 +02:00
Marc Mattmueller 3534420590 jenkinsfile: split ramdisk and mmc images into separate pipelines
Common parts of those pipelines are extracted into a common part.
Each pipeline loads this common part as module to get access to
its functions.
This is also the base for adding a job generating the SDK

BugzID: 73564

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
2021-07-01 09:01:20 +02:00