sandbox: Remove duplicate scm configuration 39/16539/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 7 Jul 2016 09:45:01 +0000 (11:45 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 7 Jul 2016 09:45:01 +0000 (11:45 +0200)
Change-Id: Iba18750ae19c5d30078d600abcd6b687543204c5
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/sandbox/sandbox-verify-jobs.yml

index ee9f763..b1e8e93 100644 (file)
             branch: '{branch}'
         - 'opnfv-build-ubuntu-defaults'
 
-    scm:
-        - gerrit-trigger-scm:
-            credentials-id: '{ssh-credentials}'
-            refspec: '$GERRIT_REFSPEC'
-            choosing-strategy: 'gerrit'
-
     wrappers:
         - ssh-agent-credentials:
             users:
         - '{project}-verify-builder'
         - trigger-builds:
             - project: 'sandbox-verify-basic-{stream}'
-              current-parameters: true
-              same-node: true
-              git-revision: true
               block: true
         - trigger-builds:
             - project: 'sandbox-verify-build-{stream}'
-              current-parameters: false
               block: true
-              git-revision: true
-              same-node: true
         - trigger-builds:
             - project: 'sandbox-verify-deploy-{stream}'
-              current-parameters: false
               block: true
-              git-revision: true
-              same-node: false
         - trigger-builds:
             - project: 'sandbox-verify-test-{stream}'
-              current-parameters: false
               block: true
-              git-revision: true
-              same-node: false
 
 - job-template:
     name: 'sandbox-verify-{activity}-{stream}'
         - '{installer}-defaults'
         - '{project}-verify-{activity}-parameter'
 
-    scm:
-        - git-scm:
-            credentials-id: '{ssh-credentials}'
-            refspec: ''
-            branch: '{branch}'
-
     builders:
         - description-setter:
             description: "POD: $NODE_NAME"
             #!/bin/bash
 
             # this is the builder for the parent/upstream job which we do nothing
-            echo "Hello World"
+            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 "-------------------------------------"
 
 - builder:
     name: 'sandbox-verify-basic-builder'
             #!/bin/bash
 
             # this is where we check the commit message, unit test, etc.
-            echo "Hello World"
+            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 "-------------------------------------"
 
 - builder:
     name: 'sandbox-verify-build-builder'
             #!/bin/bash
 
             # this is where we do the build
-            echo "Hello World"
+            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 "-------------------------------------"
 
 - builder:
     name: 'sandbox-verify-deploy-builder'
             #!/bin/bash
 
             # this is where we start the virtual deployment
-            echo "Hello World"
+            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 "-------------------------------------"
 
 - builder:
     name: 'sandbox-verify-test-builder'
             #!/bin/bash
 
             # this is where we do functest smoketest
-            echo "Hello World"
+            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 "-------------------------------------"