Oliver Nocon
bad3331597
doc: fix rendering of stage overview ( #3371 )
2021-12-17 08:45:21 +01:00
Oliver Nocon
b1eeca54ff
fix(commonPipelineEnvironment): add missing gitHttpsUrl ( #3370 )
2021-12-15 17:34:45 +01:00
Oliver Nocon
cf8dad1edd
doc: fix generation of empty stages ( #3354 )
2021-12-13 13:05:07 +01:00
Oliver Nocon
cddbdf2ce2
doc: improve stage documentation ( #3343 )
...
* remove unnecessary sections in case stage does not contain steps (e.g. confirm stage)
* improve readibiliy of condition section
* fix naming
2021-12-13 11:35:41 +01:00
Oliver Nocon and Christopher Fenner
9a78fabc89
feat(golangBuild): add new step for building go ( #3178 )
...
* feat(golangBuild): add new step for building go
* chore(golangBuild): increase test coverage
* remove indirect dependencies
* cleanup go.sum
* chore: remove trailing spaces
* chore(golangBuild): cleanup params, add groovy wrapper
* fix: update docker options
* update docs
* update installation according to https://golang.org/doc/go-get-install-deprecation
* fix: update installation
* update groovy test exclusion
* Update vars/golangBuild.groovy
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
* update branch
* address PR feedback
* fix compilation error
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-12-06 16:17:59 +01:00
Oliver Nocon
24d8584c3f
chore: update Vault dependency ( #3332 )
2021-12-06 12:54:42 +01:00
Oliver Nocon
a76b9d563d
feat(kubernetesDeploy): consume credentials from environment ( #3129 )
...
* feat(kubernetesDeploy): consume credentials from environment
* update vault
* update handling of docker config.json
* chore: remove comments
2021-12-02 12:18:21 +01:00
Oliver Nocon
533b77a0be
chore: remove outdated info from doc ( #3289 )
2021-11-18 08:11:56 +01:00
Oliver Nocon
6c5434f957
feat(checkIfStepActive): support new CRD style conditions ( #3254 )
...
* feat: first parts of new run struct
* add parts for new stage condition handling
* update conditions
* feat: finalize conditions and tests
* feat(checkIfStepActive): support new CRD style conditions
* feat(docs): allow generating stage docs
* chore(docs): make step directory configurable
* fix: tests
* add option to output file
* Update checkIfStepActive_test.go
2021-11-18 07:24:00 +01:00
Oliver Nocon
0a51561d2c
chore(kaniko): update to latest image ( #3280 )
...
* chore(kaniko): update to latest image
* update yaml
2021-11-17 07:49:14 +01:00
Oliver Nocon and Thorsten Duda
7be9b2b038
chore(mbt): update mbt image ( #3186 )
...
image `mbtci` has been deprecated and is no longer maintained.
As per: https://hub.docker.com/r/devxci/mbtci
Co-authored-by: Thorsten Duda <thorsten.duda@sap.com >
2021-11-15 14:04:16 +01:00
Oliver Nocon
f431054b6f
feat(WhiteSource): consume credentials from cpe ( #3206 )
...
* feat: func for Docker config.json
Provide re-use function to create/update Docker conifg.json
* add comment
* update WhiteSource step
* fixes and additional tests
2021-11-15 07:48:40 +01:00
Oliver Nocon
b4d314215e
chore(cloudFoundryDeploy): remove deprecated groovy-based part ( #3242 )
...
* chore(cloudFoundryDeploy): remove deprecated groovy-based part
* chore: update test due to different step logic
* chore: update documentation
* fix yaml issue
2021-11-09 07:44:31 +01:00
Oliver Nocon and Christopher Fenner
31cd2df1bd
chore(docker): add re-use functionality for config.json ( #3244 )
...
* feat: func for Docker config.json
Provide re-use function to create/update Docker conifg.json
* add comment
* update WhiteSource step
* fixes and additional tests
* Delete whitesourceExecuteScan.go
* revert whitersource changes
* chore: update formatting
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-11-04 10:19:33 +01:00
Oliver Nocon
be81da225e
feat(getConfig): allow file output ( #3194 )
...
allow to target the output of a `getConfig` call to a file
2021-10-21 14:00:51 +02:00
Oliver Nocon
6eba3e9e4f
fix(vault): correct Vault references ( #3173 )
...
* fix(vaultRotateSecretId): correct Vault reference
* fix(vault): correct vault refernces
* update Vault secret name
* change name of parameter pointing to secret
2021-10-13 16:28:51 +02:00
Oliver Nocon
db6b465ff1
chore(doc): conditionally mandatory parameters ( #3172 )
...
enhance documentation generation to properly reflect
parameters which are conditionally mandatory.
2021-10-12 12:49:38 +02:00
Oliver Nocon
ba694b6737
fix(doc) proper tab creation for step docs ( #3169 )
2021-10-11 16:51:54 +02:00
Oliver Nocon
60a114d738
chore(docs): improve step documentation ( #3162 )
...
* chore(docs): improve step documentation
* chore: fix test
* chore: add note box
* use latest mkdocs imgage
* add extensions and fix config
2021-10-11 15:22:24 +02:00
Oliver Nocon
817901c2e3
fix(detectEcecuteScan) remove possible values for multi-value fields ( #3144 )
...
Looks like validation introduced with PR #3125 has issues with
validation of possible values for multi-value parameters.
This is a workaround to remove the list of possible values for some parameters
and prevent the issue from happening
2021-10-04 08:22:46 +02:00
c23088f7b3
Add GitHub Action to clean up stale issues and PRs ( #2034 )
...
* Add GitHub Action to clean up stale issues and PRs
* Update config.yml
* Update stale.yaml
* update messages
* Update stale.yaml
* update text and closing timeout
* Update stale.yaml
* Update stale.yaml
* Update stale.yaml
* Update .github/workflows/stale.yaml
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com >
* Update .github/workflows/stale.yaml
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com >
* Update .github/workflows/stale.yaml
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com >
* Update .github/workflows/stale.yaml
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com >
* fix string syntax
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com >
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com >
2021-10-01 14:45:23 +02:00
Oliver Nocon
37cea1b998
chore(docker): do not swallow error ( #3056 )
2021-08-17 15:52:18 +02:00
Oliver Nocon
5096b3bfe1
fix(checkIfStepActive): respect explicit (de-)activation ( #3055 )
2021-08-17 11:20:04 +02:00
Oliver Nocon
481f0a1282
fix(getConfig): custom metadata ( #3047 )
...
* fix(getConfig): custom metadata
when re-using getConfig it is now possible to provide a custom metadata resolver
* clean up coding
2021-08-12 14:54:46 +02:00
Oliver Nocon and Sven Merk
97b84429f1
feat(Vault): custom prefix for test credentials ( #3043 )
...
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-08-11 16:20:08 +02:00
Oliver Nocon
f308fbfc0d
feat(getConfig) allow reading stage configuration ( #3026 )
...
* feat(getConfig) allow reading stage configuration
* update test
* use fix version of Selenium Image for Karma tests
2021-08-04 10:09:02 +02:00
Oliver Nocon
6f32b437be
fix(dockerOptions) allow proper usage of empty values ( #3025 )
...
This follows up on #3024
Setting emptyValue to s.th. like `--entrypoint=''` will break in case the argument is properly escaped.
Docker will return with
`container process caused: exec: "''": executable file not found in $PATH`
2021-08-02 14:57:37 +02:00
Oliver Nocon and Sven Merk
f455a8a4a0
fix(dockerOptions) properly pass empty values ( #3024 )
...
it is possible to overwrite the entrypoint for docker execution:
https://docs.docker.com/engine/reference/run/#entrypoint-default-command-to-execute-at-runtime
This is ideally done by passing `entrypoint=''` and not pass two options to the call.
This also helps with escaping issues of the empty value on other systems.
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-08-02 10:21:14 +02:00
Oliver Nocon and Sven Merk
6d2bc023b0
Create missing documentation for step gitopsUpdateDeployment ( #3003 )
...
* Create gitopsUpdateDeployment.md
* Update mkdocs.yml
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-07-30 12:45:14 +02:00
cf39f37d9a
feat(detectExecuteScan): generate ip result json ( #2945 )
...
* feat(detectExecuteScan): generate ip result json
json will currently only be created in success cases.
No information about policy violation details available in the step yet.
* update report name
* Update cmd/detectExecuteScan.go
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
* Update cmd/detectExecuteScan.go
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
* Update cmd/detectExecuteScan_test.go
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
* Update cmd/detectExecuteScan_test.go
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
2021-07-23 09:36:16 +02:00
Oliver Nocon and Christopher Fenner
d04d533604
chore(pipelineCreateScanSummary): update issue text ( #2999 )
...
* chore(pipelineCreateScanSummary): update issue text
* Update cmd/pipelineCreateScanSummary.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-07-20 16:38:11 +02:00
Oliver Nocon
8458dd6afa
chore: export GitHub token unmarshalling ( #2988 )
2021-07-16 08:59:53 +02:00
Oliver Nocon
805a8fd88f
feat(config): read config/defaults with authentication ( #2975 )
...
* feat(config):read config/defaults with authentication
This change allows to use defaults and config files from a protected GitHub repository.
The options `--customConfig` and `--defaultConfig` already allowed to provide a link to an uprotected file.
Now, by passing a value in the form `<hostname>:<token>` to parameter `gitHubTokens` (this parameter can be passed multiple times) a token can be provided for dedicated hosts.
This makes it possible to use a link like
`https://api.github.com/repos/SAP/jenkins-library/contents/resources/my-defaults.yml?ref=master `
as reference to a default file or similarly as reference to a configuration file.
* update generation to allow protected config/defaults
* fix CodeClimate issues
* update missing generations
2021-07-08 15:26:07 +02:00
Oliver Nocon
8883a5148c
feat(mavenBuild): accept build profiles ( #2921 )
2021-06-18 11:57:00 +02:00
Oliver Nocon
d6b7a0f566
fix(commonPipelineEnvironment): StackOverflowError ( #2917 )
...
* chore(cpe): add debug messages and catch error
* fix catch
* fix variable declaration
* fix type name
* check for instanceof JSONNull
* check for net.sf.json.JSONNull
* fix formatting
* fix StackOverflow exception
* Update vars/writePipelineEnv.groovy
2021-06-17 15:42:39 +02:00
188e409a87
feat(protecodeExecuteScan): allow scanning a binary ( #2889 )
...
* feat(protecodeExecuteScan): allow scanning a binary
so far the step only accepts a Docker image or a FetchURL
This adds functionality to also pass a FilePath
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Fix fmt
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
Co-authored-by: Sven Merk <s.merk@sap.com >
2021-06-17 09:40:21 +02:00
Oliver Nocon and Sven Merk
78d7c4c71a
fix(githubCreateIssue): prevent panic for Github error ( #2914 )
...
In case the Github connection leads to an error it can happen that a nil pointer dereference exception can occur.
This is to fix this.
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-06-16 22:31:01 +02:00
0b48bfcc73
feat: retrieve metadata by stepName - corrected ( #2892 )
...
* refactored getConfig to allow stepName param for metadata fetching
* extended step generator
* go generate
* Update cmd/getConfig.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
* Update cmd/getConfig.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
* Update cmd/getConfig.go
* update generated files
* update golden files to care for generator update
* update and add tests
* update generated files
* Update cmd/getConfig.go
* Update cmd/getConfig.go
* update/fix formatting
* feat: retrieve metadata by stepName - corrected
* update generation
* update condition logic for defaults
* update generation & tests
* support multiple conditions
* update generation
* Add generated
Co-authored-by: Leander Schulz <leander.schulz01@sap.com >
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
Co-authored-by: Sven Merk <s.merk@sap.com >
2021-06-16 08:43:30 +02:00
Oliver Nocon
4250ca8bed
Revert "feat(getConfig): retrieve metadata by stepName ( #2736 )" ( #2891 )
...
This reverts commit ae4a24c594 .
2021-06-14 10:57:44 +02:00
Oliver Nocon
bcb76eff06
fix(windows build): fix golang.org/x/sys ( #2887 )
...
* chore: release binaries for darwin and win
* fix(windows build): fix golang.org/x/sys
This is necessary doe to a dependency of github.com/hashicorp/vault to docker@v17.12 .0-ce-rc1.0.20200309214505-aa6a9891b09c+incompatible\pkg\system\filesys_windows.go
This creates a build error.
Further information can be found here:
https://github.com/golang/go/issues/34610
* Update .github/workflows/upload-go-master.yml
* update go.sum
2021-06-10 16:50:17 +02:00
Oliver Nocon and Christopher Fenner
06e67db5e3
chore: release binaries for darwin and win ( #2883 )
...
* chore: release binaries for darwin and win
* Apply suggestions from code review
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-06-10 12:39:23 +02:00
Oliver Nocon
d8a8a73184
feat(commonPipelineEnvironment): add artifact coordinates ( #2867 )
...
* add coordinates to CPE
* revert go.mod changes
2021-06-02 15:41:05 +02:00
Oliver Nocon
c088e623aa
feat(pipelineCreateSummary): enhance content with reference link ( #2837 )
...
* feat(pipelineCreateSummary): enhance content with reference link
* Update cmd/pipelineCreateScanSummary.go
* Update cmd/pipelineCreateScanSummary.go
2021-05-19 07:57:44 +02:00
Oliver Nocon
4b666003c8
feat(reporting) update markdown reports ( #2819 )
2021-05-11 08:01:02 +02:00
Oliver Nocon
5899746767
chore: update error categories ( #2827 )
2021-05-10 17:44:28 +02:00
Oliver Nocon
b9cd425091
fix(whitesource) proper error message when tokens are not found ( #2786 )
2021-04-23 11:33:10 +02:00
Oliver Nocon
d04a7c2eb3
feat(pipelineCreateScanSummary) Create groovy wrapper ( #2743 )
...
* feat(pipelineCreateScanSummary) Create groovy wrapper
* add command to binary
* stash step reports
* update stash
* fix typo
* unstash reports first
* update reporting
* update json reporting
* update tests & enhance logging
* update md report
* update md reporting
* fix rendering
* update tests
2021-04-15 07:45:06 +02:00
Oliver Nocon and Sven Merk
0696f64ecd
feat(whitesourceExecuteScan) allow custom maven arguments ( #2735 )
...
* feat(whitesourceExecuteScan) allow custom maven arguments
* remove comment
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-04-01 14:17:15 +02:00
Oliver Nocon
d59864530a
feat(kaniko) allow Docker config to be passed via cpe ( #2734 )
...
* feat(kaniko) allow Docker config to be passed via cpe
* update generated files
2021-04-01 09:47:24 +02:00
Oliver Nocon
24cb3c92e1
fix(config): consider defaults with higher prio than env ( #2725 )
...
* fix(config): properly handle empty values from cpe
* fix(config): consider defaults with higher prio than env
2021-03-29 10:40:04 +02:00
Oliver Nocon and Sven Merk
c038a3b08a
fix(whitesourceExecuteScan) properly pass verbose setting ( #2713 )
...
* fix(whitesourceExecuteScan) properly pass verbose setting
* check within piper binary
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-03-23 12:06:23 +01:00
Oliver Nocon
2b11c09a8c
feat(githubCreateIssue): allow content via file ( #2557 )
2021-03-19 13:04:30 +01:00
Oliver Nocon
9b6a8cb3b6
feat(whitesource): create json report ( #2699 )
...
* feat(withesource): create json report
* proper constant value
* update generation
2021-03-19 11:10:08 +01:00
Oliver Nocon and Christopher Fenner
2048c00d2c
whitesource: use only Unified Agent for scanning ( #2707 )
...
don't use native build-tool specific plugins any longer.
They have been deprecated by WhiteSource mid 2019 already.
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-03-19 09:58:24 +01:00
Oliver Nocon
d769fb5148
fix(config): properly handle empty values from cpe ( #2682 )
2021-03-09 09:30:18 +01:00
Oliver Nocon
c077cdd733
fix(whitesourceExecuteScan) get full list of projects ( #2672 )
...
* fix(whitesourceExecuteScan) get full list of projects
* update doc
2021-03-08 17:01:18 +01:00
Oliver Nocon and Sven Merk
4f9eff2303
fix(whitesourceExecuteScan) npm modules only ( #2670 )
...
do not fail step in case mta contains only node modules.
No pom.xml required then.
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-03-04 10:38:57 +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
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 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
Oliver Nocon and Sven Merk
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
Oliver Nocon
a104b2a06d
feat(whitesourceExecuteScan): UA for all build tools, e.g. maven & npm ( #2501 )
...
* feat(whitesource): add config helper
this helps to ease & enforce config settings
* fix accidential change of class
* add todos wrt java download
* use existing scanOptions, add option to download jre
* update generation
* fix generation
* allow running UA via go library
* correct image, improve logging
* add removal of downloaded JVM
* update java creation and deletion
* refactor and add log output
* remove obsolete ToDo
* increase test coverage
* increase test coverage
* adding aliases and tests
* make go modules as default
* maven: update behavior of projectNaming
* add Docker capabilities
* correct parameter name
* retrieve Docker coordinates
* docker coordinates only to provide artifact
* add ToDos
* add mta capability
* add aliases, mvn arguments for settings
* clean up groovy part
* update defaults
* add container for pip
* add defaults, add maven specifics, ...
* properly download settings
* maven: check existence of excluded files
* fix reporting
* Update CommonStepsTest.groovy
* update comment
* fix CodeClimate finding
* add tests for pip & fix minor issues
* fix order of pip build descriptors
* update pip container options
* fix pip virtualEnv parameter
* update report permissions
* fix test
* update container options
* add use fileUtils to load properties file
* update parameter description
* adding Docker scanning defaults
* clean up configHelper
* consider also npm tool cache
* add todos
2021-02-03 14:52:48 +01:00
Oliver Nocon
b7754437b3
new step to create a scan summary report ( #2559 )
...
* new step to create a scan summary report
* add flag to collect only failed reports
* add stepName to report
2021-02-02 14:36:40 +01:00
Oliver Nocon
44788f1d3a
fix(config): properly read non-string parameters from environment ( #2549 )
2021-01-28 11:09:43 +01:00
Oliver Nocon
7bdbed3d65
feat: provide reporting re-use package ( #2536 )
...
* initial version of reporting
* added tests
* Update reporting.go
2021-01-25 11:09:03 +01:00
006aaab50d
fix(handlePipelineStepError): correct handling of failed steps ( #2498 )
...
* WIP: debug incorrect error message
* Update piperExecuteBin.groovy
* Update piperExecuteBin.groovy
* Update handlePipelineStepErrors.groovy
* Update piperExecuteBin.groovy
* Update handlePipelineStepErrors.groovy
* Update piperExecuteBin.groovy
* Update piperExecuteBin.groovy
* Update piperExecuteBin.groovy
* Update piperExecuteBin.groovy
* Update handlePipelineStepErrors.groovy
* Update handlePipelineStepErrors.groovy
* Update commonPipelineEnvironment.groovy
* Update piperExecuteBin.groovy
* Update handlePipelineStepErrors.groovy
* Update handlePipelineStepErrors.groovy
* Update handlePipelineStepErrors.groovy
* Update handlePipelineStepErrors.groovy
* Update handlePipelineStepErrors.groovy
* Update piperExecuteBin.groovy
* Update piperExecuteBin.groovy
* Update piperExecuteBin.groovy
* Update commonPipelineEnvironment.groovy
* Update handlePipelineStepErrors.groovy
* Update handlePipelineStepErrors.groovy
* Update piperExecuteBin.groovy
* Update vars/piperExecuteBin.groovy
* Update vars/handlePipelineStepErrors.groovy
* Update handlePipelineStepErrors.groovy
* Apply suggestions from code review
* correct test case
* change test case
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
Co-authored-by: Christopher Fenner <Christopher.Fenner@sap.com >
2021-01-11 10:49:33 +01:00
Oliver Nocon
ab3362849a
feat(kubernetesDeploy): allow disabling --force ( #2495 )
...
fixes #1731
2021-01-07 16:52:16 +01:00
Oliver Nocon
5f5450449e
fix(piperExecuteBin): define variable ( #2497 )
2021-01-07 12:24:48 +01:00
Oliver Nocon
59f32cf042
feature(vault) retrieve github token from Vault ( #2484 )
2020-12-22 17:57:11 +01:00
Oliver Nocon
4bd155d1ed
feature(protecodeExecuteScan) proper Vault support ( #2483 )
2020-12-22 17:43:57 +01:00
Oliver Nocon and Sven Merk
7de42230e0
add step to create a GitHub issue ( #2481 )
...
* add step to create a GirHub issue
* add groovy library step
* Update githubcreateissue.yaml
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2020-12-21 17:13:16 +01:00
Oliver Nocon and Sven Merk
cf7ca8f791
add step to create a GitHub comment ( #2479 )
...
* add step to create a GitHub comment
* add docs
* mandatory parameters
* add command
* Update githubCommentIssue.go
* add groovy library step
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2020-12-21 16:21:07 +01:00
Oliver Nocon
51c63c9da1
update icon and favicon ( #2347 )
2020-11-11 13:51:54 +01:00
Oliver Nocon
a70933bbd4
fortifyExecuteScan: improve error categorization ( #2295 )
...
* fortifyExecuteScan: improve error categorization
* reset error category in success case
2020-11-11 13:04:45 +01:00
Oliver Nocon
bdf4e8da7d
versioning: gradle ( #2319 )
...
* versioning: add gradle
* complete initGetArtifact
* correct error message
* improve init handling
2020-11-06 09:20:08 +01:00
Oliver Nocon
edd5ef7709
fix(descriptorUtils) improve error message ( #2294 )
2020-11-02 13:50:04 +01:00
Oliver Nocon
9725b2a9d7
fix(permissions) allow deletion of errors file ( #2293 )
2020-11-02 12:34:28 +01:00
Oliver Nocon and Stephan Aßmus
26cfbf7357
fix(whitesourceExecuteScan) properly handle output resources ( #2266 )
...
* fix(whitesourceExecuteScan) properly handle output resources
* fix merge issues
* add required aliases
* update generation
* fix reading custom and container environment parameters from cpe
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
2020-11-02 08:51:58 +01:00
Oliver Nocon
690b27ed48
fix(config) conversion of small ints into string ( #2274 )
...
* fix(config) conversion of small ints into string
* beautify and improve comment
2020-10-30 08:01:30 +01:00
Oliver Nocon
a8c154d275
Update Fortify Documentation ( #2250 )
2020-10-27 16:55:31 +01:00
Oliver Nocon
e5f1f16738
fix(config) fail on incorrect conversions ( #2239 )
...
* fix(config) fail for incorrect conversions
* update error handling
* add comment
2020-10-27 15:14:00 +01:00
Oliver Nocon
d0f987c7b5
fortifyExecuteScan: increase timeout ( #2240 )
...
fixes #2183
2020-10-27 11:11:53 +01:00
Oliver Nocon
39089bed5d
kanikoExecute: improve user experience ( #2141 )
...
* kanikoExecute: improve user experience
* ensure proper tags
* update permissions
in case a container runs with a different user
we need to make sure that the orchestrator user
can work on the file
* update permissions
* ensure availablility of directories on Jenkins
* (fix) clean up tmp dir in test
* add resilience for incorrect step yaml
* incorporate PR feedback
2020-10-14 11:13:08 +02:00
Oliver Nocon
2e3cf7d97e
checkmarxExecuteScan: hide token in debug mode ( #2173 )
2020-10-13 15:45:30 +02:00
Oliver Nocon
4fe4f435d9
(fix) clean up tmp dir in test ( #2169 )
2020-10-13 11:19:01 +02:00
Oliver Nocon
e497b0050a
improve error categorization ( #2118 )
2020-10-05 17:46:44 +02:00
Oliver Nocon
0fb7ee5488
fix: Checkmarx project creation ( #2112 )
...
* fix : allow creation of Checkmarx projects
* checkmarx: fix project creation
* do not swallow error
* fix preset error handling
2020-10-05 08:16:18 +02:00
Oliver Nocon
9354697525
fix : allow creation of Checkmarx projects ( #2106 )
2020-10-01 17:08:07 +02:00
Oliver Nocon
911a88bd49
fortify: fix semver for pip ( #2104 )
2020-10-01 14:47:08 +02:00
b506235398
detect: add parameter aliases ( #2099 )
...
* align parameters for Detect
* include feedback
* update generation and formatting
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
Co-authored-by: Daniel Kurzynski <daniel.kurzynski@sap.com >
2020-10-01 13:34:51 +02:00
Oliver Nocon
19c1732826
Telemetry: report error category ( #2085 )
2020-09-29 13:49:40 +02:00
Oliver Nocon and Stephan Aßmus
15b3957137
checkmarxExecuteScan: update error handling ( #2084 )
...
* checkmarxExecuteScan: update error handling
* Update cmd/checkmarxExecuteScan.go
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
* include PR feedback
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
2020-09-29 09:23:31 +02:00
Oliver Nocon
4d9d2e78d8
Add / update Jenkins credential descriptions ( #2058 )
2020-09-23 13:22:51 +02:00
Oliver Nocon
c8b1ffd654
checkmarxExecuteScan: fix PR project identification ( #2055 )
2020-09-22 14:39:34 +02:00
Oliver Nocon
155a19147a
Fix error category for general config issue ( #2053 )
2020-09-22 07:49:34 +02:00
Oliver Nocon and Stephan Aßmus
940e9aa498
artifactPrepareVersion: fix error categorization ( #2047 )
...
* artifactPrepareVersion: fix error categorization
* Update artifactPrepareVersion.go
* Update artifactPrepareVersion.go
* Update cmd/artifactPrepareVersion.go
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
2020-09-21 14:51:02 +02:00
Oliver Nocon and Christopher Fenner
328ee34369
GitHub steps: convenience updates ( #2026 )
...
* GitHub steps: convenience updates
* update generated files
* Update cmd/githubCheckBranchProtection.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
* Update cmd/githubCheckBranchProtection.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
* Update cmd/githubCheckBranchProtection.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2020-09-15 17:50:55 +02:00
5856e35d50
Add step to set GitHub status ( #2012 )
...
* add step for GitHub branch protection check
* add command to piper command
* remove unnecessary parameter
* Update resources/metadata/githubbranchprotection.yaml
* Add step to set GitHub status
* add groovy part
* update generation & go mod tidy
* update groovy tests
* update github api to fix bug
* add comment
* go mod tidy
* update naming
* update docs
* update docs
* Update resources/metadata/githubstatus.yaml
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
* Update resources/metadata/githubstatus.yaml
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
* Update resources/metadata/githubstatus.yaml
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
* update generated files
* update GitHub step order
* Update interface usage
* do not export interfaces
* go mod tidy
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com >
2020-09-14 18:08:24 +02:00
Oliver Nocon and Sven Merk
eef3bcde60
Add step for GitHub branch protection check (2) ( #2016 )
...
* add step for GitHub branch protection check
* add command to piper command
* remove unnecessary parameter
* Update resources/metadata/githubbranchprotection.yaml
* add groovy part
* update generation & go mod tidy
* update groovy tests
* fix bug with go-github version
* Add step to check GitHub branch protection settings
* include PR review feedabck
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2020-09-14 12:05:12 +02:00
Oliver Nocon
d68e466c28
Revert "Add step for GitHub branch protection check ( #2010 )" ( #2014 )
...
This reverts commit f1cfca2e76 .
2020-09-11 18:56:51 +02:00