-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
32 lines (27 loc) · 2.28 KB
/
Copy pathJenkinsfile
File metadata and controls
32 lines (27 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* Copyright 2025 MicroEJ Corp. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be found with this software.
* Any modification of the source code will break MicroEJ Corp. warranties on the whole library.
*/
buildWithGradle{
CODE_ANALYSIS_RUN_IN_FEATURE = true
//MODULE_DIR = '' // The name of the project into which your MODULE_FILENAME is. Default value is : '' . So leave blank if your MODULE_FILENAME is in the root of your gitlab project.
//MODULE_FILENAME = '' // The module filename. Default value is : module.ivy. Set it if yours is different.
//LABEL = '' // The label where build must be run. Default value is : docker if in docker build or generic. Set it if yours is different.
//DOCKER_IMAGE = '' // The image used to execute the build. Default value is : microej/sdk:$MMM_VERSION. If empty (set to '') the build is executed without Docker (so directly on the Jenkins node).
//MMM_VERSION = '' // The version of MMM to use. Default value is 5.5.0.
//ANT_PROPERTIES = '' // The properties run with ant. Default value is already set. Add specific properties if necessary. As ('-DnameOfProperties=valueofProperty').
//ANT_VERBOSE = '' // Default value is : false. Set true if you want the verbose mode.
//ARTIFACTS_DOMAIN = '' // The artifacts domain to use. The default value is cross5.
//PATTERN_JUNIT = '' // The pattern Junit for test report. This default value is : '**/target~/test/xml/**/*test-report.xml, **/target~/test/xml/**/TEST-*.xml'. Set it if you want to use different one.
//ENVIRONMENT_VARIABLES = [] // The list of additional environment variables.
//DOWNSTREAM_JOBS = [[ // The list of jobs to launch at the last stage of the job. If not set, does nothing.
// name: '', // The full name of the project to build at the end of the current build. eg: "I0047_Jenkins_example/feature%2FI0047J-51_example_print"
// parameters: [], // The array of parameters to pass to the downstream job. Default to empty array. eg: [booleanParam(name: 'ANT_VERBOSE', value: true), string(name: 'ANT_PROPERTIES', value: 'this is a test')]
// when: '' // Condition for running the job. Default to true. eg: env.GIT_BRANCH == "develop"
//],[
// name: '',
// parameters: [],
// when: ''
//]]
}