---
# Autorelease build jobs
- job-template:
- name: 'docs-update-{stream}-{project-name}'
+ name: "docs-update-{stream}"
######################
# Default parameters #
######################
- disable-job: 'false'
+ disable-job: "false"
#####################
# Job Configuration #
#####################
project-type: freestyle
- node: centos7-builder-2c-2g
- disabled: '{disable-job}'
+ node: "{build-node}"
+ disabled: "{disable-job}"
properties:
- lf-infra-properties:
parameters:
- lf-infra-parameters:
- project: '{project}'
- project-name: '{project-name}'
- branch: '{branch}'
- stream: '{stream}'
- lftools-version: '{lftools-version}'
+ project: "releng/autorelease"
+ project-name: "autorelease"
+ branch: "{branch}"
+ stream: "{stream}"
+ lftools-version: "{lftools-version}"
- string:
name: RELEASE_NAME
- description: 'The next release name eg Magnesium'
+ description: "The next release name eg: Calcium, Potassium."
- bool:
name: PUBLISH
default: false
- description: 'The flag to publish or not'
+ description: "The flag to publish or not"
scm:
- - lf-infra-gerrit-scm:
- git-url: '$GIT_URL/$GERRIT_PROJECT'
- branch: '$GERRIT_BRANCH'
- refspec: '$GERRIT_REFSPEC'
+ - lf-gerrit-clone:
+ git-url: "$GIT_URL/$GERRIT_PROJECT"
+ branch: "$GERRIT_BRANCH"
+ refspec: "$GERRIT_REFSPEC"
jenkins-ssh-credential: opendaylight-jenkins-ssh
submodule-disable: false
submodule-recursive: true
submodule-timeout: 10
+ basedir: "autorelease"
choosing-strategy: default
+ wipe-workspace: true
+ - lf-gerrit-clone:
+ git-url: "$GIT_URL/docs"
+ branch: "$GERRIT_BRANCH"
+ refspec: "$GERRIT_REFSPEC"
+ jenkins-ssh-credential: opendaylight-jenkins-ssh
+ submodule-disable: true
+ basedir: "docs"
+ submodule-recursive: false
+ submodule-timeout: 10
+ choosing-strategy: default
+ wipe-workspace: false
wrappers:
- lf-infra-wrappers:
publishers:
- lf-infra-publish
+
+- scm:
+ name: lf-gerrit-clone
+ scm:
+ - git:
+ credentials-id: "{jenkins-ssh-credential}"
+ url: "{git-url}"
+ basedir: "{basedir}"
+ refspec: "{refspec}"
+ branches:
+ - "refs/heads/{branch}"
+ skip-tag: true
+ wipe-workspace: "{wipe-workspace}"
+ submodule:
+ disable: "{submodule-disable}"
+ recursive: "{submodule-recursive}"
+ timeout: "{submodule-timeout}"
+ choosing-strategy: "{choosing-strategy}"