diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2015-02-21 13:38:56 -0500 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2015-02-21 13:38:56 -0500 |
commit | 243a640c833ee0cd744c5de4ca708ea93983ec3f (patch) | |
tree | d66ae07f9c622fd222e45e38f25f78e0ed96d84f | |
parent | 88f2c41cbca09b80674b37f17937c9703c2add7d (diff) |
Add daily build, remove test project
Change-Id: Icb3c3b005b89f432ae6c7ddf45a93294155dab71
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
-rw-r--r-- | jjb/genesis/genesis.yml | 51 |
1 files changed, 27 insertions, 24 deletions
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' @@ -16,21 +15,6 @@ 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' # Job template for daily builders @@ -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' |