summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
AgeCommit message (Collapse)AuthorFilesLines
2016-12-21Global log shipping macroVanessa Rene Valderrama1-0/+31
Ship all console and environment logs as well as anything in $WORKSPACE/archives to https://logs.fd.io. All text files will be pre-compressed for quicker serving from the log hosting which is configured to properly serve the files so they will expand properly in the browser. Change-Id: Ica8be1ca9af82dfc64d063a5d3fa30be3585253c Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-12-19Configure OpenStack minions for single useVanessa Rene Valderrama1-0/+4
This converts OpenStack Jenkins build minions as single use minions Change-Id: I6cad42d8b7d6e770a312135938a3ab8d073a07b8 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-12-02Add a IS_CSIT_JOB parameter with the goal of having CSIT just build packagesEd Warnicke1-0/+8
Change-Id: Ie3892c5b5e90af1083889aa8166cee4e022873bc Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Add a vpp-verify-{stream}-{os}-clang jobEd Warnicke1-0/+8
Fixed to have vpp clang job use make verify Change-Id: Ic59713a72af156fd9a32ac9f43e96c36b3ece6b6 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Revert "Add a vpp-verify-{stream}-{os}-clang job"Ed Warnicke1-8/+0
This reverts commit 61f46f6471fac2bdb09c6e9fb23eaceb4122a433. Change-Id: I85b5a1244feaeacded793c83191b5a21d8948dd7 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-11Add a vpp-verify-{stream}-{os}-clang jobEd Warnicke1-0/+8
Change-Id: Ic71029c36a2f3bab65e9bcd36a711b4d2b417577 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-10-24Add parameter to allow options for mvn executableVanessa Rene Valderrama1-0/+9
Some jobs are hard coding the maven path. This change allows a for a variable or hard coded path Change-Id: I583abbdeec277f8eafc8c368e93a23cbebb79b73 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-10-20Adding new wrapper to allow no-activity timeoutsVanessa Rene Valderrama1-5/+12
Adding fdio-infra-wrappers-non-activity-timeout wrapper to allow additional configuration timeout options. Configured CSIT timeouts using the new wrapper. Change-Id: I40b3288b788f1acc2c5682adb0b544af85d75335 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-10-20Merge "No-activity timeout for csit-perf jobs"Ed Warnicke1-0/+8
2016-10-17No-activity timeout for csit-perf jobsMiroslav Miklus1-0/+8
Absolute timeout is not an option for csit perf jobs, but we can declare perf job as dead if there is no console output for some time. Change-Id: If075c2be8a139c859f80bc55e64e9dac291ac9f8 Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
2016-10-14Use fdio-infra-wrappers to simplify common wrapper useThanh Ha1-1/+4
- Move timestamps to fdio-infra-wrappers as every job is using it - Move ssh-credentials into fdio-infra-wrappers as every job is using it - Ensuer ALL jobs are using fdio-infra-wrappers (this should be policy!) FD.io has this convenient wrapper called fdio-infra-wrappers which is a simple macro to configure common wrapper functionality that all jobs should be configured with all jobs are already configuring it too so simplify job configuration and ensuring we don't have duplication everywhere. Less lines of code and more code reuse makes for easier maintenance :) Change-Id: Ia73b09dfc556f684c43853797231da84a9c517af Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-10-07Force Jenkins to not change votes on mergeAndrew Grimberg1-6/+11
Make sure that Jenkins doesn't try to change it's vote during any phase of a merge job. Change-Id: I072e7b73a9a6a68e744527d27094b4a0126076e6 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-10-07Force Jenkins to not change it's votes for mergeAndrew Grimberg1-0/+3
Jenkins by default resets the votes it has in Gerrit to 0. Gerrit 2.13 has problems with this and causes us to catch an error. As such, we should make sure that Jenkins does not try to change its votes when it starts during a merge job. We assume that any merge run will be with our normal mechanically set votes. Change-Id: Ia45eb7ca605ee904f211065a2877fc0cc1ee5f42 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-10-07Skip voting on merge jobsAndrew Grimberg1-0/+5
As of Gerrit 2.13 we get an error if we vote on a change that has been merged. As the votes couldn't be before, nor now, changed after Gerrit submission has been merged (closed) there is no point in voting. NOTE: This is putting back the recently reverted change Change-Id: Ie14c308f198a79f23d717e07cb762fae6bf985f4 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-10-07Revert "Skip voting on merge jobs"Andrew Grimberg1-5/+0
This reverts commit 65f5b4a0f8344eb4ab7badc382999036e3209da2. Change-Id: I0e1d6d021f079dbf3374f368f07bd481a7cc33e2 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-10-07Skip voting on merge jobsAndrew Grimberg1-0/+5
As of Gerrit 2.13 we get an error if we vote on a change that has been merged. As the votes couldn't be before, nor now, changed after Gerrit submission has been merged (closed) there is no point in voting. Change-Id: I267cc0db3ca8515056bd0c428ffbdbc7879509c1 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-09-06Configuring minions for single useVanessa Rene Valderrama1-0/+13
Change-Id: I6b517099f68c71f40ccf2bb192544a8035c7389f Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2016-05-16Use correct server-name PrimaryThanh Ha1-3/+3
Perhaps 'Default' was the name at one point and then got renamed to 'Primary' and we forgot to update the configuration. Default is not currently a valid server-name so resulted in Gerrit Trigger not watching any valid Gerrit instance for the event-stream. The current name of the Gerrit server-name is 'Primary' as defined in Jenkins > Manage Jenkins > Gerrit Trigger. Change-Id: Ic9481b53424d6fc8358131d384157779a7753fb0 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-05-13Enable jobs for throttle branchesEd Warnicke1-0/+7
Change-Id: I70cd178f52480bcab2bd84b7bdb967f1799acdbd Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-12Machinery for multi-os build.Ed Warnicke1-0/+8
This patch should provide machinery for multi os build It also provides machinery for multi-branch build Change-Id: I29db20f159f18af2cab512ab6df6b03d9f81ff15 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-29Make robot framework output-path parametrizable.Stefan Kobza1-1/+1
csit-vpp-verify-virl job is blocked now, because output-path is not a variable in robot-framework macro. This patch changes that. Change-Id: I1c31342af6dfae66ce3e21e751470e476cc5be39 Signed-off-by: Stefan Kobza <skobza@cisco.com>
2016-03-09Fix typo for git-scmThanh Ha1-1/+1
Change-Id: Ibb8ddd694792ba82545d9d0abc25f3080ee6c3b3 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-02-23Add manual triggered csit-vpp-functional-hw-tb2 job.Stefan Kobza1-0/+15
This job would be create from the same template as csit-vpp-functional-virl, but for the time being this have to be manually triggered. I didn't find a way how to parametrize gerrit-trigger-patch-submitted so I've created gerrit-trigger-manually-triggered. Change-Id: I2d4f2c6bb8ebb94cd8563132feac765d46e1b56d Signed-off-by: Stefan Kobza <skobza@cisco.com>
2016-02-18Enable robot framework jenkins plugin.Stefan Kobza1-0/+7
Change-Id: I506ea3dd431b559c3ce1e756f2310103da05024d Signed-off-by: Stefan Kobza <skobza@cisco.com>
2016-02-12Fix ci-management-verify not testing the submitted commitThanh Ha1-1/+1
The ci verify job was testing branch HEAD which doesn't help us verify code submissions. This patch fixes it so that we pass a parameter {commit} to represent the branch or commit that we should run against. Sets the merge job to run against $ZUUL_BRANCH while the verify job runs against $ZUUL_COMMIT. Change-Id: I9516bfc14a9981c5e8348e0a6324a3c15b5afc32 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-02-08Add new zuul-trigger-scm macroAndrew Grimberg1-0/+11
Add a new macro for zuul triggered scm Change-Id: Ib23b7ba3d802339951e57a864a0fa40d954de5de Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-02-07Undo switch off of Gerrit TriggerAndrew Grimberg1-0/+39
I can't keep working on this anymore today and leaving it configured for zuul overrnight is a broken concept. This moves everything back to Gerrit Trigger control. We can move jobs individually tomorrow. Change-Id: I6943708a6001acb7c5acfe6a6746d6c056813f52 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-02-07Migrate to Zuul configurationThanh Ha1-39/+0
Change-Id: I055731ac99ae40960ee1e6a3e5cf0595d8da4600 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2015-12-09Push artifactsAndrew Grimberg1-1/+10
Update to support pushing jar and deb artifacts Change-Id: I38552564e2dbf6dddfaca4a7a21cd800619829c2 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-12-09fix bad key callAndrew Grimberg1-1/+1
Change-Id: I2abb52da6678f31e6fbfcb5a43994b98fa5e1beb Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-12-09Port more macros over from ODLAndrew Grimberg1-0/+54
Bring over some more macros from ODL. Publishers: * archive-artifacts * email-notification (currently set to a bad address on purpose) * jacoco-report Builders: * provide-maven-settings Change-Id: I60684dbcdf87b6104f7763e7f74c48174a2355e8 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2015-11-23Initial JJB self-hosting job definitionsAndrew Grimberg1-0/+116
These are the base definitions for having Jenkins validate and merge the JJB jobs that manage the Jenkins instance. Change-Id: Ic028248bc6cacb86d4db8c1e0f5f924640892c99 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>