Sven Merk
d2eb2877e0
fortifyExecuteScan: Functional enhancements ( #2647 )
...
* Improvements
* Formatting
* Fix test
* Update resources/metadata/fortify.yaml
Enhance description
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
* Unify version handling with ws step
* Part 2
* go fmt
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-02-26 13:43:03 +01:00
Daniel Mieg
3f8a1f141b
Update abapEnvironmentCloneGitRepo.go ( #2656 )
2021-02-26 09:27:22 +01:00
Roland Stengel
af65dc9076
transport request: consider old label default ( #2655 )
2021-02-25 17:17:41 +01:00
Nikolai Demidenko
eb87a2c976
Add createBOM parameter to the mavenBuild step ( #2639 )
...
* Add createBOM parameter to the mavenBuild step
* update generated files
* Update resources/metadata/mavenBuild.yaml
* Update resources/metadata/mavenBuild.yaml
* update generated mavenBuild
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-02-25 15:01:19 +01:00
Oliver Nocon
1581f941b1
fix(whitesource): remove parameters from scan call ( #2651 )
...
* fix(whitesource): remove parameters from scan call
parameters are forced into the config thus they don't need to be passed again.
* add proper project to config
2021-02-25 13:16:48 +01:00
Christian Luttenberger
56da4610ae
Update abapEnvironmentAddons.md ( #2652 )
...
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2021-02-25 12:56:15 +01:00
Christopher Fenner
abc711299d
fix(sonar): disable measurements if no credentials are provided ( #2653 )
...
* disable if no credentials are provided
* exit early
2021-02-25 12:06:12 +01:00
Anke Ravalitera
7cbce37c04
Updated TMS page after rebranding ( #2620 )
...
* TMS_Extension.md changed
* Update TMS pages after rebranding
* Fixed indentation issue
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2021-02-25 09:34:13 +01:00
Christopher Fenner
3875de8134
fix(sonar): use token provided by sonar-scanner-jenkins plugin ( #2649 )
2021-02-24 20:14:41 +01:00
Christopher Fenner
80515f3cfb
fix(sonar): remove warnings handling ( #2650 )
2021-02-24 19:21:40 +01:00
Christopher Fenner
30baa31b90
fix(sonar): prevents step from contacting sonar API for legacy systems ( #2648 )
2021-02-24 18:05:04 +01:00
Christopher Fenner
cb3fa7c293
feat(sonar): add output of measurements ( #2218 )
...
* add sonarqube measurements
* fetch measurements from API
* add api for fetching issue counts
* add debug outputs
* add further severities
* log number of issues
* report failure
* expose method to send request
* Fixed what was broken.
* add debug output
* wip
* correct opaque property
* push client handling to apiClient.go
* use correct API URL
* correct log outputs
* remove logging
* remove option validation
* extend search options
* restructure
* rename api client file
* simplify client usage
* simplify issue client
* write sonar values to influx
* extract issue service
* reorder imports
* add sonar integration test
* allow unknown fields
* add test case
* add test case
* remove
* fix
* Update http.go
* Apply suggestions from code review
* Update cmd/sonarExecuteScan.go
* rework test cases
* use explicit returns
* add task service
* add waitfortask
* fix typo
* remove fixme
* expose poll interval
* rename test cases
* add test cases
* use newAPIClient method
* use waitForTask
* rename services
* finalize code
* handle error
* move defer
* move types
* add test case
* use http.status...
* add test case
* expose api endpoint names
* extract api client
* adjust test cases
* Update integration-tests-pr.yaml
* Update integration-tests.yaml
* improve require message
* Update integration-tests-pr.yaml
* Update integration-tests-pr.yaml
2021-02-24 15:44:23 +01:00
Christopher Fenner
fbbb55471d
tests: expose sonar test secret to workflows ( #2646 )
...
* Update integration-tests-pr.yaml
* Update integration-tests.yaml
2021-02-24 12:58:48 +01:00
Christian Luttenberger
76c2a85c79
Adjustment assemblyConfirm Step - Check for package status ( #2644 )
...
* Add new pipeline step
* new pipeline stage
* Cleanup Test
* Adding new step to pipeline - stage publish
* Move from Publish to Build
* Adjusting documentation for move from publish to build
* Change Release with Confirm Step in Build Stage
* codeclimate
* Code Climate
* Code Climate spaces
* Adjusting for Check if package is released in AssemblyConfirm
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2021-02-24 12:45:10 +01:00
Peter Persiel
e5e0a482fa
Update addon.yml: Product X/Y SWC ABC + Short Commit ID ( #2636 )
...
* Update addon.yml: Product X/Y SWC ABC + Short Commit ID
* Update build.md
* Update integrationTest.md
* Update publish.md
* Update abapAddonAssemblyKitCheckCVs.md
* Update abapAddonAssemblyKitCheckPV.md
* Update integrationTest.md
* Update abapEnvironmentAddons.md
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2021-02-23 11:28:37 +01:00
Christian Luttenberger
c8e9e44f23
New pipeline step assembly confirm ( #2631 )
...
* Add new pipeline step
* new pipeline stage
* Cleanup Test
* Adding new step to pipeline - stage publish
* Move from Publish to Build
* Adjusting documentation for move from publish to build
* Change Release with Confirm Step in Build Stage
* codeclimate
* Code Climate
* Code Climate spaces
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2021-02-23 11:11:52 +01:00
Daniel Mieg
43fa6634ee
Updates for ABAP Environment release 2102 ( #2621 )
2021-02-21 20:19:42 +01:00
Marcus Holl
60feb3409f
solman upload go the step ( #2522 )
...
Upload content into a transport request via SOLMAN
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2021-02-19 13:07:18 +01:00
Christopher Fenner
2d93e5d4df
fix(cpe) readToDisk failes with content from writeToDisk ( #2629 )
...
* branch for debugging
* Add json fix for booleans
* remove debug output
* handle boolean in cpe
* handle various types in json
* fix variable
Co-authored-by: OliverNocon <oliver.nocon@sap.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-02-19 11:34:30 +01:00
Marcus Holl
3df4542271
move additional hints into markdown file ( #2599 )
...
These hints are up to now provided as javadoc like comments
at the call method for cloudFoundryDeploy step. At that level
they are not taken into account by the go generator.
Is is not a suitable approach to include this kind of markdown
docu into the long description of the metadata file since this
long description is (also) used by the piper help command when
invoking piper cloudFoundyDeploy --help. At that point in time
markdown like text does not make sense.
2021-02-19 08:44:51 +01:00
Mayur Belur Mohan
06afce3005
IntegrationArtifactUpload Command ( #2610 )
...
* IntegrationArtifactUpload Command
2021-02-17 09:59:56 +01:00
Daniel Mieg
484d9c2ec1
Increase cf-cli version for abap steps ( #2613 )
2021-02-16 18:03:29 +01:00
Marcus Holl
f74ebe0aa8
Fix alias for transport request upload cts ( #2614 )
...
* no duplicate alias key
* regenerate after metadata update
2021-02-16 15:31:15 +01:00
Christopher Fenner
9508e35c42
fix(PR): avoid NPE in PR label handling ( #2612 )
...
* fix NPE for PR label handling
fixes #2607
* Update resources/default_pipeline_environment.yml
2021-02-16 10:10:15 +01:00
Roland Stengel
7cb4e30497
introduce plainOpen in pkg/git ( #2602 )
...
* move transportrequest plainOpen into pkg/git
* artifactPrepareVersion: use plainOpen from git utils
2021-02-15 12:34:19 +01:00
Daniel Mieg
cb3ad328f5
test ( #2611 )
2021-02-15 11:06:07 +01:00
Kevin Stiehl
ffffe8295e
(Vault) Improvements ( #2439 )
...
* vault improvements
* Update cloudFoundryDeploy.yaml
remove double PARAMETERS
* go generate
* fix type & resturcutre paragraph to a list
* remove non-existent secrets
* build trigger
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-02-15 09:48:51 +01:00
Marcus Holl
e90548d41d
Introduce checkChangeInDevelopment ( #2504 )
...
* Introduce checkChangeInDevelopment
2021-02-12 08:50:38 +01:00
Oliver Nocon
2df2771734
fix(whitesourceExecuteScan) correctly handle structured projects ( #2597 )
...
* fix(whitesourceExecuteScan) correctly handle structured projects
report file names of projects which had a structure in the name
like `@test/myProject ` were incorrectly handled
This now prevents that reports are targeted to a sub directory.
Structure is now part of the filename.
* fix CodeClimate finding
2021-02-11 19:39:59 +01:00
Oliver Feldmann
1b032b5c82
Skip checkout flag ( #2594 )
...
* Skip checkout flag
Defaults to null==false
We need the option to provide an scmInfo object by the user
* Check skipCheckout is Boolean
* Require scmInfo map in case checkout is skipped
2021-02-11 16:21:57 +01:00
Marcus Holl
7e73622968
fix typo in fatal message triggered in tests. ( #2574 )
2021-02-11 14:57:22 +01:00
Oliver Feldmann
92fe76b2aa
Add CNAME file ( #2595 )
2021-02-11 14:12:18 +01:00
Daniel Mieg
d610c96b63
Increase ppiper cf-cli version to v7 ( #2590 )
...
* Increase ppiper cf-cli version to v7
* Change v7 to 7
2021-02-11 12:54:11 +01:00
Marcus Holl
c53d5241cb
use v6 version of ppiper/cf-cli consistently for all go steps ( #2569 )
2021-02-11 09:31:25 +01:00
Mayur Belur Mohan
f030bc9861
IntegrationArtifactDownload Command ( #2587 )
...
* IntegrationArtifactDownload Command
Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2021-02-10 17:08:23 +01:00
Oliver Nocon
d47a17c8fc
feat(whitesource): consolidated reporting and versioning alignment ( #2571 )
...
* update reporting and add todo comments
* enhance reporting, allow directory creation for reports
* properly pass reports
* update templating and increase verbosity of errors
* add todo
* add detail table
* update sorting
* add test and improve error message
* fix error message in test
* extend tests
* enhance tests
* enhance versioning behavior accoring to #1846
* create markdown overview report
* small fix
* fix small issue
* make sure that report directory exists
* align reporting directory with default directory from UA
* add missing comments
* add policy check incl. tests
* enhance logging and tests
* update versioning to allow custom version usage properly
* fix report paths and golang image
* update styling of md
* update test
2021-02-10 16:18:00 +01:00
Christian Luttenberger
e9a93ed384
Adding new step for abap Enviroment Assembly Confirm ( #2586 )
...
* Adding new abap Assembly Confirm
* Update abapEnvironmentAssembleConfirm.go
* Add generated objects
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2021-02-10 11:33:10 +01:00
Peter Persiel
8c030784e1
Change technical s-user to technical communication user ( #2581 )
...
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2021-02-09 13:56:49 +01:00
Peter Persiel
b3b3dd7b5d
Software component name with maximum of 30 characters ( #2588 )
2021-02-09 13:35:32 +01:00
Christopher Fenner
5184a76453
chore(http): allow to send prepared requests ( #2580 )
...
* Update http.go
* fix c&p issue
* convert URL to string
* Apply suggestions from code review
fix code climate findings
* add test case
2021-02-08 14:26:15 +01:00
Oliver Nocon
f2f5dbecb8
feat(versioning): add re-use function for proper Scan versioning ( #2544 )
...
* feat(versioning): add re-use function for proper Scan versioning
addresses #1846
* add missing comment
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2021-02-08 12:18:36 +01:00
lndrschlz
5f053d1c32
fix(uiVeri5): update documentation for more explicit deprecation notes ( #2568 )
...
* use strings.Join() for string slice
* add explanaiton to script passing in extensions
* add note about groovy templating
* remove single quotes from seleniumAddress default
* updated documentation
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-02-05 16:04:52 +01:00
Marcus Holl
0b9dd80008
Provide getters for stdout, stderr on ShellRunner, ExecRunner ( #1787 )
...
* Provide getters for stdout, stderr on ShellRunner, ExecRunner
we need that in order to set the streams back in case we have to scan the command
output ourselvs during some function calls.
2021-02-05 10:54:38 +01:00
Mayur Belur Mohan
538256774a
IntegrationArtifactGetServiceEndpoint Command ( #2582 )
...
* GetIntegrationArtifactServiceEndpoint Command
Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2021-02-05 10:35:55 +01:00
Marcus Holl
3a49bcafc9
print version of cf cli ( #2577 )
2021-02-05 08:24:41 +01:00
Daniel Mieg
d23e26f87f
Revert "Parallel test processing for abaputils ( #2570 )" ( #2578 )
...
This reverts commit e6086ad4a7
.
2021-02-04 15:19:42 +01:00
Christopher Fenner
9ec282fd0c
test: allow usage of httpmock in tests ( #2576 )
...
* add test case
* add flag for default transport
* Update go.mod
* Update go.sum
* fix spaces
* fix format
* Update http_test.go
* Update http_test.go
* Update http_test.go
* Update http_test.go
* Update http_test.go
2021-02-04 14:58:35 +01:00
Mayur Belur Mohan
426c106765
IntegrationArtifactGetMplStatus Command ( #2558 )
...
* IntegrationArtifactGetMplStatus Command
Co-authored-by: Marcus Holl <marcus.holl@sap.com>
2021-02-04 10:50:15 +01:00
Marcus Holl
3ebc21b5cb
provide alias for transport request upload cts ( #2551 )
...
* provide alias for transportRequestUploadCTS
* re-generate after metadata update
2021-02-04 10:09:20 +01:00
Stephan Aßmus
d41d7bfbac
Force WS Project update for mvn plugin ( #2575 )
...
In case of policy violations, the scan is failed and default behavior is to not update the project in the WS system.
See docs at https://whitesource.atlassian.net/wiki/spaces/WD/pages/33914890/Maven+Plugin .
Since this is inconvenient and we also changed the behavior already for NPM, we force the update.
2021-02-04 09:17:48 +01:00