summaryrefslogtreecommitdiffstats
path: root/jjb/prediction/prediction.yml
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2015-04-22 10:41:02 +0800
committerMatthewLi <matthew.lijun@huawei.com>2015-04-30 21:05:49 +0800
commit10a0b24d9f634213377a447309fc626acf0dcd3c (patch)
tree5ec44794a8fd0b600ce818a54f5fbf00b9ffb252 /jjb/prediction/prediction.yml
parent2d5841eb74688afbec3ef571199bf2a8d4c09276 (diff)
add build scripts and amend jjb for prediction project
JIRA PREDICTION-1 Change-Id: I07e671d5e821c5dc7d6275a0fbf9b623a4c6aff8 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'jjb/prediction/prediction.yml')
-rw-r--r--jjb/prediction/prediction.yml33
1 files changed, 17 insertions, 16 deletions
diff --git a/jjb/prediction/prediction.yml b/jjb/prediction/prediction.yml
index e8e5876eb..bf4c56be5 100644
--- a/jjb/prediction/prediction.yml
+++ b/jjb/prediction/prediction.yml
@@ -33,6 +33,8 @@
- job-template:
name: 'prediction-daily-{stream}'
+ node: master
+
# Job template for daily builders
#
# Required Variables:
@@ -43,10 +45,10 @@
varsetabove: '{somevar}'
logrotate:
- daysToKeep: '{build-days-to-keep}'
- numToKeep: '{build-num-to-keep}'
- artifactDaysToKeep: '{build-artifact-days-to-keep}'
- artifactNumToKeep: '{build-artifact-num-to-keep}'
+ daysToKeep: 30
+ numToKeep: 10
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
parameters:
- project-parameter:
@@ -69,10 +71,8 @@
- test-macro
builders:
- - shell: |
- pwd
- find .
- echo "Hello world from prediction {somevar} daily"
+ - shell:
+ !include-raw docu-build.sh
postbuilders:
- test-macro
@@ -80,6 +80,8 @@
- job-template:
name: 'prediction-verify'
+ node: master
+
project-type: freestyle
logrotate:
@@ -123,14 +125,14 @@
branch-pattern: '**/master'
builders:
- - shell: |
- pwd
- find .
- echo "verify logic goes here"
+ - shell:
+ !include-raw docu-verify.sh
- job-template:
name: 'prediction-merge'
+ node: master
+
# builder-merge job to run JJB update
#
# This job's purpose is to update all the JJB
@@ -173,7 +175,6 @@
branch-pattern: '**/master'
builders:
- - shell: |
- pwd
- find .
- echo "merge logic goes here"
+ - shell:
+ !include-raw docu-build.sh
+