- # Adds builders section common to merge packer jobs.
- # {packer-cloud-settings} is passed from the project, defines the managed
- # file-id name created in Jenkins
- # (default: packer-cloud-env)
- # {packer-version}: is global defined in job group level, the version number
- # can be updated to install the latest version of packer.
- # {platforms}: defines the packer platform file, passed from the project.
- # {template}: defines the packer template file, passed from the project.
+ # Packer Merge job runs `packer build` to build system images in the cloud.
+ #
+ # Required parameters:
+ #
+ # :build-node: The node to run build on.
+ # :jenkins-ssh-credential: Credential to use for SSH. (Generally should
+ # be configured in defaults.yaml)
+ # :mvn-settings: The name of settings file containing credentials for
+ # the project.
+ # :platforms: Platform or distribution to build. Typically json file
+ # found in the packer/vars directory. (Example: centos)
+ # :template: System template to build. Typically shell script found in
+ # the packer/provision directory. (Example: java-builder)
+ #
+ # Optional parameters:
+ #
+ # :branch: Git branch to fetch for the build. (default: master)
+ # :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7)
+ # :build-timeout: Timeout in seconds before aborting build. (default: 10)
+ # :git-url: URL clone project from. (default: $GIT_URL/$PROJECT)
+ # :packer-cloud-settings: Name of settings file containing credentials
+ # for the cloud that packer will build on. (default: packer-cloud-env)
+ # :packer-version: Version of packer to install / use in build. (default: 1.0.2)
+ # :stream: Keyword that can be used to represent a release code-name.
+ # Often the same as the branch. (default: master)
+ # :submodule-recursive: Whether to checkout submodules recursively.
+ # (default: true)
+ #
+ # :gerrit_verify_triggers: Override Gerrit Triggers.
+ # :gerrit_trigger_file_paths: Override file paths which can be used to
+ # filter which file modifications will trigger a build.
+ # (default defined by lf_jjb_common)
+
+ ######################
+ # Default parameters #
+ ######################
+
+ gerrit_merge_triggers:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: remerge$
+
+ #####################
+ # Job Configuration #
+ #####################