summaryrefslogtreecommitdiffstats
path: root/jjb-sandbox
AgeCommit message (Collapse)AuthorFilesLines
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-1/+0
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-19clean scm defenitionsRyota MIBU1-4/+1
This patch makes sure we use 2 types of scm, and allows us to specify them by adding one line in job-templates. - git-scm # for daily jobs and merge jobs - git-scm-gerrit # for verify jobs [New] Change-Id: Iddc8a5e0e115193c7081a6d6c53da209900e95c8 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-10-04Update JJB SandboxTrevor Bramwell2-29/+14
- Build status message includes a link back to the sandbox - The deploy job now includes references to required macros (similar to 'verify') - Wrappers are removed by setting 'wrappers' to the empty string. This is due to the 'ssh-agent' credentials not being used nor existing on the sandbox server. - Shebang lines have been fixed to remove the space after '#!' causing the Java 'Cannot run program' error. - Jobs are restricted to the 'releng-sandbox' label so they aren't triggered on 'master' - Remove 'utils' directory from triggering builds. - Sandbox deployment doesn't vote on any builds, this should help should the job again somehow run against non-sandbox changes. - 'releng-clear-sandbox-jobs' replaced with '--delete-old' on update so that each patchset submitted will remove any previously deployed jobs. Change-Id: I4f37dbb0c0becc5760c826950306e9d958a40aaa Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-09-29Rework Jenkins SandboxTrevor Bramwell2-0/+98
- Instead of using 'sandbox' branch, use a seperate jjb tree. - Jobs under 'jjb-sandbox' are uploaded to the sandbox server, and can be re-uploaded with a 'redeploy' comment. - All jobs, with the exception of the releng sandbox jobs, on the sandbox server are removed once a week. JIRA: RELENG-91 Change-Id: Idfaf33b547158280378ecc63aa41db1b806f4c5f Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>