- settings-bluetooth
- settings-wifi
jobs:
- - ci-apps-{project}-verify
+ - ci-apps-{project}-verify-{aglbranch}
- ci-apps-{project}-verify-{aglbranch}-CIB-{architecture}
- - ci-apps-{project}-verify-CIB-finish-success
- - ci-apps-{project}-verify-failure
- - ci-apps-{project}-remove-artifacts
+ - ci-apps-{project}-verify-{aglbranch}-CIB-finish-success
+ - ci-apps-{project}-verify-{aglbranch}-failure
+ - ci-apps-{project}-remove-{aglbranch}-artifacts
# - ci-apps-{project}-verify-CIB-start
# - ci-apps-{project}-verify-CIBT-start
#- ci-apps-{project}-verify-CIBT-{architecture}
# ci-apps-{project}-verify = trigger from gerrit and control job
################################################################################
- job-template:
- name: 'ci-apps-{project}-verify'
+ name: 'ci-apps-{project}-verify-{aglbranch}'
project-type: multijob
concurrent: true
node: control-slave
description: "Project to build"
- string:
name: GERRIT_BRANCH
- default: master
+ default: '{aglbranch}'
description: "branch to build"
- string:
name: GERRIT_REFSPEC
- default: refs/heads/master
+ default: 'refs/heads/{aglbranch}'
description: "refspec to build"
- string:
name: GERRIT_CHANGE_NUMBER
description: "patchset # to build"
- string:
name: AGLBRANCH
- default: 'master'
+ default: '{aglbranch}'
description: "AGL release branch to use"
build-discarder:
days-to-keep: 30
triggers:
- gerrit-trigger-patch-submitted-manual-verified:
name: 'apps/{project}'
- branch: '**/**/**'
+ branch: 'refs/heads/{aglbranch}'
silent: 'true'
wrappers:
- agl-infra-wrappers:
name: CIB-{project}
condition: SUCCESSFUL
projects:
- - name: 'ci-apps-{project}-verify-master-CIB-arm'
+ - name: 'ci-apps-{project}-verify-{aglbranch}-CIB-arm'
current-parameters: true
#abort-all-job: true
kill-phase-on: FAILURE
- predefined-parameters: AGLBRANCH=master
- - name: 'ci-apps-{project}-verify-master-CIB-aarch64'
+ predefined-parameters: AGLBRANCH={aglbranch}
+ - name: 'ci-apps-{project}-verify-{aglbranch}-CIB-aarch64'
current-parameters: true
#abort-all-job: true
kill-phase-on: FAILURE
- predefined-parameters: AGLBRANCH=master
- - name: 'ci-apps-{project}-verify-master-CIB-x86-64'
+ predefined-parameters: AGLBRANCH={aglbranch}
+ - name: 'ci-apps-{project}-verify-{aglbranch}-CIB-x86-64'
current-parameters: true
#abort-all-job: true
kill-phase-on: FAILURE
- predefined-parameters: AGLBRANCH=master
- #- name: 'ci-apps-{project}-verify-dab-CIB-arm'
- # current-parameters: true
- # #abort-all-job: true
- # kill-phase-on: FAILURE
- # predefined-parameters: AGLBRANCH=dab
- #- name: 'ci-apps-{project}-verify-dab-CIB-aarch64' # does not exist in dab
- # current-parameters: true
- # #abort-all-job: true
- # kill-phase-on: FAILURE
- #- name: 'ci-apps-{project}-verify-dab-CIB-x86-64'
- # current-parameters: true
- # #abort-all-job: true
- # kill-phase-on: FAILURE
- # predefined-parameters: AGLBRANCH=dab
+ predefined-parameters: AGLBRANCH={aglbranch}
- multijob:
- name: CIB-{project}-finish-success
+ name: CIB-{project}-{aglbranch}-finish-success
condition: SUCCESSFUL
projects:
- - name: 'ci-apps-{project}-verify-CIB-finish-success'
+ - name: 'ci-apps-{project}-verify-{aglbranch}-CIB-finish-success'
current-parameters: true
abort-all-job: true
kill-phase-on: FAILURE
description: "Project to build"
- string:
name: GERRIT_BRANCH
- default: master
+ default: '{aglbranch}'
description: "branch to build"
- string:
name: GERRIT_REFSPEC
- default: refs/heads/master
+ default: refs/heads/{aglbranch}
description: "refspec to build"
- string:
name: GERRIT_CHANGE_NUMBER
# ci-apps-{project}-verify-CIB-finish-succcess = success, msg to gerrit
################################################################################
- job-template:
- name: 'ci-apps-{project}-verify-CIB-finish-success'
+ name: 'ci-apps-{project}-verify-{aglbranch}-CIB-finish-success'
project-type: freestyle
concurrent: true
node: control-slave
description: "Project to build"
- string:
name: GERRIT_BRANCH
- default: master
+ default: '{aglbranch}'
description: "branch to build"
- string:
name: GERRIT_REFSPEC
- default: refs/heads/master
+ default: 'refs/heads/{aglbranch}'
description: "refspec to build"
- string:
name: GERRIT_CHANGE_NUMBER
name: GERRIT_PATCHSET_NUMBER
default: "2"
description: "patchset # to build"
+ - string:
+ name: AGLBRANCH
+ default: '{aglbranch}'
+ description: "AGL release branch to use"
build-discarder:
days-to-keep: 30
artifact-days-to-keep: -1
# ci-apps-{project}-verify-failure = message back to gerrit on failure
################################################################################
- job-template:
- name: 'ci-apps-{project}-verify-failure'
+ name: 'ci-apps-{project}-verify-{aglbranch}-failure'
project-type: freestyle
concurrent: true
node: control-slave
description: "Project to build"
- string:
name: GERRIT_BRANCH
- default: master
+ default: '{aglbranch}'
description: "branch to build"
- string:
name: GERRIT_REFSPEC
- default: refs/heads/master
+ default: refs/heads/{aglbranch}
description: "refspec to build"
- string:
name: GERRIT_CHANGE_NUMBER
# -remove-artifacts = merge/abandon, remove artifacts and later trigger sstate
################################################################################
- job-template:
- name: 'ci-apps-{project}-remove-artifacts'
+ name: 'ci-apps-{project}-remove-{aglbranch}-artifacts'
project-type: freestyle
concurrent: true
node: control-slave
description: "Project to build"
- string:
name: GERRIT_BRANCH
- default: master
+ default: '{aglbranch}'
description: "branch to build"
- string:
name: GERRIT_REFSPEC
- default: refs/heads/master
+ default: refs/heads/{aglbranch}
description: "refspec to build"
- string:
name: GERRIT_CHANGE_NUMBER
triggers:
- gerrit-trigger-silent-patch-merged-abandoned:
name: 'apps/{project}'
- branch: '**/**/**'
+ branch: 'refs/heads/{aglbranch}'
builders:
- shell:
!include-raw-escape: