summaryrefslogtreecommitdiffstats
path: root/jjb/sandbox/sandbox-verify-jobs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/sandbox/sandbox-verify-jobs.yml')
-rw-r--r--jjb/sandbox/sandbox-verify-jobs.yml159
1 files changed, 32 insertions, 127 deletions
diff --git a/jjb/sandbox/sandbox-verify-jobs.yml b/jjb/sandbox/sandbox-verify-jobs.yml
index b1e8e93cd..0572440a7 100644
--- a/jjb/sandbox/sandbox-verify-jobs.yml
+++ b/jjb/sandbox/sandbox-verify-jobs.yml
@@ -64,19 +64,39 @@
builders:
- description-setter:
- description: "POD: $NODE_NAME"
+ description: "Built on $NODE_NAME"
- '{project}-verify-builder'
- trigger-builds:
- project: 'sandbox-verify-basic-{stream}'
+ current-parameters: false
+ predefined-parameters:
+ GERRIT_BRANCH=$GERRIT_BRANCH
+ GERRIT_REFSPEC=$GERRIT_REFSPEC
+ GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
block: true
- trigger-builds:
- project: 'sandbox-verify-build-{stream}'
+ current-parameters: false
+ predefined-parameters:
+ GERRIT_BRANCH=$GERRIT_BRANCH
+ GERRIT_REFSPEC=$GERRIT_REFSPEC
+ GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
block: true
- trigger-builds:
- project: 'sandbox-verify-deploy-{stream}'
+ current-parameters: false
+ predefined-parameters:
+ GERRIT_BRANCH=$GERRIT_BRANCH
+ GERRIT_REFSPEC=$GERRIT_REFSPEC
+ GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
block: true
- trigger-builds:
- project: 'sandbox-verify-test-{stream}'
+ current-parameters: false
+ predefined-parameters:
+ GERRIT_BRANCH=$GERRIT_BRANCH
+ GERRIT_REFSPEC=$GERRIT_REFSPEC
+ GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
block: true
- job-template:
@@ -106,7 +126,7 @@
builders:
- description-setter:
- description: "POD: $NODE_NAME"
+ description: "Built on $NODE_NAME"
- '{project}-verify-{activity}-builder'
#####################################
@@ -137,144 +157,29 @@
- builder:
name: 'sandbox-verify-builder'
builders:
- - shell: |
- #!/bin/bash
-
- # this is the builder for the parent/upstream job which we do nothing
- cd $WORKSPACE
- echo
- echo "Commit Message is"
- echo "-------------------------------------"
- echo $GERRIT_CHANGE_COMMIT_MESSAGE
- echo "-------------------------------------"
- echo
- echo "Repo contents"
- echo "-------------------------------------"
- ls -al
- echo "-------------------------------------"
- echo
- echo "Changed files are"
- echo "-------------------------------------"
- git diff origin/master --name-only
- echo "-------------------------------------"
- echo
- echo "Change introduced"
- echo "-------------------------------------"
- git diff origin/master
- echo "-------------------------------------"
+ - shell:
+ !include-raw: ./verify.sh
- builder:
name: 'sandbox-verify-basic-builder'
builders:
- - shell: |
- #!/bin/bash
-
- # this is where we check the commit message, unit test, etc.
- cd $WORKSPACE
- echo
- echo "Commit Message is"
- echo "-------------------------------------"
- echo $GERRIT_CHANGE_COMMIT_MESSAGE
- echo "-------------------------------------"
- echo
- echo "Repo contents"
- echo "-------------------------------------"
- ls -al
- echo "-------------------------------------"
- echo
- echo "Changed files are"
- echo "-------------------------------------"
- git diff origin/master --name-only
- echo "-------------------------------------"
- echo
- echo "Change introduced"
- echo "-------------------------------------"
- git diff origin/master
- echo "-------------------------------------"
+ - shell:
+ !include-raw: ./basic.sh
- builder:
name: 'sandbox-verify-build-builder'
builders:
- - shell: |
- #!/bin/bash
-
- # this is where we do the build
- cd $WORKSPACE
- echo
- echo "Commit Message is"
- echo "-------------------------------------"
- echo $GERRIT_CHANGE_COMMIT_MESSAGE
- echo "-------------------------------------"
- echo
- echo "Repo contents"
- echo "-------------------------------------"
- ls -al
- echo "-------------------------------------"
- echo
- echo "Changed files are"
- echo "-------------------------------------"
- git diff origin/master --name-only
- echo "-------------------------------------"
- echo
- echo "Change introduced"
- echo "-------------------------------------"
- git diff origin/master
- echo "-------------------------------------"
+ - shell:
+ !include-raw: ./build.sh
- builder:
name: 'sandbox-verify-deploy-builder'
builders:
- - shell: |
- #!/bin/bash
-
- # this is where we start the virtual deployment
- cd $WORKSPACE
- echo
- echo "Commit Message is"
- echo "-------------------------------------"
- echo $GERRIT_CHANGE_COMMIT_MESSAGE
- echo "-------------------------------------"
- echo
- echo "Repo contents"
- echo "-------------------------------------"
- ls -al
- echo "-------------------------------------"
- echo
- echo "Changed files are"
- echo "-------------------------------------"
- git diff origin/master --name-only
- echo "-------------------------------------"
- echo
- echo "Change introduced"
- echo "-------------------------------------"
- git diff origin/master
- echo "-------------------------------------"
+ - shell:
+ !include-raw: ./deploy.sh
- builder:
name: 'sandbox-verify-test-builder'
builders:
- - shell: |
- #!/bin/bash
-
- # this is where we do functest smoketest
- cd $WORKSPACE
- echo
- echo "Commit Message is"
- echo "-------------------------------------"
- echo $GERRIT_CHANGE_COMMIT_MESSAGE
- echo "-------------------------------------"
- echo
- echo "Repo contents"
- echo "-------------------------------------"
- ls -al
- echo "-------------------------------------"
- echo
- echo "Changed files are"
- echo "-------------------------------------"
- git diff origin/master --name-only
- echo "-------------------------------------"
- echo
- echo "Change introduced"
- echo "-------------------------------------"
- git diff origin/master
- echo "-------------------------------------"
+ - shell:
+ !include-raw: ./test.sh