releng/global-jjb.git
7 years agoOnly ship logs if LOGS_SERVER defined 05/4505/3
Andrew Grimberg [Mon, 24 Apr 2017 15:27:23 +0000 (08:27 -0700)]
Only ship logs if LOGS_SERVER defined

When new projects are first being stood up they don't always have the
ability to pull their console logs since Jenkins may be in a locked down
mode. If this is the case then the log shipping will always fail and
cause the job to be marked as either FAILED or UNSTABLE. Instead we
should only ship the logs if LOGS_SERVER is defined in Jenkins flagging
that the console logs are publicly available.

Change-Id: I6fc162fec2d7c0cdc1a3785a8ec726d2430d5c96
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
7 years agoDocument steps for deploying ci-jobs 39/4439/2 v0.1.0
Thanh Ha [Thu, 20 Apr 2017 04:44:00 +0000 (00:44 -0400)]
Document steps for deploying ci-jobs

Provide step-by-step instructions in the README for how to deploy
ci-jobs to a project ci-management repo.

Change-Id: I4ed845b0e160f2f2b5a60a04a14848067ee41c2b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix Gerrit Trigger comment regex 38/4438/1
Thanh Ha [Thu, 20 Apr 2017 04:04:43 +0000 (00:04 -0400)]
Fix Gerrit Trigger comment regex

Gerrit comments also contain Patch Set #: so the regex would need to be
slightly more complex if we want to be precise. Let's stick with a
comment ending in the keyword instead. It get's us most of the way
there.

Change-Id: Ib1209c5685f41ba0b287d6b32261e870fee1e27c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd lf ci-management jjb jobs 34/4234/12
Thanh Ha [Fri, 7 Apr 2017 17:00:12 +0000 (10:00 -0700)]
Add lf ci-management jjb jobs

This patch ports the jjb ci-management jobs over from OpenDaylight and
makes necessary adjustments to make it generically re-useable as
possible.

This patch requires some environment variables defined. For example:

JENKINS_HOSTNAME=jenkins092
LOGS_SERVER=https://logs.opendaylight.org
NEXUS_URL=https://nexus.opendaylight.org
SILO=releng

Issue: RELENG-32
Change-Id: Ic19c5fa652885270d8e16992e82e642af95b0f4d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd coala linting for YAML and JSON 33/4233/2
Thanh Ha [Fri, 7 Apr 2017 16:04:18 +0000 (09:04 -0700)]
Add coala linting for YAML and JSON

Change-Id: Ic64a0b208b338b6eaaddd4229aa036f076639e34
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoSetup .git{review,ignore} 26/3626/1
Andrew Grimberg [Tue, 7 Mar 2017 21:53:48 +0000 (13:53 -0800)]
Setup .git{review,ignore}

Change-Id: I7ab3bfd593199488cbfe1f81377dd021bb586d0a
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
7 years agoInitial empty repository
Andrew Grimberg [Tue, 7 Mar 2017 21:32:22 +0000 (21:32 +0000)]
Initial empty repository