summaryrefslogtreecommitdiffstats
path: root/jjb/netready/netready.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-12-15 20:43:34 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-15 20:43:34 +0000
commitd8ec3fcab553c186736224caa1a1f187dff7bdc5 (patch)
tree7326d6e2bebbc691faaaa54f75ce9b84419b0428 /jjb/netready/netready.yml
parent508f72a1bec40410e1c008f13fbdfaf2cf56611d (diff)
parent1541e31316dfbd05733dd73d4d98ef3d412f86f9 (diff)
Merge "Basic CI integration for building Gluon packages"
Diffstat (limited to 'jjb/netready/netready.yml')
-rw-r--r--jjb/netready/netready.yml63
1 files changed, 59 insertions, 4 deletions
diff --git a/jjb/netready/netready.yml b/jjb/netready/netready.yml
index cc6769e92..181af3a58 100644
--- a/jjb/netready/netready.yml
+++ b/jjb/netready/netready.yml
@@ -5,16 +5,13 @@
jobs:
- 'netready-verify-{stream}'
+ - 'netready-build-gluon-packages-daily-{stream}'
stream:
- master:
branch: '{stream}'
gs-pathname: ''
disabled: false
- - colorado:
- branch: 'stable/{stream}'
- gs-pathname: '/{stream}'
- disabled: false
- job-template:
name: 'netready-verify-{stream}'
@@ -58,3 +55,61 @@
builders:
- shell: |
echo "Nothing to verify!"
+
+
+
+- job-template:
+ name: 'netready-build-gluon-packages-daily-{stream}'
+
+ disabled: false
+
+ concurrent: true
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - 'opnfv-build-ubuntu-defaults'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ builders:
+ - 'netready-gluon-build'
+
+ triggers:
+ - timed: '@midnight'
+
+
+########################
+# builder macros
+########################
+
+- builder:
+ name: 'netready-gluon-build'
+ builders:
+ - shell:
+ !include-raw: ./netready-gluon-build.sh
+ - shell:
+ !include-raw: ./netready-upload-gluon-packages.sh
+
+
+########################
+# parameter macros
+########################
+
+- parameter:
+ name: netready-parameter
+ parameters:
+ - string:
+ name: BUILD_DIRECTORY
+ default: $WORKSPACE/build
+ description: "Directory where the build artifact will be located upon the completion of the build."
+ - string:
+ name: GS_URL
+ default: artifacts.opnfv.org/$PROJECT{gs-pathname}
+ description: "URL to Google Storage."