1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-02-05 13:25:19 +02:00

5009 Commits

Author SHA1 Message Date
Googlom
7eb4495e51
feat(notification): Notify in case of Release failure (#5045)
* Update release-go.yml

* fix lint
v1.386.0
2024-09-26 12:21:37 +05:00
Christopher Fenner
a242bca1ae
fix(docs): remove dead links (#5051)
* fix(docs): remove dead links

* Update parameters_test.go
v1.385.0
2024-09-20 14:21:33 +02:00
Oliver Feldmann
528a72e567
chore: remove obsolete cloud sdk conversion file (#5036)
The cloud sdk pipeline does not exist anymore.
2024-09-17 13:09:17 +02:00
Srinikitha Kondreddy
90be7e43ad
feat: fail if script is not found in package.json file (#5029)
* feat: fail if script is not found

* fix tests

* Fix integration tests

---------

Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
v1.384.0
2024-09-16 12:32:15 +02:00
Jordi van Liempt
a2bafe2d7f
feat(sonar): Enable trustengine for token retrieval (#5046)
Co-authored-by: jliempt <>
v1.383.0
2024-09-16 10:20:40 +02:00
Jordi van Liempt
1b711fd4b1
feat(trustengine): Add new resource reference to parameter docs generation (#5038)
* add trust engine resource reference to parameter docs generation

* test with added resource ref

* remove test resource ref

* use trustengineSecret const

---------

Co-authored-by: jliempt <>
2024-09-16 07:23:33 +00:00
Oliver Feldmann
442d9ffe0c
docs: add unit test tags flag (#4947)
As we use tags for the unit test files, they don't run if one does not provide the tags=unit flag to the test execution command. This change adds the description of how one is to do this when running the tests in a shell, as well as how to add it to the VS Code extension.

Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2024-09-13 14:32:57 +02:00
Tilo Körner
dbeb46223e
CONTRIBUTING.md (#5042)
Updated CONTRIBUTING.md with Code of Conduct and Guidelines for GenAI and general content restructuring
2024-09-13 14:00:11 +02:00
Tilo Körner
1d659c7893
addon.yml may now contain wildCard MAXX (#5039)
* wildCard MAXX in addon.yml for AAKaaS steps
---------

Co-authored-by: Christian Luttenberger <42861202+bluesbrother84@users.noreply.github.com>
2024-09-12 14:44:20 +02:00
Daria Kuznetsova
085a8c003b
fix(codeqlExecuteScan): handle spaces in path to maven settings file (#5037)
* added quotes for mvn settings path

* added logs

* removed logs, added excape symbol for spaces

* set quotes

* removed replacing

* changed quotes

* fixed tests

* removed extra log

---------

Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2024-09-12 10:15:11 +03:00
Jordi van Liempt
af5b738982
feat(trustengine): Integrate Trust Engine into step config resolver (#5032)
* trust engine config and handelling for vault

* add function for resolving trust engine reference

* refactor

* add basic test

* adapt to new trust engine response format

* remove accidental cyclic dependency

* move trust engine hook config

* refactor by separating code from vault

* move trust engine files to own pkg

* adapt to changes of previous commit

* log full error response of trust engine API

* enable getting multiple tokens from trustengine

* remove comment

* incorporate review comments

* go generate

* update unit tests

* apply suggested changes from code review

* fix unit tests

* add unit tests for config pkg

* make changes based on review comments

* make trust engine token available in GeneralConfig and minor fixes

* fix error logic when reading trust engine hook

* make getResponse more flexible and update logging

* update resource reference format

* improve URL handling

* improve logging

* use errors.Wrap() instead of errors.Join()

* update log messages based on suggestions

* remove trustengine resource ref from Sonar step

---------

Co-authored-by: Keshav <anil.keshav@sap.com>
Co-authored-by: jliempt <>
2024-09-11 15:20:28 +02:00
Jordi van Liempt
7e2604ad9e
fix(http): Use configured logger for retryClient (#5040)
Co-authored-by: jliempt <>
2024-09-11 11:39:30 +02:00
Manjunath
ca56fcf962
Updated helm.sh/helm from 13.14.0 to 13.14.2 (#5041) v1.382.0 2024-09-10 13:12:31 +02:00
Johannes Dillmann
34f1057bfa
Copy full project (#5033) v1.381.0 2024-09-06 14:27:17 +02:00
Pavel Busko
72ff2d461b
feat(vault): support complex data types in secrets (#5006)
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
2024-09-05 10:29:19 +02:00
Akramdzhon Azamov
91ae39c9d4
Added pagination logic for retrieving projects from Black Duck server (#5031)
* Added pagination logic for retrieving projects from Black Duck server

* fixed unit tests for getProject in blackduck

* fixed unit tests for getProject in blackduck

* fixed unit tests for getProject in blackduck
2024-09-05 09:36:14 +02:00
Manjunath
645559cbf6
Update aws deps (#5034) v1.380.0 2024-08-30 14:45:57 +02:00
Daniel Mieg
cb45ad1b44
Add possible values and default (#5030) 2024-08-29 10:55:43 +02:00
Manjunath
ff86369e95
Fix security issues reported by Black Duck (#5014) v1.378.0 v1.379.0 2024-08-27 13:47:51 +02:00
Anil Keshav
238339c87e
Exposing build artifact metadata from maven and npm (#5008) v1.377.0 2024-08-27 08:24:38 +02:00
Googlom
70d2abf40f
return back schedule trigger (#5016) 2024-08-26 14:35:41 +05:00
Tilo Körner
b5561aa8c1
add OriginHash to aakaas check (#5015) v1.376.0 2024-08-23 17:37:58 +03:00
Googlom
97e28683f5
Check prerelease functionality (#5000)
* check release functionality

* rename

* rename and config fix (temporary)

* permissions

* change event type

* fix

* fix

* temporary disable steps

* add event type

* fix

* fix

* fix

* fix

* fix

* fix

* uncomment

* fix for PR

* Apply suggestions from code review

* Update release-go.yml

---------

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2024-08-20 13:50:39 +05:00
Vyacheslav Starostin
5fb7142d19
Align jenkins username parameter throughout library (#5009) 2024-08-19 16:52:04 +05:00
Vyacheslav Starostin
8637f894f2
Add possibility to fetch jsonCredentialsAzure from Vault (#5011) 2024-08-19 16:21:44 +05:00
Googlom
773332fe1e
fix(artifactPrepareVersion): add missing error handling (#5005)
* add error handling

* add retries
v1.375.0
2024-08-19 11:50:40 +05:00
Daniel Mieg
8109f6fbe8
OData V4 error message handling (#5013)
* OData V4 error message handling

* Adapt tests
2024-08-16 13:41:23 +02:00
Googlom
f902f48ac9
Remove _master binary usage (#5002)
* don't download _master binary

* adjust tests
2024-08-15 16:19:59 +05:00
Vyacheslav Starostin
c537a85785
vaultRotateSecretID: Update logging (#5003) 2024-08-15 14:34:19 +05:00
Pavel Busko
98e4e01635
feat(cnbBuild): warn users when dockerConfigJSON is missing necessary credentials (#5007)
* feat(cnbBuild): warn users when dockerConfigJSON is missing necessary credentials

* Update cmd/cnbBuild.go

Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>

* Update pkg/cnbutils/auth.go

Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>

* fix linting

---------

Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
2024-08-15 10:20:01 +02:00
Googlom
61b9df54b1
add --kube-context to uninstall command (#4999) v1.373.0 v1.374.0 2024-07-29 19:48:56 +05:00
Jordi van Liempt
36f8d35f1c
feat(mtaBuild): Add enableSetTimestamp parameter (#4996)
* add enableSetTimestamp param to mtaBuild

* make default: true

* go generate

* update unit tests

---------

Co-authored-by: jliempt <>
v1.372.0
2024-07-29 09:00:30 +02:00
Googlom
8c79fcee36
disable log application/octet-stream (#4997) 2024-07-26 13:26:26 +05:00
Googlom
58616619bd
helmExecute: add --kube-context to helm upgrade and install commands (#4995)
* add --kube-context to helm upgrade and install commands

* disable parallel running of unit tests

* undo disable parallel running of unit tests
2024-07-25 14:25:00 +05:00
ranliii
e6d4f40416
moved user confirmation to in front of the system deletion (#4994)
Co-authored-by: Ran Li <ran.li01@sap.com>
2024-07-24 12:04:19 +03:00
Googlom
a564a121a6
fix vaultDisableOverwrite handling (#4990) 2024-07-23 15:43:24 +05:00
Anil Keshav
5809632672
(fix) syft, fixing cyclone dx version to sbom version 1.4 for syft (#4991)
* fixing cyclone dx version to version 1.4 for syft

* fixing unit test for kaniko

* fixing integration test for cnb
2024-07-22 15:17:35 +02:00
Tilo Körner
d2285f8929
Update abapAddonAssemblyKitCheck.yaml (#4992)
* Update abapAddonAssemblyKitCheck.yaml

remove bullet points as they are not rendered together with markdown

* Update abapAddonAssemblyKitCheck.yaml

* delete trailing space

* go generate
2024-07-22 14:32:26 +02:00
Tilo Körner
82f6d58735
Update abapAddonAssemblyKitCheck.yaml (#4988)
* Update abapAddonAssemblyKitCheck.yaml

remove bullet points as they are not rendered together with markdown

* go generate
2024-07-22 11:57:08 +02:00
Srinikitha Kondreddy
70902974ac
Find dist folder from sources (#4984) v1.370.0 v1.371.0 2024-07-11 12:19:28 +00:00
Akramdzhon Azamov
eed058d47d
Mend verbose mode improvements (#4982)
* Excluded directory './pipeline' for detectExecuteScan step

* fixed unit-tests

* changed config path from "pipeline/*" to ".pipeline/*"

* Refactor exclude handling

* Mend verbose mode improvements

* Mend verbose mode improvements

* Mend verbose mode improvements

* Mend verbose mode improvements

* Mend verbose mode improvements

* Mend verbose mode improvements

* Mend verbose mode improvements

---------

Co-authored-by: Vijayan T <vijayanjay@gmail.com>
2024-07-10 16:02:14 +02:00
radianer
4d32de1c1a
fix(groovy): handle NPE in utils unstash (#4969)
* Fix NPE in utils unstash

* fix test

---------

Co-authored-by: Vijayan T <vijayanjay@gmail.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2024-07-09 09:40:29 +02:00
Dmitrii Pavlukhin
8e962a7729
DetectExecuteScan enhance logging && Adding new parameter (includeDevDependencies) for WS step (#4958)
* Enhanced logging of build params for detectExecuteScan

* amended-parameter-description

* added-parameter-for-npm-dev-deps-inclusion

* amended-tests

* new-generated-file

* added-parameter-explicitly
2024-07-08 15:33:42 +03:00
Vyacheslav Starostin
b6b366066f
Disable telemetry reporting (#4983) v1.369.0 2024-07-05 17:23:57 +05:00
Vijayan T
0f427c324a
Fixed excluded directories with pattern (#4980)
Signed-off-by: Vijayan T <vijayanjay@gmail.com>
2024-07-05 16:36:25 +05:30
Marco Rosa
64aabd8daa
fix(credentialdiggerScan): get_discoveries and docker image (#4613)
* Improve logs of credentialdiggerScan step

* 'Restore step'

* Use dockerhub image for Credential Digger

* Regenerate credentialdiggerScan

* Update docker image tag

* Fix report generation with exportAll

* Update docker image for credentialdiggerScan

* Regenerate credentialdiggerScan step with new docker image

* Dont duplicate step name with log.Entry()

* Refactor RepoURL according to #4639

---------

Co-authored-by: Marcus Holl <marcus.holl@sap.com>
Co-authored-by: Googlom <36107508+Googlom@users.noreply.github.com>
2024-07-04 14:59:53 +05:00
Srinikitha Kondreddy
4a4c13ff03
Cleanup outdated blue green support for cf native build tools (#4965)
* Remove blue green deployment support for cf native build tools

* Empty for testing

* Remove obsolete dependency

* feedback from code review

* Fix IT's run

* Add test
2024-07-04 12:13:36 +03:00
Akramdzhon Azamov
e2f1c13b75
Excluded directory '.pipeline' for detectExecuteScan step (#4955)
* Excluded directory './pipeline' for detectExecuteScan step

* fixed unit-tests

* changed config path from "pipeline/*" to ".pipeline/*"

* Refactor exclude handling

---------

Co-authored-by: Vijayan T <vijayanjay@gmail.com>
2024-07-01 18:48:53 +05:30
Oliver Feldmann
fe2e4e7757
chore: switch to new parameter name (#4968)
* chore: switch to new parameter name

Since warnings-ng plugin version 11 the blameDisabled parameter
has been replaced by skipBlames.
To be compatible with Jenkinsfile Runner we put the recordIssues step
into a try/catch, so no exception is thrown and the build fails.

* docs: improve wording

Co-authored-by: Srinikitha Kondreddy <srinikitha.kondreddy@sap.com>

---------

Co-authored-by: Srinikitha Kondreddy <srinikitha.kondreddy@sap.com>
v1.368.0
2024-06-28 13:17:21 +02:00
Vijayan T
06df2d4463
Improving buildDescriptorExcludeList for npm (#4976)
Signed-off-by: Vijayan T <vijayanjay@gmail.com>
2024-06-27 16:06:31 +05:30