Commit Graph
100 Commits
Author SHA1 Message Date
c72020b7a5 fortifyExecuteScan: Clean and improve parameters (#2050)
* Fix PR feature

* Fix Fortify parameters

* Update resources/metadata/fortify.yaml

* Update resources/metadata/fortify.yaml

* Update resources/metadata/fortify.yaml

* Update resources/metadata/fortify.yaml

* Update resources/metadata/fortify.yaml

* Update resources/metadata/fortify.yaml

* Update descriptions

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
Co-authored-by: OliverNocon <oliver.nocon@sap.com>
2020-09-22 17:39:40 +02:00
Sven MerkandOliver Nocon 4ae46823b1 Fix PR feature (#2048)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-09-22 12:36:22 +02:00
Sven Merk 612d3a645b Support verify only mode for SAST tools (#2018)
* Support verify only mode for SAST

* Include feedback

* Add tests

* Fix imports
2020-09-18 08:19:34 +02:00
Sven Merk 51158d2457 checkmarxExecuteScan: Fix access to projects (#1997) 2020-09-10 11:14:58 +02:00
1fe94680df checkmarxExecuteScan: Fix parameter handover (#1888)
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-08-06 11:32:29 +02:00
89f5ca9da1 whitesourceExecuteScan: Fix scanType: docker related issues (#1644)
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-06-12 16:55:16 +02:00
Sven Merk af2a01c064 Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
Sven Merk 911b8bfb26 Add resolution and storage of commit message (#1515)
* Add commit message

* Add ToDo for later refctoring
2020-05-07 11:21:29 +02:00
Sven Merk c645087517 NotSerializableException next part (#1262)
* Update dockerExecute.groovy

* Update dockerExecute.groovy

* Update dockerExecute.groovy
2020-03-11 10:05:03 +01:00
Sven Merk 6edaaecf15 Support workspace paths containing whitespaces (#1241)
* Support workspace paths containing whitespaces

* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy

* Switch to export

* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy
2020-03-09 15:40:59 +01:00
Sven Merk b43f331fad Avoid NotSerializableException #3 (#1252) 2020-03-06 14:05:14 +01:00
Sven Merk d29c249e35 Avoid using Iterators to get around NotSerializableException (#1242)
* Avoid using Iterators to get around NotSerializableException

* Avoid using Iterators to get around NotSerializableException
2020-03-05 15:48:05 +01:00
Sven Merk 507bf3f98d Update handlePipelineStepErrors.md (#1247) 2020-03-05 10:19:02 +01:00
Sven Merk 4c97231ff9 Avoid using Iterators to get around NotSerializableException (#1220) 2020-02-25 12:25:26 +01:00
Sven Merk 1417f4650a Small cleanup (#1159) 2020-02-06 14:22:58 +01:00
Sven Merk 3139255312 Fix chars in checkmarx test, improve development.md (#1154)
* Fix chars in test

* Update DEVELOPMENT.md

* Update DEVELOPMENT.md

* Update DEVELOPMENT.md
2020-02-06 09:43:19 +01:00
Sven MerkandChristopher Fenner 59e9d897bf feat(hadolint): enable correct handling of multiple scan results (#1145)
* Add missing parameter

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* fix code climate issues

* Update default_pipeline_environment.yml

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

* Update hadolintExecute.groovy

Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-02-04 16:36:09 +01:00
Sven Merk 36423eb78d Avoid potential collisions among steps (#1141)
* Avoid potential collisions amongst steps

* Improve code, move to JenkinsUtils

* Improve code

* Improve tests

* Fix test

* Add scope on golang side
2020-02-03 15:25:49 +01:00
Sven MerkandOliver Nocon 4b1ca5697d Add missing test (#1116)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-01-29 13:46:28 +01:00
Sven Merk cbe368fe36 Checkmarx as golang (#1075)
* Added base functionality for checkmarx interaction

* Extend http client with file upload capabilities

* Latest changes

* Add debug logging

* Introduce Uploader interface

* Add tests for checkmarx client

* Hook new checkmarx command

* Improve coverage

* Add tests

* Improved test coverage and fixed code

* Add influx reporting

* Add alternation capabilities

* Add groovy step

* Try fix cmd

* Enhancements

* Fix report generation

* Final performance improvements

* Fix code

* Structure code, cleanup

* Improvements

* Fix codeclimate issue

* Update groovy

* Adapt latest changes to http

* Fix test

* Fix http tests

* Fix test

* Fix test

* Fix test 2

* Fix code

* Fix code 2

* Fix code

* Code

* Fix

* Fix

* Add report and link handling

* Fix returns, add groovy test

* Review comments

* Added doc template

* Docs update

* Remove SAP internals

* Better status display

* Add name to link

* Fix test

* Fix

* Fix verbose handling

* Fix verbose handling 2

* Fix verbose handling 3

* Fix

* Tiny improvements

* Regenerate

* Fix test

* Fix test code

* Fix verbosity issue

* Fix test

* Fix test

* Fix test
2020-01-27 23:40:53 +01:00
Sven Merk 71d0842c07 Update http_test.go 2020-01-22 15:26:35 +01:00
Sven Merk 997ae27ccd Merge pull request #1096 from SAP/http_uploader
Add upload of files to HTTP capabilities
2020-01-14 10:44:30 +01:00
Sven Merk 72b4e36156 Merge pull request #1070 from SAP/nevskrem-patch-1
whitesourceExecuteScan: Resilience for report generation
2019-12-16 21:55:04 +01:00
Sven Merk 5d14376d19 Update whitesourceExecuteScan.groovy 2019-12-16 20:54:24 +01:00
Sven Merk 869950aa02 Merge pull request #1066 from SAP/nevskrem-patch-1
whitesourceExecuteScan: Avoid node_modules are treated like project modules
2019-12-16 10:28:20 +01:00
Sven Merk c479e69ebc Update MtaMultiplexer.groovy 2019-12-16 09:28:58 +01:00
Sven Merk eeee3a7189 whitesourceExecuteScan: Avoid downloaded node_modules are treated like project modules 2019-12-16 09:22:40 +01:00
Sven Merk 368f7027b6 Merge pull request #1055 from SAP/nevskrem-patch-1
Fix NPE in case no version specified in descriptor
2019-12-11 15:13:52 +01:00
Sven Merk 6f0a3e0c0a Fix NPE in case no version specified in descriptor 2019-12-11 13:34:01 +01:00
Sven Merk 79e002cc5e Merge branch 'master' into sv-docuGen 2019-11-21 16:13:50 +01:00
Sven Merk ceac2b2b73 Merge branch 'master' into sv-VolumeBind 2019-11-19 15:20:28 +01:00
Sven Merk c7f3e5c4f0 Merge branch 'master' into sv-VolumeBind 2019-11-15 12:38:18 +01:00
Sven Merk 25b7e3301f Merge branch 'master' into sv-docuGen 2019-11-15 12:37:46 +01:00
Sven Merk 5b598e82ce Merge pull request #966 from SAP/fix-docs
Fix documentation of cfManifestSubstituteVariables step
2019-11-11 11:12:11 +01:00
Sven Merk b590e57d16 Merge pull request #965 from SAP/fix-for-nexus-stage-step
Fix docu generation for nexus stage step
2019-11-11 11:02:27 +01:00
Sven Merk 4e9fef433a Update createDocu.groovy 2019-11-11 10:44:03 +01:00
Sven Merk 27b5545ab6 Merge pull request #962 from SAP/karma-fix-metadata
Fix karma metadata
2019-11-08 11:58:17 +01:00
Sven Merk 4fb5f63cfd Merge branch 'master' into karma-fix-metadata 2019-11-08 11:30:43 +01:00
Sven Merk ee57a1e79d Merge pull request #947 from SAP/goGithub
Add githubPublishRelease step
2019-11-06 12:33:05 +01:00
Sven Merk 7205dbcdec Merge pull request #945 from SAP/cfg-hierarchical-defaults
Add capability for hierarchical defaults in golang
2019-11-06 12:20:33 +01:00
Sven Merk 6721c59a30 Merge branch 'master' into cfg-hierarchical-defaults 2019-11-06 12:13:15 +01:00
Sven Merk 47af81b902 Merge branch 'master' into cfg-hierarchical-defaults 2019-11-05 16:32:47 +01:00
Sven Merk 0ba9baab6a Merge branch 'master' into cfg-hierarchical-defaults 2019-11-04 16:31:02 +01:00
Sven Merk 0f3436d1a5 sonarExecuteScan: avoid working directory being deleted before scan detection ends (#882) 2019-10-28 13:01:51 +01:00
Sven Merk bb59e68df3 sonarExecuteScan: Fix links in documentation (#883)
* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.groovy

* Update vars/sonarExecuteScan.groovy

* Update vars/sonarExecuteScan.groovy
2019-10-28 12:55:27 +01:00
Sven Merk 1c5df085d5 Merge pull request #918 from SAP/disable-return-check
Disable return statement maintainability check
2019-10-25 09:06:06 +02:00
Sven Merk 763496d8fb Merge branch 'master' into disable-return-check 2019-10-25 08:46:18 +02:00
Sven Merk f92bd31114 Merge pull request #917 from SAP/fix-non-serializable
Exchange non serializable template engine with GStringTemplateEngine
2019-10-23 17:38:04 +02:00
Sven Merk 4e6104ebb4 Disable return statement maintainability check 2019-10-23 14:56:29 +02:00
Sven Merk a16ca05669 Merge branch 'master' into fix-non-serializable 2019-10-23 14:34:06 +02:00
Sven Merk c85b9fa67d Merge pull request #904 from SAP/ws-logs-cp
whitesourceExecuteScan: Transfer logs into workspace to allow archiving
2019-10-18 09:13:12 +02:00
Sven Merk 5bf5a6013c Update whitesourceExecuteScan.groovy 2019-10-17 15:24:09 +02:00
Sven Merk 3d1da388c8 Update whitesourceExecuteScan.groovy 2019-10-16 14:58:54 +02:00
Sven Merk cf64a0d098 whitesourceExecuteScan: Transfer logs into workspace to allow archiving 2019-10-16 13:49:47 +02:00
Sven Merk 489e089ebc Merge pull request #903 from SAP/ws-logs-archiving
whitesourceExecuteScan: Fix path for archiving UA logs
2019-10-16 11:46:25 +02:00
Sven Merk 492bfd5637 Merge pull request #900 from SAP/ws-logs
whitesourceExecuteScan: Add archiving of new UA log files
2019-10-15 16:11:17 +02:00
Sven Merk cf231d7353 Merge branch 'master' into ws-logs 2019-10-15 15:36:31 +02:00
Sven Merk 43dd966887 Merge pull request #902 from SAP/fwilhe-patch-2
Use openjdk8 in travis build
2019-10-15 14:50:52 +02:00
Sven Merk 37ec5d4a1f Merge pull request #876 from SAP/mail-culprits
mailSendNotification: Avoid full merge trace being added to culprits
2019-09-17 14:35:08 +02:00
Sven Merk edc396c0cb Merge pull request #814 from SAP/nevskrem-patch-1
Fix docu script to avoid withMandatoryPropertyUponCondition being picked
2019-07-31 13:29:51 +02:00
Sven Merk 136ffa8204 Update createDocu.groovy 2019-07-31 12:51:55 +02:00
Sven Merk 4f8c74f536 Merge pull request #812 from SAP/nevskrem-docs
Improve error verbosity for docu generation
2019-07-30 14:27:48 +02:00
Sven Merk bf869515c4 Merge pull request #776 from andre2007/whitesourceExecuteScan
whitesourceExecuteScan: Add scanType dub
2019-07-19 14:53:59 +02:00
Sven Merk b1b480a7e1 Merge branch 'master' into whitesourceExecuteScan 2019-07-19 14:28:26 +02:00
Sven Merk a5170bb878 Merge branch 'master' into whitesourceExecuteScan 2019-07-18 09:50:38 +02:00
Sven Merk 7fbf7ffdf1 Merge branch 'master' into whitesourceExecuteScan 2019-07-17 10:56:47 +02:00
Sven Merk 1d5b08f057 Update default_pipeline_environment.yml 2019-07-17 09:25:30 +02:00
Sven Merk 2d84095b2f Update WhitesourceExecuteScanTest.groovy 2019-07-11 11:33:34 +02:00
Sven Merk a945823075 Merge branch 'master' into whitesourceExecuteScan 2019-07-11 10:56:47 +02:00
Sven Merk b0eb9a7a6c Merge pull request #783 from SAP/nevskrem-patch-1
Change WhiteSource UA download URL to new official channel
2019-07-11 10:55:13 +02:00
Sven Merk 353cfa6fca Update WhitesourceExecuteScanTest.groovy 2019-07-10 15:32:01 +02:00
Sven Merk faed64bca9 Merge branch 'master' into nevskrem-patch-1 2019-07-10 11:41:25 +02:00
Sven Merk e3b5586a9c Merge pull request #785 from SAP/nevskrem-patch-2
Fix consumer test invocation
2019-07-10 11:34:23 +02:00
Sven Merk da0c6260b8 Fix consumer test invocation 2019-07-10 11:23:24 +02:00
Sven Merk cdc5d3dc7a Update default_pipeline_environment.yml 2019-07-09 13:38:30 +02:00
Sven Merk 6d94fb652e Adapt test 2019-07-09 12:16:41 +02:00
Sven Merk 215824b05f Update default_pipeline_environment.yml 2019-07-09 12:13:28 +02:00
Sven Merk 06e546917d Merge pull request #777 from SAP/nonSerializableException
Use GStringTemplateEngine instead of SimpleTemplateEngine
2019-07-03 15:23:54 +02:00
Sven Merk 3afc64ce16 Merge pull request #740 from SAP/nevskrem-patch-1
Add missing compatibility for productVersion
2019-06-06 13:03:39 +02:00
Sven Merk 21e0e16bf3 Merge branch 'master' into nevskrem-patch-1 2019-06-06 12:00:38 +02:00
Sven Merk 0f12bc8000 Add missing compatibility for productVersion 2019-06-04 12:00:22 +02:00
Sven Merk 111080cbfe Add new step for Dockerfile linting (#723)
* Add new step for Dockerfile linting

* Add documentation template file

* Remove newlines

* Remove internal URL

* Rephrase comment

* Ammend stash

* Fix test

* move dockerImage to general

* use explicit curl options

* small changes

* small changes

* skip GIT blame

* First comments

* Also add remark to URL parameter

* Second set of comments

* Fix return code handling

* Switch type to set

* Revert unrelated changes

* Avoid modification of config

* add quality gate defaults

* Update hadolintExecute.groovy

* fix code climate issue
2019-06-04 08:01:43 +02:00
Sven Merk e7c9b877b0 Merge pull request #707 from SAP/fortify-PR
Compatibility to Piper PR support
2019-05-16 09:32:47 +02:00
Sven Merk 23439e3df3 Merge branch 'master' into fortify-PR 2019-05-15 20:56:19 +02:00
Sven Merk 14bdac6b85 Merge branch 'master' into fortify-PR 2019-05-15 20:23:46 +02:00
Sven Merk 94e72898b1 whitesourceExecuteScan: Fix suffix collision for MTA scenario (#689)
* Apply fix for stash name collision
* Adapt tests
2019-05-03 17:33:52 +02:00
Sven Merk e3cb31da04 Merge pull request #548 from SAP/whitesource-step
whitesourceExecuteScan: Introduce new step for OSS vulnerability scanning
2019-04-04 22:54:17 +02:00
Sven Merk 2ad3483233 Merge branch 'master' into whitesource-step 2019-04-04 22:19:16 +02:00
Sven Merk 259619f00f Merge branch 'master' into whitesource-step 2019-04-04 16:06:51 +02:00
Sven Merk dfa47ac4c7 Merge branch 'master' into whitesource-step 2019-04-03 22:18:39 +02:00
Sven Merk 1fe05b8a56 Merge branch 'master' into whitesource-step 2019-04-03 12:19:34 +02:00
Sven Merk aaf969e0cf Merge branch 'master' into whitesource-step 2019-03-29 11:01:15 +01:00
Sven Merk 069d2d69f9 Merge branch 'master' into whitesource-step 2019-03-29 09:01:09 +01:00
Sven Merk 452158256c Merge branch 'master' into whitesource-step 2019-03-28 16:59:14 +01:00
Sven Merk da549bc2e6 Merge branch 'master' into whitesource-step 2019-03-27 14:36:37 +01:00
Sven Merk f1c3311b3d Merge branch 'master' into whitesource-step 2019-03-27 12:06:26 +01:00
Sven Merk ae083f5aa7 Merge branch 'master' into whitesource-step 2019-03-27 09:32:05 +01:00
Sven Merk 991dd5ec51 Merge branch 'master' into whitesource-step 2019-03-22 11:58:01 +01:00
Sven Merk bb31060dad Merge branch 'master' into whitesource-step 2019-03-15 13:16:29 +01:00
Sven Merk f2c7265986 Merge branch 'master' into whitesource-step 2019-03-13 12:13:16 +01:00