From: Aric Gardner Date: Sat, 21 Feb 2015 18:38:56 +0000 (-0500) Subject: Add daily build, remove test project X-Git-Tag: arno.2015.1.0~186 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=243a640c833ee0cd744c5de4ca708ea93983ec3f;p=releng.git Add daily build, remove test project Change-Id: Icb3c3b005b89f432ae6c7ddf45a93294155dab71 Signed-off-by: Aric Gardner --- diff --git a/jjb/genesis/genesis.yml b/jjb/genesis/genesis.yml index 59514f381..dbfba764f 100644 --- a/jjb/genesis/genesis.yml +++ b/jjb/genesis/genesis.yml @@ -1,7 +1,6 @@ - project: name: genesis jobs: - - 'genesis-test' - 'genesis-daily-master' - 'genesis-merge' - 'genesis-verify' @@ -15,21 +14,6 @@ project: 'genesis' somevar: 'foo' -- job-template: - name: genesis-test - - project-type: freestyle - - logrotate: - daysToKeep: 30 - numToKeep: 10 - artifactDaysToKeep: -1 - artifactNumToKeep: -1 - - builders: - - shell: | - echo "Hello world from genesis" - - job-template: name: 'genesis-daily-master' @@ -48,6 +32,16 @@ artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' + parameters: + - project-parameter: + project: '{project}' + + scm: + - git-scm: + credentials-id: '{ssh-credentials}' + refspec: '' + branch: '{branch}' + wrappers: - ssh-agent-credentials: user: '{ssh-credentials}' @@ -60,11 +54,24 @@ builders: - shell: | - echo "Hello world from genesis {somevar} daily" - - test-macro + hostname + whoami + docker --version + cd fuel-build/docker + pwd + echo foo + make clean || true + make + cd .. + echo foo + make clean || true + sed -i -Ee 's,\ \-t,,g' docker/runcontext + make all postbuilders: - - test-macro + - shell: | + rm /var/www/release + ln -s /home/jenkins-ci/workspace/genesis-daily/fuel-build/release/ /var/www/ - job-template: name: 'genesis-verify' @@ -125,11 +132,7 @@ echo foo make clean || true make - cd .. - echo foo - make clean || true - sed -i -Ee 's,\ \-t,,g' docker/runcontext - make all + echo "what tests can we run here?" - job-template: name: 'genesis-merge'