@schemastore/cloud-sdk-pipeline-config-schema 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/index.d.ts +205 -178
  4. package/package.json +4 -4
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) Florian Keller. All rights reserved.
3
+ Copyright (c) Florian Imdahl. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  This package contains type definitions for cloud-sdk-pipeline-config-schema.
6
6
 
7
7
  ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/master/schemas/cloud-sdk-pipeline-config-schema.
8
+ Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/cloud-sdk-pipeline-config-schema.
9
9
 
10
10
  ## Additional Details
11
- * Last updated: Wed, May 06, 2020, 20:22:29 GMT
11
+ * Last updated: Fri, Feb 24, 2023, 11:23:31 GMT
12
12
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,42 +1,10 @@
1
- /* tslint:disable */
1
+ /* eslint-disable */
2
2
  /**
3
3
  * This file was automatically generated by json-schema-to-typescript.
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- /**
9
- * Cloud Foundry organization.
10
- */
11
- export type Org = string;
12
- /**
13
- * Cloud Foundry space.
14
- */
15
- export type Space = string;
16
- /**
17
- * Name of the application.
18
- */
19
- export type AppName = string;
20
- /**
21
- * Manifest file that needs to be used.
22
- */
23
- export type Manifest = string;
24
- /**
25
- * ID to the credentials that will be used.
26
- */
27
- export type CredentialsId = string;
28
- /**
29
- * URL to the Cloud Foundry endpoint.
30
- */
31
- export type ApiEndpoint = string;
32
- /**
33
- * (Only for MTA-projects) Path to the mta extension description file. For more information on how to use those extension files please visit the SAP HANA Developer Guide.
34
- */
35
- export type MtaExtensionDescriptor = string;
36
- /**
37
- * (Only for MTA-projects) Map of credentials that need to be replaced in the mtaExtensionDescriptor. This map needs to be created as value-to-be-replaced:id-of-a-credential-in-jenkins
38
- */
39
- export type MtaExtensionCredentials = string;
40
8
  /**
41
9
  * The image used in the step or stage.
42
10
  */
@@ -49,11 +17,11 @@ export type AppUrls = {
49
17
  /**
50
18
  * ID to the credentials that will be used to connect to the SAP Cloudplatform account.
51
19
  */
52
- credentialId: string;
20
+ credentialId?: string;
53
21
  /**
54
- * Additional parameters can be passed for each end-to-end test deployment by specifying optional parameters for an application URL. These parameters are appended to the npm command during execution.
22
+ * Additional parameters can be passed for each end-to-end test deployment by specifying optional parameters for an application URL. These parameters are appended to the npm command during execution. These parameters must be a list of strings, where each string corresponds to one element of the parameters. For example, if the parameter `--tag scenario1` should be passed to the test, specify parameters: ['--tag', 'scenario1'].
55
23
  */
56
- parameters?: string;
24
+ parameters?: unknown[];
57
25
  }[];
58
26
  /**
59
27
  * Host of the region you want to deploy to, see Regions.
@@ -67,6 +35,10 @@ export type Account = string;
67
35
  * Name of the application in your account.
68
36
  */
69
37
  export type Application = string;
38
+ /**
39
+ * ID to the credentials that will be used.
40
+ */
41
+ export type CredentialsId = string;
70
42
  /**
71
43
  * String of VM arguments passed to the JVM.
72
44
  */
@@ -94,6 +66,34 @@ export type NeoTargets = {
94
66
  runtime: Runtime;
95
67
  runtimeVersion: RuntimeVersion;
96
68
  }[];
69
+ /**
70
+ * Cloud Foundry organization.
71
+ */
72
+ export type Org = string;
73
+ /**
74
+ * Cloud Foundry space.
75
+ */
76
+ export type Space = string;
77
+ /**
78
+ * Name of the application.
79
+ */
80
+ export type AppName = string;
81
+ /**
82
+ * Manifest file that needs to be used.
83
+ */
84
+ export type Manifest = string;
85
+ /**
86
+ * URL to the Cloud Foundry endpoint.
87
+ */
88
+ export type ApiEndpoint = string;
89
+ /**
90
+ * (Only for MTA-projects) Path to the mta extension description file. For more information on how to use those extension files please visit the SAP HANA Developer Guide.
91
+ */
92
+ export type MtaExtensionDescriptor = string;
93
+ /**
94
+ * (Only for MTA-projects) Map of credentials that need to be replaced in the mtaExtensionDescriptor. This map needs to be created as value-to-be-replaced:id-of-a-credential-in-jenkins
95
+ */
96
+ export type MtaExtensionCredentials = string;
97
97
  export type CfTargets = {
98
98
  org?: Org;
99
99
  space?: Space;
@@ -109,6 +109,10 @@ export type CfTargets = {
109
109
  * The configuration file of the SAP Cloud SDK Continuous Delivery Toolkit. For more information please visit https://github.com/SAP/cloud-s4-sdk-pipeline
110
110
  */
111
111
  export interface SAPCloudSDKPipelineConfigJSONSchema {
112
+ /**
113
+ * List of paths or URLs to YAML files with custom defaults to consider. These defaults override built-in defaults, and can be shared across multiple projects. Project configuration takes precedence.
114
+ */
115
+ customDefaults?: string[];
112
116
  /**
113
117
  * The general configuration of the pipeline
114
118
  */
@@ -122,21 +126,25 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
122
126
  */
123
127
  projectName?: string;
124
128
  /**
125
- * No personal data is collected. For details, consult the analytics documentation.
129
+ * Git url of the repository containing the extensions.
126
130
  */
127
- collectTelemetryData?: boolean;
131
+ globalExtensionsRepository?: string;
128
132
  /**
129
- * Enable unsafe mode to skip checking environment variables for insecure elements. Only use this for demo purposes, never for productive usage.
133
+ * Version of the extensions which should be used, e.g. the tag name
130
134
  */
131
- unsafeMode?: boolean;
135
+ globalExtensionsVersion?: string;
136
+ /**
137
+ * Credentials required to clone the repository
138
+ */
139
+ globalExtensionsRepositoryCredentialsId?: string;
132
140
  /**
133
- * Apply automated versioning scheme. To disable this feature, set the value to false.
141
+ * No personal data is collected. For details, consult the analytics documentation.
134
142
  */
135
- automaticVersioning?: boolean;
143
+ collectTelemetryData?: boolean;
136
144
  /**
137
- * Path to a shared configuration file, which is merged with the project's configuration file.
145
+ * Enable unsafe mode to skip checking environment variables for insecure elements. Only use this for demo purposes, never for productive usage.
138
146
  */
139
- sharedConfiguration?: string;
147
+ unsafeMode?: boolean;
140
148
  /**
141
149
  * Allows enabling or disable certain optional features.
142
150
  */
@@ -145,7 +153,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
145
153
  * Run E2E Tests in parallel. This feature is disabled by default because it is not supported in Blue Ocean. If this feature is enabled, we suggest not using the Blue Ocean interface and rely on the classic UI instead.
146
154
  */
147
155
  parallelTestExecution?: "on" | "off";
148
- [k: string]: any;
156
+ [k: string]: unknown;
149
157
  };
150
158
  /**
151
159
  * If the Jenkins is running on a kubernetes cluster as a pod, we can use the dynamic scaling feature in the pipeline. In order to enable this, an environment variable ON_K8S has to be set to true on the jenkins.
@@ -155,24 +163,13 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
155
163
  * Docker image for jnlp agent to be used.
156
164
  */
157
165
  jnlpAgent?: string;
158
- [k: string]: any;
166
+ [k: string]: unknown;
159
167
  };
160
168
  } | null;
161
169
  /**
162
170
  * Configuration, which will modify the behaviour of stages in the SAP Cloud SDK Pipeline.
163
171
  */
164
172
  stages?: {
165
- staticCodeChecks?: {
166
- /**
167
- * A comma-separated list of exclusions (.java source files) expressed as an Ant-style pattern relative to the sources root folder, i.e. application/src/main/java for maven projects and srv/src/main/java for MTA projects.
168
- * Example: generated/** /*.java. Please find more details in the maven plugin documentation for pmd.
169
- */
170
- pmdExcludes?: string;
171
- /**
172
- * Path to a FindBugs XML exclusion file relative to the application folder.
173
- */
174
- findbugsExcludesFile?: string;
175
- };
176
173
  backendIntegrationTests?: {
177
174
  /**
178
175
  * The number of times that integration tests will retry before aborting the build. Note: This will consume more time for the jenkins build.
@@ -189,11 +186,6 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
189
186
  alias: string;
190
187
  credentialId: string;
191
188
  }[];
192
- /**
193
- * Activates the creation of a HDI containers in CAP projects. The name of the container will contain the project name and a random id.
194
- */
195
- createHdiContainer?: boolean;
196
- cloudFoundry?: CloudFoundry;
197
189
  /**
198
190
  * Name of the Docker image that should be used.
199
191
  */
@@ -210,7 +202,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
210
202
  * Environment variables to set in the container.
211
203
  */
212
204
  sidecarEnvVars?: {
213
- [k: string]: any;
205
+ [k: string]: unknown;
214
206
  };
215
207
  };
216
208
  frontEndIntegrationTests?: {
@@ -229,7 +221,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
229
221
  */
230
222
  onlyRunInProductiveBranch?: boolean;
231
223
  appUrls?: AppUrls;
232
- [k: string]: any;
224
+ [k: string]: unknown;
233
225
  };
234
226
  /**
235
227
  * This stage uses the npm audit command to check for known vulnerabilities in dependencies.
@@ -243,7 +235,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
243
235
  performanceTests?: {
244
236
  neoTargets?: NeoTargets;
245
237
  cfTargets?: CfTargets;
246
- [k: string]: any;
238
+ [k: string]: unknown;
247
239
  };
248
240
  s4SdkQualityChecks?: {
249
241
  /**
@@ -266,7 +258,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
266
258
  * A map containing the thresholds unstable and failing. If the code coverage is lower than what is configured in unstable, the pipeline result is unstable. If it is lower than what is configured in failing, the pipeline will fail.
267
259
  */
268
260
  codeCoverageFrontend?: {
269
- [k: string]: any;
261
+ [k: string]: unknown;
270
262
  };
271
263
  /**
272
264
  * This setting allows the code coverage to be stricter compared to the default values. By default, the pipeline will fail if the coverage is below 65% line coverage (unstableCoverage), and will be unstable if it is less than 70% (successCoverage). If lower numbers are configured, or this configuration is left out, the default values are applied.
@@ -339,7 +331,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
339
331
  appUrls?: AppUrls;
340
332
  neoTargets?: NeoTargets;
341
333
  cfTargets?: CfTargets;
342
- [k: string]: any;
334
+ [k: string]: unknown;
343
335
  };
344
336
  /**
345
337
  * The deployment of artifacts to nexus can be configured with a map containing the following properties.
@@ -363,9 +355,9 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
363
355
  */
364
356
  npmRepository?: string;
365
357
  credentialsId?: CredentialsId;
366
- [k: string]: any;
358
+ [k: string]: unknown;
367
359
  };
368
- [k: string]: any;
360
+ [k: string]: unknown;
369
361
  };
370
362
  /**
371
363
  * Configure credentials for WhiteSource scans. The minimum required Maven WhiteSource plugin version is 18.6.2, ensure this in the plugins section of the project pom.xml file.
@@ -386,7 +378,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
386
378
  * Unique identifier of the Secret Text on Jenkins server that stores WhiteSource userKey of a user. This is required only if the administrator of the WhiteSource service has enabled additional access level control. More details can be found here.
387
379
  */
388
380
  whitesourceUserTokenCredentialsId?: string;
389
- [k: string]: any;
381
+ [k: string]: unknown;
390
382
  };
391
383
  /**
392
384
  * Configure SourceClear scans.Note: Please note that the SourceClear stage of this pipeline is not actively maintained anymore. In case of issues, feel free to contribute to this project by opening a pull request.
@@ -399,67 +391,19 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
399
391
  config?: {
400
392
  vuln_methods_extra_ignored_directories?: string;
401
393
  scope?: string;
402
- [k: string]: any;
394
+ [k: string]: unknown;
403
395
  };
404
396
  };
405
397
  /**
406
- * Configure Fortify scans.
407
- */
408
- fortifyScan?: {
409
- /**
410
- * URL how your Fortify Software Security Center client can be reached.
411
- */
412
- sscUrl: string;
413
- /**
414
- * ID of the credentials (username, password) you want to use for the Fortify Software Security Center. Can be configured in executeFortifyScan or here.
415
- */
416
- fortifyCredentialId: string;
417
- /**
418
- * Name of your project in Fortify.
419
- */
420
- fortifyProjectName: string;
421
- /**
422
- * ID of your project in Fortify.
423
- */
424
- projectVersionId: string;
425
- [k: string]: any;
426
- };
427
- /**
428
- * Configure SonarQube (https://www.sonarqube.org/) scans.
398
+ * Configure the stage Compliance, which currently executes a SonarQube (https://www.sonarqube.org/) scan.
429
399
  */
430
- sonarQubeScan?: {
400
+ compliance?: {
431
401
  /**
432
402
  * Define whether the scan should also happen in non productive branches, i.e. if your SonarQube instance supports that.
433
403
  */
434
404
  runInAllBranches?: boolean;
435
- /**
436
- * The project is used to refer your project.
437
- */
438
- projectKey: string;
439
- /**
440
- * This property refers to a sonarqube instance, which needs to be defined in the Jenkins.
441
- */
442
- instance: string;
443
- /**
444
- * The image used in the step or stage.
445
- */
446
- dockerImage?: string;
447
- [k: string]: any;
448
- };
449
- /**
450
- * The lint stage can enforce common coding guidelines within a team.It supports the SAPUI5 best practices linter which operates on SAPUI5 components. A component is identified by a Component.js file in the directory.
451
- */
452
- lint?: {
453
- ui5BestPractices?: {
454
- esLanguageLevel?: string;
455
- failThreshold?: {
456
- error?: number;
457
- warning?: number;
458
- info?: number;
459
- };
460
- };
461
405
  };
462
- [k: string]: any;
406
+ [k: string]: unknown;
463
407
  } | null;
464
408
  steps?: {
465
409
  /**
@@ -474,7 +418,34 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
474
418
  * The project settings.xml to be used for maven builds. You can specify a relative path to your project root or a URL starting with http or https.
475
419
  */
476
420
  projectSettingsFile?: string;
477
- [k: string]: any;
421
+ [k: string]: unknown;
422
+ };
423
+ /**
424
+ * If automatic versioning is enabled, this step is used to set a common version for artifacts and optionally push a corresponding tag.
425
+ */
426
+ artifactPrepareVersion?: {
427
+ dockerImage?: DockerImage;
428
+ /**
429
+ * Defines the user name which appears in version control for the versioning update (in case versioningType: cloud).
430
+ */
431
+ commitUserName?: string;
432
+ /**
433
+ * Defines if the automatically generated version (versioningType: cloud) should include the commit id hash.
434
+ */
435
+ includeCommitId?: boolean & string;
436
+ /**
437
+ * Defines the prefix which is used for the git tag which is written during the versioning run (only versioningType: cloud).
438
+ */
439
+ tagPrefix?: string;
440
+ /**
441
+ * Defines if the Unix timestamp number should be used as build number instead of the standard date format.
442
+ */
443
+ unixTimestamp?: boolean & string;
444
+ /**
445
+ * Defines the type of versioning (cloud: fully automatic, cloud_noTag: automatic but no tag created, library: manual)
446
+ */
447
+ versioningType?: string;
448
+ [k: string]: unknown;
478
449
  };
479
450
  /**
480
451
  * The executeNpm step is used for all invocations of the npm build tool. It is, for example, used for building the frontend and for executing end to end tests.
@@ -488,18 +459,14 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
488
459
  * The default npm registry url to be used as the remote mirror. Bypasses the local download cache if specified.
489
460
  */
490
461
  defaultNpmRegistry?: string;
491
- /**
492
- * The default npm registry url to be used as the remote mirror for the SAP npm packages. Bypasses the local download cache if specified.
493
- */
494
- sapNpmRegistry?: string;
495
- [k: string]: any;
462
+ [k: string]: unknown;
496
463
  };
497
464
  executeSourceClearScan?: {
498
465
  /**
499
466
  * The image used in the step or stage.
500
467
  */
501
468
  dockerImage?: string;
502
- [k: string]: any;
469
+ [k: string]: unknown;
503
470
  };
504
471
  /**
505
472
  * A step configuration regarding Cloud Foundry deployment. This is required by stages like end-to-end tests, performance tests, and production deployment.
@@ -518,7 +485,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
518
485
  */
519
486
  keepOldInstance?: boolean;
520
487
  cloudFoundry?: CloudFoundry;
521
- [k: string]: any;
488
+ [k: string]: unknown;
522
489
  };
523
490
  neoDeploy?: {
524
491
  /**
@@ -539,17 +506,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
539
506
  runtime: Runtime;
540
507
  runtimeVersion: RuntimeVersion;
541
508
  };
542
- [k: string]: any;
543
- };
544
- /**
545
- * SpotBugs static code analysis is executed as part of the static code checks.
546
- */
547
- checkFindBugs?: {
548
- /**
549
- * Bug definition filter file.
550
- */
551
- includeFilterFile?: string;
552
- [k: string]: any;
509
+ [k: string]: unknown;
553
510
  };
554
511
  /**
555
512
  * Gatling is used as one of the performance tests tool.
@@ -559,7 +516,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
559
516
  * You can enable Gatling tests by turning the flag to true.
560
517
  */
561
518
  enabled?: boolean;
562
- [k: string]: any;
519
+ [k: string]: unknown;
563
520
  };
564
521
  /**
565
522
  * Apache JMeter is executed as part of performance tests of the application. The user is free to choose between JMeter and Gatling or both.
@@ -585,43 +542,80 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
585
542
  * Marks build as UNSTABLE if the value exceeds the threshold.
586
543
  */
587
544
  unstableThreshold?: number;
588
- [k: string]: any;
545
+ [k: string]: unknown;
589
546
  };
590
- executeFortifyScan?: {
591
- dockerImage: DockerImage;
547
+ fortifyExecuteScan?: {
548
+ dockerImage?: DockerImage;
592
549
  /**
593
- * Sends the verbose out put to the Jenkins log.
550
+ * Sends the verbose output to the Jenkins log.
594
551
  */
595
552
  verbose?: boolean;
596
553
  /**
597
- * Java version of the source code that needs to be scanned
554
+ * Jenkins 'Secret text' credentials ID containing token to authenticate to Fortify SSC.
598
555
  */
599
- sourceVersion?: string;
556
+ fortifyCredentialsId: string;
600
557
  /**
601
- * The build ID for the Fortify scan.
558
+ * Jenkins 'Secret text' credentials ID containing token to authenticate to GitHub.
602
559
  */
603
- buildId?: string;
560
+ githubTokenCredentialsId?: string;
604
561
  /**
605
- * Runs Fortify SCA inside the 64-bit JRE.
562
+ * Fortify SSC Url to be used for accessing the APIs
606
563
  */
607
- use64BitVersion?: string;
564
+ serverUrl?: string;
608
565
  /**
609
- * Maximum heap size of the JVM which runs Fortify SCA.
566
+ * The project used for reporting results in SSC
610
567
  */
611
- maximumMemoryUsage?: string;
568
+ projectName?: string;
612
569
  /**
613
- * File and directories that needs to excluded from the scanning.
570
+ * The default project versioning model used in case 'projectVersion' parameter is empty for creating the version based on the build descriptor version to report results in SSC, can be one of 'major', 'major-minor', 'semantic', 'full'
614
571
  */
615
- exclude?: string;
572
+ defaultVersioningModel?: string;
616
573
  /**
617
- * Skip the node modules from the scanning.
574
+ * Scan type used for the step which can be 'maven', 'pip'
618
575
  */
619
- skipNgComponents?: string;
576
+ buildTool?: string;
620
577
  /**
621
- * Additional Fortify options such as thread count, alias usage etc.
578
+ * Whether Fortify project and project version shall be implicitly auto created in case they cannot be found in the backend
622
579
  */
623
- additionalScanOptions?: string;
624
- [k: string]: any;
580
+ autoCreate?: boolean;
581
+ /**
582
+ * Whether results shall be uploaded or not
583
+ */
584
+ uploadResults?: boolean;
585
+ /**
586
+ * The amount of memory granted to the translate/scan executions
587
+ */
588
+ memory?: string;
589
+ /**
590
+ * A list of source directories to scan. Wildcards can be used, e.g., 'src/main/java/** /*'. The default value for buildTool: 'maven' is ['** /*.xml', '** /*.html', '** /*.jsp', '** /*.js', '** /src/main/resources/** /*', '** /src/main/java/** /*'], for buildTool: 'pip' it is ['./** /*'].
591
+ */
592
+ src?: string[];
593
+ /**
594
+ * A list of directories/files to be excluded from the scan. Wildcards can be used, e.g., '** /Test.java'.
595
+ */
596
+ exclude?: string[];
597
+ [k: string]: unknown;
598
+ };
599
+ /**
600
+ * Configure credentials for WhiteSource scans. The minimum required Maven WhiteSource plugin version is 18.6.2, ensure this in the plugins section of the project pom.xml file.
601
+ *
602
+ * Pipeline will execute npx whitesource run for npm projects. Please ensure that all package.json files have a name configured so that it is possible to distinguish between the different packages.
603
+ */
604
+ whitesourceExecuteScan?: {
605
+ /**
606
+ * Name of your product in WhiteSource.
607
+ */
608
+ productName: string;
609
+ /**
610
+ * Overwrites the project version in the WhiteSource UI per scan with the given version. Per default, the version from the main build descriptor file is used and transformed according to the versioningModel parameter, i.e. "1" for the default model of "major".
611
+ */
612
+ productVersion?: string;
613
+ orgAdminUserTokenCredentialsId: CredentialsId;
614
+ /**
615
+ * Unique identifier of the Secret Text on Jenkins server that stores WhiteSource userKey of a user. This is required only if the administrator of the WhiteSource service has enabled additional access level control. More details can be found here.
616
+ */
617
+ userTokenCredentialsId?: string;
618
+ [k: string]: unknown;
625
619
  };
626
620
  mtaBuild?: {
627
621
  /**
@@ -647,7 +641,7 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
647
641
  /**
648
642
  * Docker options to be set when starting the container (List or String).
649
643
  */
650
- dockerOptions?: any[] | string;
644
+ dockerOptions?: unknown[] | string;
651
645
  /**
652
646
  * The path to the extension descriptor file.
653
647
  */
@@ -664,28 +658,67 @@ export interface SAPCloudSDKPipelineConfigJSONSchema {
664
658
  * The location of the SAP Multitarget Application Archive Builder jar file, including file name and extension. If it is not provided, the SAP Multitarget Application Archive Builder is expected on PATH.
665
659
  */
666
660
  mtaJarLocation?: string;
667
- [k: string]: any;
661
+ [k: string]: unknown;
662
+ };
663
+ /**
664
+ * The debugReportArchive configuration can be used to create confidential (instead of redacted) debug reports. The difference between the redacted and the confidential debug report is that potentially confidential information, such as the GitHub repository and branch, global extension repository and shared libraries, are included in the confidential debug report. It is the user's responsibility to make sure that the debug report does not contain any confidential information.
665
+ */
666
+ debugReportArchive?: {
667
+ /**
668
+ * If set to true, a confidential debug report is being generated with each build.
669
+ */
670
+ shareConfidentialInformation?: boolean;
671
+ [k: string]: unknown;
668
672
  };
669
- createHdiContainer?: {
673
+ /**
674
+ * Configure SonarQube (https://www.sonarqube.org/) scans.
675
+ */
676
+ sonarExecuteScan?: {
677
+ /**
678
+ * The project key is used to refer your project.
679
+ */
680
+ projectKey: string;
681
+ /**
682
+ * This property refers to a SonarQube instance, which needs to be defined in the Jenkins.
683
+ */
684
+ instance: string;
685
+ /**
686
+ * A list of additional options (in the form of '-Dxy=z') to be passed to the sonar scanner tool.
687
+ */
688
+ options?: unknown[] | string;
670
689
  /**
671
690
  * The image used in the step or stage.
672
691
  */
673
692
  dockerImage?: string;
674
- [k: string]: any;
693
+ [k: string]: unknown;
675
694
  };
676
695
  /**
677
- * The debugReportArchive configuration can be used to create confidential (instead of redacted) debug reports. The difference between the redacted and the confidential debug report is that potentially confidential information, such as the GitHub repository and branch, global extension repository and shared libraries, are included in the confidential debug report. It is the user's responsibility to make sure that the debug report does not contain any confidential information.
696
+ * This step allows you to upload an MTA file (multi-target application archive) and multiple MTA extension descriptors into a TMS (SAP Cloud Platform Transport Management Service) landscape for further TMS-controlled distribution through a TMS-configured landscape.
678
697
  */
679
- debugReportArchive?: {
698
+ tmsUpload?: {
680
699
  /**
681
- * If set to true, a confidential debug report is being generated with each build.
700
+ * Defines the name of the node to which the *.mtar file should be uploaded.
682
701
  */
683
- shareConfidentialInformation?: boolean;
684
- [k: string]: any;
702
+ nodeName?: string;
703
+ /**
704
+ * Credentials to be used for the file and node uploads to the Transport Management Service.
705
+ */
706
+ credentialsId?: string;
707
+ /**
708
+ * Can be used as the description of a transport request. Will overwrite the default.
709
+ */
710
+ customDescription?: string;
711
+ [k: string]: unknown;
685
712
  };
686
- [k: string]: any;
713
+ [k: string]: unknown;
687
714
  } | null;
688
- [k: string]: any;
715
+ [k: string]: unknown;
716
+ }
717
+ /**
718
+ * Map of environment variables in the form of KEY: VALUE.
719
+ */
720
+ export interface Environment {
721
+ [k: string]: unknown;
689
722
  }
690
723
  /**
691
724
  * A map specifying the Cloud Foundry specific parameters.
@@ -700,9 +733,3 @@ export interface CloudFoundry {
700
733
  mtaExtensionDescriptor?: MtaExtensionDescriptor;
701
734
  mtaExtensionCredentials?: MtaExtensionCredentials;
702
735
  }
703
- /**
704
- * Map of environment variables in the form of KEY: VALUE.
705
- */
706
- export interface Environment {
707
- [k: string]: any;
708
- }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
- "author": "Florian Keller <github@floriankeller.de>",
2
+ "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "dependencies": {},
4
4
  "description": "TypeScript definitions for cloud-sdk-pipeline-config-schema.",
5
5
  "license": "MIT",
6
6
  "main": "index.d.ts",
7
7
  "name": "@schemastore/cloud-sdk-pipeline-config-schema",
8
- "repository": "https://github.com/ffflorian/schemastore-updater/tree/master/schemas/cloud-sdk-pipeline-config-schema",
8
+ "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/cloud-sdk-pipeline-config-schema",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "67fed8630f52350ccf65b840640bfa5b8d5fd07e62c1adbc4b1abf29a7ef2b55",
10
+ "typesPublisherContentHash": "e83903166740812f2e6ea6c5cc280afd7900c92d79b87ec40bf4f31686694f00",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.3",
12
+ "version": "0.0.5",
13
13
  "typeScriptVersion": "2.2"
14
14
  }