20 Commits

Author SHA1 Message Date
Christian Poessinger
49ca3d22e8 Jenkins: lib: T2625: disable concurrent builds 2020-06-28 20:34:56 +02:00
Christian Poessinger
2e1e117f96 Jenkins: lib: T2625: support PullRequest builds 2020-06-27 14:57:18 +02:00
Christian Poessinger
7e15d427f7 Jenkins: lib: T2625: extend quotes on SSH commands 2020-06-24 17:26:04 +02:00
Christian Poessinger
30b81d7931 Jenkins: lib: T2625: SSH commands must be wrapped in "" to function 2020-06-24 08:02:24 +02:00
Christian Poessinger
4690fd72ef Jenkins: lib: T2625: use discrete SSH commands on deployment 2020-06-24 08:01:43 +02:00
Christian Poessinger
e05f59a7dd Jenkins: lib: T2625: add getChangeSetPath() function
Retrieve the path where git should check for modified files to trigger
the pipeline build or not.
2020-06-23 19:49:56 +02:00
Christian Poessinger
b594ef7019 Jenkins: lib: T2625: must checkout scm for changelog detection
... else we can not trigger on changed files.
2020-06-23 16:45:21 +02:00
Christian Poessinger
b6e16d0edf Jenkins: lib: do not checkout scm by default 2020-06-23 08:40:59 +02:00
Christian Poessinger
e2b2fdf440 Jenkins: lib: T2625: remove debug output 2020-06-22 17:52:03 +02:00
Christian Poessinger
8476678259 Jenkins: lib: T2625: bugfix deployment of FRR package 2020-06-21 15:07:23 +02:00
Christian Poessinger
09e0d2cecb Jenkins: lib: T2625: change order of deployment commands 2020-06-21 12:38:54 +02:00
Christian Poessinger
4d11e8b33d Jenkins: do not run ISO build when pipeline library changes 2020-06-21 12:29:39 +02:00
Christian Poessinger
97627aa19d Jenkins: lib: Debian packges must be build in 'build' subdirectory
Package build must be done in "any" subdir. Without it the Debian build system
is unable to generate the *.deb files in the sources parent directory, which
will cause a "Permission denied" error.
2020-06-21 11:55:53 +02:00
Christian Poessinger
76e05e019e Jenkins: lib: buildPackage() parameters are all optional now
- description: Arbitrary text to print on Jenkins Job Description
  instead of package name
- pkgList: Multiple packages can be build at once in a single Pipeline run
- buildCmd: replace default build command "dpkg-buildpackage -uc -us -tc -b"
  with this custom version
2020-06-20 23:52:25 +02:00
Christian Poessinger
ee8c079cfa Jenkins: lib: download repository parallel to Jenkinsfile location
... this is only releavant when building packages like FRR, Netfilter etc.,
which are generated via additional Jenkinsfiles from vyos-build.
2020-06-20 23:43:39 +02:00
Christian Poessinger
f33c910f68 Jenkins: lib: add debug directory listings 2020-06-20 23:26:39 +02:00
Christian Poessinger
918700c5a5 Jenkins: lib: record Git commit ID in job description 2020-06-20 23:11:56 +02:00
Christian Poessinger
22888ab751 Jenkins: lib: deploy packages do dev.packages.vyos.net 2020-06-20 23:11:56 +02:00
Christian Poessinger
b213775285 Jenkins: lib: add programmable package build Pipeline 2020-06-20 23:11:56 +02:00
Christian Poessinger
7ab2724c33 Jenkins: initial support for shared build libraries
Instead of writing the same code over and over again, place the common parts
into a Jenkins Library which is then consumed by every individual build Job.

This not only makes it less complex, but also increases maintainability by
several magnitudes.
2020-06-20 23:11:56 +02:00