* Grab values from environment variables
* use os.ExpandEnv in RunHelmUpgrade function
* use os.ExpandEnv in RunHelmUpgrade function
* use os.ExpandEnv in RunHelmUpgrade function
* Extract new logic to separate func && update tests
---------
Co-authored-by: Mao <bruce.mao@sap.com>
Co-authored-by: Vyacheslav Starostin <32613074+vstarostin@users.noreply.github.com>
* Test
* Try omit
* Introduce global installation and fallback
* Extract to a separate function
* Fix unit tests
* Add root permissions for docker image for Azure
* Install in another folder
* fix unit tests
* Cleanup
* introduce back --no-save,change directory name, fix tests
* add tmp folder to npmignore
* change docker image for guage
* Revert "change docker image for guage"
This reverts commit 45ac7ca9bc.
* separating the unit test and test upload
* enhacing conditions
* making the condition more strict to run on pr from a local branch
* enhacing condition when unit test are successfull
* removing condition for previous step checks
* pinning gauge to 1.4.3 for regression test
* reverting integration test
We should use Utils.stash instead of native steps.stash calls (Jenkins)
since important logging is missing.
The default Jenkins stash step does not log any metadata like
stash name, patterns, etc.
* forcing the urls finder to relaxed
* adding a classifier map
* passing the stepName to the kaniko command executor bundle
* pass stepName to maven utils for mavenBuild
* improve enabling of Maven access log generation
* Revert "improve enabling of Maven access log generation"
This reverts commit 80b77223cd.
* Revert "pass stepName to maven utils for mavenBuild"
This reverts commit a4f99ae160.
* use reflection to update command stepName for mavenBuild
* Revert "use reflection to update command stepName for mavenBuild"
This reverts commit ef85c78669.
---------
Co-authored-by: I557621 <jordi.van.liempt@sap.com>
Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>
* enhancing protecode with registry credentials
* Use protecodeUtils instead of separate package
* Add target path for docker config to be created
* Fix tests
* Fix build flags
---------
Co-authored-by: Vyacheslav Starostin <vyacheslav.starostin@sap.com>
* Initial in progress
* compiling but not yet functional
* Missed file
* updated checkmarxone step
* Working up to fetching a project then breaks
* Missed file
* Breaks when retrieving projects+proxy set
* Create project & run scan working, now polling
* Fixed polling
* added back the zipfile remove command
* Fixed polling again
* Generates and downloads PDF report
* Updated and working, prep for refactor
* Added compliance steps
* Cleanup, reporting, added groovy connector
* fixed groovy file
* checkmarxone to checkmarxOne
* checkmarxone to checkmarxOne
* split credentials (id+secret, apikey), renamed pullrequestname to branch, groovy fix
* Fixed filenames & yaml
* missed the metadata_generated.go
* added json to sarif conversion
* fix:type in new checkmarxone package
* fix:type in new checkmarxone package
* removed test logs, added temp error log for creds
* extra debugging to fix crash
* improved auth logging, fixed query parse issue
* fixed bug with group fetch when using oauth user
* CWE can be -1 if not defined, can't be uint
* Query also had CweID
* Disabled predicates-fetch in sarif generation
* Removing leftover info log message
* Better error handling
* fixed default preset configuration
* removing .bat files - sorry
* Cleanup per initial review
* refactoring per Gist, fixed project find, add apps
* small fix - sorry for commit noise while testing
* Fixing issues with incremental scans.
* removing maxretries
* Updated per PR feedback, further changes todo toda
* JSON Report changes and reporting cleanup
* removing .bat (again?)
* adding docs, groovy unit test, linter fixes
* Started adding tests maybe 15% covered
* fix(checkmarxOne): test cases for pkg and reporting
* fix(checkmarxOne):fix formatting
* feat(checkmarxone): update interface with missing method
* feat(checkmarxone):change runStep signature to be able to inject dependency
* feat(checkmarxone): add tests for step (wip)
* Adding a bit more coverage
* feat(checkmarxOne): fix code review
* feat(checkmarxOne): fix code review
* feat(checkmarxOne): fix code review
* feat(checkmarxOne): fix integration test PR
* adding scan-summary bug workaround, reportgen fail
* enforceThresholds fix when no results passed in
* fixed gap when preset empty in yaml & project conf
* fixed another gap in preset selection
* fix 0-result panic
* fail when no preset is set anywhere
* removed comment
---------
Co-authored-by: thtri <trinhthanhhai@gmail.com>
Co-authored-by: Thanh-Hai Trinh <thanh.hai.trinh@sap.com>