summaryrefslogtreecommitdiff
path: root/vars/buildPackage.groovy
AgeCommit message (Collapse)Author
2023-09-25ci/cd: update branch references current -> sagittaChristian Breunig
2023-08-27Revert "Jenkins: increase build timeout to 8 hours for arm64 Kernel"Christian Breunig
This reverts commit 90271ccb62fa18fbc3653170bf138ffc4f0b2a2e.
2023-08-27Jenkins: increase build timeout to 8 hours for arm64 KernelChristian Breunig
2023-08-26Jenkins: increase build timeout to 4 hours for arm64 KernelChristian Breunig
2023-07-08Jenkins: add support to specify build node per individual jobChristian Breunig
buildPackage() now has an additional parameter named "buildLabel" that is used to determine/define where a particular job must be executed. This defaults to ec2_amd64 which was always the default.
2023-03-09Docker: T5076: unbloat container - remove dependencies for strongswanChristian Breunig
2022-10-07Testsuite: T3664: move to new toml based input filesChristian Poessinger
2022-05-05Jenkins: builld dsc packages beside amd64 binariesAndrii
2021-08-31Revert "Jenkins: lib: specify when { beforeAgent true }"Christian Poessinger
This reverts commit d02450f6234bd79e58b961c8ca2bfb85a01ec1c2. This breaks the CI jobs for e.g. vyos-1x as no "change" could be determined.
2021-08-27Jenkins: lib: dereference changesPattern variableChristian Poessinger
2021-08-27Jenkins: lib: specify when { beforeAgent true }Christian Poessinger
By default, the when condition for a stage will be evaluated after entering the agent for that stage, if one is defined. However, this can be changed by specifying the beforeAgent option within the when block. If beforeAgent is set to true, the when condition will be evaluated first, and the agent will only be entered if the when condition evaluates to true.
2021-08-08Jenkins: lib: fix kernel build triggerChristian Poessinger
We can only pass one changesPath as variable due toe ANT limitation.
2021-07-24Jenkins: lib: add changesPattern parameter to buildPackage classChristian Poessinger
we can now externally control if the package should be build when a file changes. It defaults to "*" which means "always build".
2021-07-24Jenkins: lib: remove skipDefaultCheckout() from pipeline optionsChristian Poessinger
We need the default checkout to determine the Git changeset.
2021-07-24Jenkins: lib: reduce buildDiscarder value from 20 -> 10Christian Poessinger
2021-06-13Revert "Jenkins: re-add erroneously removed when build conditions"Christian Poessinger
This reverts commit 8a6a04f. Unfortunately this leads to more problems then it caused good as packages are not build when needed - only somtimes, so this is not a reliable solution.
2021-06-06Jenkins: lib: only start SSH agend when *.deb files existChristian Poessinger
2021-06-06Jenkins: lib: fix unstage and deploy logic to package mirrorChristian Poessinger
Commit c67a6eb542e9 ("Jenkins: lib: it is also possible that unstaging of the amd64 binaries fail") returned early if no arm64 package was build but an amd64 package. This resulted in valid packages not beeing deployed at all.
2021-06-06Jenkins: lib: remove "pattern" from changesetChristian Poessinger
2021-06-05Jenkins: lib: it is also possible that unstaging of the amd64 binaries failChristian Poessinger
This is due to the fact when no package is build b/c then when { } condition is unmet, we also have no amd64 package. Thus the try { } block needs to be extended to not only match for arm64 unstash.
2021-06-05Jenkins: lib: allos stashing of empty objectsChristian Poessinger
If a build is skipped, we can not stash any object, this will trigger a build error that is invalid - as there is nothing to build.
2021-06-05Jenkins: re-add erroneously removed when build conditionsChristian Poessinger
Debian packages should only be build if a file in the requested subfolder changes (like a version upgrade) or if explicitly reuested by the user. VyOS ISO generation should only be run once a night by the CI if triggered by the timer, or on explicit user request.
2021-06-04Jenkins: lib: only define BASE_DIR and CHANGESET_DIR varibale onceChristian Poessinger
2021-05-30Jenkins: increase buildPackage timeout to 3 hoursChristian Poessinger
The Linux Kernel now takes longer then 2 hours to compile.
2021-04-04Jenkins: add cleanup for finalize stageRunar Borge
2021-03-26Jenkins: lib: fix file encoding (<U+200B>) issuesChristian Poessinger
2021-03-26Jenkins: lib: move buildDiscarder settings to pipeline ~optionsChristian Poessinger
2021-03-26Jenkins: Activate EC2 builders and Re-enable multiarch/arm64 buildsRunar Borge
Re-enabling arm64 builds on its own buildhosts requires a bit of rewrite to get up and running, using this commit will allow native builds of all needed platforms if we add more platforms at a later date
2021-02-20Jenkins: lib: fix "Bad substitution" error on GitHub PR buildsChristian Poessinger
2021-02-09Jenkins: disable arm64 builds againChristian Poessinger
2021-02-09Jenkins: convert FILE toString() when uploading artifacts from nested pathsChristian Poessinger
2021-02-08Jenkins: fix unexpected char: '#' - Groovy does not like BASH fooChristian Poessinger
2021-02-08Jenkins: do not add package from nested path to repreproChristian Poessinger
2021-02-08Jenkins: frr: support arm64 buildsChristian Poessinger
2021-02-08Jenkins: reprepro delete unreferenced packagesChristian Poessinger
2021-02-08Jenkins: reuseNode when building with DockerChristian Poessinger
2021-02-08Jenkins: simplify passing of Docker optionsChristian Poessinger
2021-02-07Jenkins: add support for arm64 package buildsChristian Poessinger
2021-02-02Jenkins: run containers with "reuseNode" to stay on the same nodeqxmips
2021-01-15Jenkins: retrive debian repo server via global variableChristian Poessinger
2020-06-28Jenkins: lib: T2625: disable concurrent buildsChristian Poessinger
2020-06-27Jenkins: lib: T2625: support PullRequest buildsChristian Poessinger
2020-06-24Jenkins: lib: T2625: extend quotes on SSH commandsChristian Poessinger
2020-06-24Jenkins: lib: T2625: SSH commands must be wrapped in "" to functionChristian Poessinger
2020-06-24Jenkins: lib: T2625: use discrete SSH commands on deploymentChristian Poessinger
2020-06-23Jenkins: lib: T2625: add getChangeSetPath() functionChristian Poessinger
Retrieve the path where git should check for modified files to trigger the pipeline build or not.
2020-06-23Jenkins: lib: T2625: must checkout scm for changelog detectionChristian Poessinger
... else we can not trigger on changed files.
2020-06-23Jenkins: lib: do not checkout scm by defaultChristian Poessinger
2020-06-22Jenkins: lib: T2625: remove debug outputChristian Poessinger
2020-06-21Jenkins: lib: T2625: bugfix deployment of FRR packageChristian Poessinger