Change-Id: Ia105d32133c5b2df3bea363ff8cb94b2984fb172
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
#!/bin/bash
echo "Hello World"
#!/bin/bash
echo "Hello World"
- 'odl-netvirt-virtual-defaults'
scm:
- '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'
refspec: '$GERRIT_REFSPEC'
- branches:
- - 'origin/$GERRIT_BRANCH'
- skip-tag: true
choosing-strategy: 'gerrit'
choosing-strategy: 'gerrit'
- timeout: 10
- wipe-workspace: true
builders:
- description-setter:
description: "Built on $NODE_NAME"
builders:
- description-setter:
description: "Built on $NODE_NAME"
+ - shell: |
+ #!/bin/bash
+ ls -al $WORKSPACE
- multijob:
name: install
condition: SUCCESSFUL
- multijob:
name: install
condition: SUCCESSFUL
#!/bin/bash
echo "Hello World"
#!/bin/bash
echo "Hello World"
- label:
name: SLAVE_LABEL
default: 'odl-netvirt-virtual'
- 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
#####################################################
#####################################################
# These slaves are just dummy slaves for sandbox jobs
#####################################################