summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xjjb/3rd_party_ci/functest-netvirt.sh1
-rw-r--r--jjb/3rd_party_ci/odl-netvirt.yml21
-rwxr-xr-xjjb/3rd_party_ci/postprocess-netvirt.sh1
-rw-r--r--jjb/global/slave-params.yml4
4 files changed, 20 insertions, 7 deletions
diff --git a/jjb/3rd_party_ci/functest-netvirt.sh b/jjb/3rd_party_ci/functest-netvirt.sh
index 23bf47c06..abc7975ce 100755
--- a/jjb/3rd_party_ci/functest-netvirt.sh
+++ b/jjb/3rd_party_ci/functest-netvirt.sh
@@ -1,3 +1,4 @@
#!/bin/bash
echo "Hello World"
+ls -al $WORKSPACE
diff --git a/jjb/3rd_party_ci/odl-netvirt.yml b/jjb/3rd_party_ci/odl-netvirt.yml
index 3fd007764..d44fc36f4 100644
--- a/jjb/3rd_party_ci/odl-netvirt.yml
+++ b/jjb/3rd_party_ci/odl-netvirt.yml
@@ -55,15 +55,19 @@
- 'odl-netvirt-virtual-defaults'
scm:
- - git:
- url: 'https://git.opendaylight.org/gerrit/p/$PROJECT.git'
+ #- git:
+ # url: 'https://git.opendaylight.org/gerrit/p/$PROJECT.git'
+ # refspec: '$GERRIT_REFSPEC'
+ # branches:
+ # - 'origin/$GERRIT_BRANCH'
+ # skip-tag: true
+ # choosing-strategy: 'gerrit'
+ # timeout: 10
+ # wipe-workspace: true
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
refspec: '$GERRIT_REFSPEC'
- branches:
- - 'origin/$GERRIT_BRANCH'
- skip-tag: true
choosing-strategy: 'gerrit'
- timeout: 10
- wipe-workspace: true
triggers:
- gerrit:
@@ -84,6 +88,9 @@
builders:
- description-setter:
description: "Built on $NODE_NAME"
+ - shell: |
+ #!/bin/bash
+ ls -al $WORKSPACE
- multijob:
name: install
condition: SUCCESSFUL
diff --git a/jjb/3rd_party_ci/postprocess-netvirt.sh b/jjb/3rd_party_ci/postprocess-netvirt.sh
index 23bf47c06..abc7975ce 100755
--- a/jjb/3rd_party_ci/postprocess-netvirt.sh
+++ b/jjb/3rd_party_ci/postprocess-netvirt.sh
@@ -1,3 +1,4 @@
#!/bin/bash
echo "Hello World"
+ls -al $WORKSPACE
diff --git a/jjb/global/slave-params.yml b/jjb/global/slave-params.yml
index 8661b9517..d1b4b8f5f 100644
--- a/jjb/global/slave-params.yml
+++ b/jjb/global/slave-params.yml
@@ -676,6 +676,10 @@
- label:
name: SLAVE_LABEL
default: 'odl-netvirt-virtual'
+ - string:
+ name: GIT_BASE
+ default: https://git.opendaylight.org/gerrit/p/$PROJECT.git
+ description: 'Git URL to use on this Jenkins Slave'
#####################################################
# These slaves are just dummy slaves for sandbox jobs
#####################################################