-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Jenkins and plugins versions report
Environment
Jenkins: 2.504.2
OS: Linux - 3.10.0-1160.119.1.el7.x86_64
Java: 17.0.10 - Eclipse Adoptium (OpenJDK 64-Bit Server VM)
---
active-directory:2.40
analysis-model-api:13.2.0
ansicolor:1.0.6
ant:513.vde9e7b_a_0da_0f
antisamy-markup-formatter:173.v680e3a_b_69ff3
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
apache-httpcomponents-client-5-api:5.5-150.veb_76e719855b_
asm-api:9.8-135.vb_2239d08ee90
audit-trail:395.vce180b_359a_b_5
authentication-tokens:1.131.v7199556c3004
authorize-project:2.0.0
blueocean:1.27.20
blueocean-autofavorite:1.2.5
blueocean-bitbucket-pipeline:1.27.20
blueocean-commons:1.27.20
blueocean-config:1.27.20
blueocean-core-js:1.27.20
blueocean-dashboard:1.27.20
blueocean-display-url:2.4.4
blueocean-events:1.27.20
blueocean-git-pipeline:1.27.20
blueocean-github-pipeline:1.27.20
blueocean-i18n:1.27.20
blueocean-jwt:1.27.20
blueocean-personalization:1.27.20
blueocean-pipeline-api-impl:1.27.20
blueocean-pipeline-editor:1.27.20
blueocean-pipeline-scm-api:1.27.20
blueocean-rest:1.27.20
blueocean-rest-impl:1.27.20
blueocean-web:1.27.20
bootstrap5-api:5.3.5-1
bouncycastle-api:2.30.1.80-261.v00c0e2618ec3
branch-api:2.1217.v43d8b_b_d8b_2c7
build-failure-analyzer:2.5.5
build-monitor-plugin:1.14-985.v7b_f37b_3d0b_f5
build-name-setter:2.5.0
build-pipeline-plugin:2.0.2
build-timeout:1.38
build-user-vars-plugin:195.v8c35f9d5c3dc
caffeine-api:3.2.0-166.v72a_6d74b_870f
checks-api:370.vb_61a_c57328f3
cloud-stats:377.vd8a_6c953e98e
cloudbees-bitbucket-branch-source:936.4.0
cloudbees-folder:6.1023.v4fcb_72152519
command-launcher:123.v37cfdc92ef67
commons-compress-api:1.27.1-3
commons-httpclient3-api:3.1-3
commons-lang3-api:3.17.0-87.v5cf526e63b_8b_
commons-text-api:1.13.1-176.v74d88f22034b_
conditional-buildstep:1.5.0
config-file-provider:988.v0461fcc2b_9d1
copyartifact:770.va_6c69e063442
coverage:2.6.0
credentials:1415.v831096eb_5534
credentials-binding:687.v619cb_15e923f
custom-folder-icon:2.21
dark-theme:524.vd675b_22b_30cb_
dashboard-view:2.528.v3470c02b_d7c9
data-tables-api:2.2.2-1
display-url-api:2.209.v582ed814ff2f
docker-commons:457.v0f62a_94f11a_3
docker-java-api:3.5.1-116.v2798d5ed4ce7
docker-plugin:1274.vc0203fdf2e74
docker-traceability:1.2
docker-workflow:621.va_73f881d9232
durable-task:587.v84b_877235b_45
echarts-api:5.6.0-4
eddsa-api:0.3.0.1-19.vc432d923e5ee
email-ext:1876.v28d8d38315b_d
emailext-template:233.v1eb_88fc160b_5
embeddable-build-status:548.v5653c6e28c41
emoji-symbols-api:16.0-26.v9818ff7423f0
envinject:2.926.v69c9b_3896a_96
envinject-api:1.235.va_14c74f8f487
external-monitor-job:223.vb_fddcf42c9b_3
favorite:2.237.v79163ca_8b_892
flatpickr-api:4.6.13-18.vcf5f6a_5b_8468
font-awesome-api:6.7.2-1
forensics-api:3.1.0
fortify:23.1.40
git:5.7.0
git-client:6.1.3
git-forensics:3.2.0
git-parameter:439.vb_0e46ca_14534
git-server:137.ve0060b_432302
gitea:250.v76a_0b_d4fef5b_
gitea-checks:551.vd306d7ca_b_18f
github:1.43.0
github-api:1.321-488.v9b_c0da_9533f8
github-branch-source:1822.v9eec8e5e69e3
global-build-stats:322.v22f4db_18e2dd
gradle:2.15
gson-api:2.13.1-139.v4569c2ef303f
h2-api:11.1.4.199-36.vb_ee07e965744
handy-uri-templates-2-api:2.1.8-36.v85e4cb_234a_13
htmlpublisher:425
http_request:1.20
ignore-committer-strategy:37.v0d3157c4a_ef8
image-tag-parameter:2.0
instance-identity:203.v15e81a_1b_7a_38
ionicons-api:88.va_4187cb_eddf1
jackson2-api:2.19.0-404.vb_b_0fd2fea_e10
jacoco:3.3.7
jakarta-activation-api:2.1.3-2
jakarta-mail-api:2.1.3-2
javadoc:327.vdfe586651ee0
javax-activation-api:1.2.0-8
javax-mail-api:1.6.2-11
jaxb:2.3.9-133.vb_ec76a_73f706
jdk-tool:83.v417146707a_3d
jenkins-design-language:1.27.20
jersey2-api:2.45-154.v4ded3dc34f81
jjwt-api:0.11.5-120.v0268cf544b_89
jnr-posix-api:3.1.20-138.vdb_9db_a_39182f
joda-time-api:2.14.0-127.v7d9da_295a_d51
jquery:1.12.4-3
jquery3-api:3.7.1-3
jsch:0.2.16-95.v3eecb_55fa_b_78
json-api:20250517-153.vc8a_a_d87c0ce3
json-path-api:2.9.0-148.v22a_7ffe323ce
jsoup:1.20.1-46.ve5f1416988c2
junit:1335.v6b_a_a_e18534e1
ldap:780.vcb_33c9a_e4332
lockable-resources:1349.v8b_ccb_c5487f7
login-theme:262.vb_4ce39d5279f
mailer:489.vd4b_25144138f
mapdb-api:1.0.9-44.va_1e1310c9118
markdown-formatter:235.v2b_16f8e14918
material-theme:0.5.2-rc100.6121925fe229
matrix-auth:3.2.6
matrix-project:849.v0cd64ed7e531
maven-plugin:3.26
mercurial:1309.v6802b_f0efb_b_9
metrics:4.2.32-476.v5042e1c1edd7
mina-sshd-api-common:2.15.0-161.vb_200831a_c15b_
mina-sshd-api-core:2.15.0-161.vb_200831a_c15b_
nexus-artifact-uploader:2.14
nexus-jenkins-plugin:3.24.0-01
nomad:0.10.0
okhttp-api:4.11.0-189.v976fa_d3379d6
oss-symbols-api:324.v432cce4172ca_
pam-auth:1.12
parameterized-trigger:859.vb_e3907a_07a_16
pipeline-build-step:567.vea_ce550ece97
pipeline-github-lib:65.v203688e7727e
pipeline-graph-analysis:241.vc3d48fb_b_2582
pipeline-groovy-lib:752.vdddedf804e72
pipeline-input-step:527.vd61b_1d3c5078
pipeline-maven:1530.v625a_45ca_0fdd
pipeline-maven-api:1530.v625a_45ca_0fdd
pipeline-milestone-step:138.v78ca_76831a_43
pipeline-model-api:2.2255.v56a_15e805f12
pipeline-model-definition:2.2255.v56a_15e805f12
pipeline-model-extensions:2.2255.v56a_15e805f12
pipeline-rest-api:2.38
pipeline-stage-step:322.vecffa_99f371c
pipeline-stage-tags-metadata:2.2255.v56a_15e805f12
pipeline-stage-view:2.38
pipeline-utility-steps:2.19.0
plain-credentials:195.vb_906e9073dee
plugin-usage-plugin:4.10
plugin-util-api:6.1.0
prism-api:1.30.0-1
publish-over:0.22
publish-over-ssh:387.vec3df0f668cd
pubsub-light:1.19
rebuild:338.va_0a_b_50e29397
resource-disposer:0.25
role-strategy:777.v4fe2599cb_f48
run-condition:243.v3c3f94e46a_8b_
scm-api:704.v3ce5c542825a_
scoring-load-balancer:183.v3377a_8d2ca_31
script-security:1373.vb_b_4a_a_c26fa_00
simple-theme-plugin:211.v5424a_5510e47
snakeyaml-api:2.3-125.v4d77857a_b_402
solarized-theme:26.v60ddb_6225546
sonar:2.18
sse-gateway:1.28
ssh-credentials:355.v9b_e5b_cde5003
ssh-slaves:3.1031.v72c6b_883b_869
sshd:3.353.v2b_d33c46e970
structs:350.v3b_30f09f2363
subversion:1287.vd2d507146906
svn-tag:1.18
theme-manager:294.vf2c2fd783821
thinBackup:2.1.3
throttle-concurrents:2.16
timestamper:1.29
token-macro:444.v52de7e9c573d
trilead-api:2.209.v0e69b_c43c245
uno-choice:2.8.8
update-sites-manager:91.v38ff0407cb_a_d
variant:70.va_d9f17f859e0
warnings-ng:12.6.0
windows-slaves:1.8.1
workflow-aggregator:608.v67378e9d3db_1
workflow-api:1373.v7b_813f10efa_b_
workflow-basic-steps:1079.vce64b_a_929c5a_
workflow-cps:4106.v7a_8a_8176d450
workflow-durable-task-step:1405.v1fcd4a_d00096
workflow-job:1532.va_9a_d244074a_3
workflow-multibranch:806.vb_b_688f609ee9
workflow-scm-step:437.v05a_f66b_e5ef8
workflow-step-api:700.v6e45cb_a_5a_a_21
workflow-support:968.v8f17397e87b_8
ws-cleanup:0.48
zentimestamp:4.2
What Operating System are you using (both controller, and any agents involved in the problem)?
Linux
Reproduction steps
- scan a lage PHP Drupal Project
- we then upload the file with fortifyUpload
Expected Results
Sucsfull upload and a report page in Jenkins of he result linking to scc
Actual Results
14:30:34 [INFO] : Foritfy Translation and Scan are done starting upload with fortifyUpload command.
14:30:34 [Pipeline] fortifyUpload
14:30:34 Running FortifyUpload step
14:30:34 Fortify Jenkins plugin v 23.1.40
14:30:34 Performing Fortify upload process
14:30:35 Using analysis results file: file:/home/jenkins/agent/workspace/5-enable-Jenkins-security-scan_2/myAwsomeApp-MyResultVersion-SNAPSHOT.fpr
14:30:35 Uploading analysis results file to Fortify Software Security Center at https://ssc-fortify/ to application 'website-factory' and application version 'MyResultVersion-SNAPSHOT'
14:30:41 Error uploading to Fortify Software Security Center: https://ssc-fortify
14:30:41 Content type "text/html; charset=utf-8" is not supported for type: class com.fortify.ssc.restclient.model.ApiResultArtifact
14:30:41 com.fortify.ssc.restclient.ApiException: Content type "text/html; charset=utf-8" is not supported for type: class com.fortify.ssc.restclient.model.ApiResultArtifact
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.FortifyPlugin.runWithFortifyClient(FortifyPlugin.java:890)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.steps.FortifyUpload.uploadToSSC(FortifyUpload.java:299)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.steps.FortifyUpload.performAndReturnIssueCount(FortifyUpload.java:225)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.steps.FortifyUpload$Execution.run(FortifyUpload.java:854)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.steps.FortifyUpload$Execution.run(FortifyUpload.java:841)
14:30:41 at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:49)
14:30:41 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
14:30:41 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
14:30:41 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
14:30:41 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
14:30:41 at java.base/java.lang.Thread.run(Thread.java:840)
14:30:41 Caused by: com.fortify.ssc.restclient.ApiException: Content type "text/html; charset=utf-8" is not supported for type: class com.fortify.ssc.restclient.model.ApiResultArtifact
14:30:41 at PluginClassLoader for fortify//com.fortify.ssc.restclient.ApiClient.deserialize(ApiClient.java:857)
14:30:41 at PluginClassLoader for fortify//com.fortify.ssc.restclient.ApiClient.handleResponse(ApiClient.java:1057)
14:30:41 at PluginClassLoader for fortify//com.fortify.ssc.restclient.ApiClient.execute(ApiClient.java:981)
14:30:41 at PluginClassLoader for fortify//com.fortify.ssc.restclient.api.ArtifactOfProjectVersionControllerApi.uploadArtifactOfProjectVersionWithHttpInfo(ArtifactOfProjectVersionControllerApi.java:578)
14:30:41 at PluginClassLoader for fortify//com.fortify.ssc.restclient.api.ArtifactOfProjectVersionControllerApi.uploadArtifactOfProjectVersion(ArtifactOfProjectVersionControllerApi.java:551)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.fortifyclient.ApiClientWrapper.uploadFpr(ApiClientWrapper.java:520)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.fortifyclient.FortifyClient.uploadFPR(FortifyClient.java:167)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.steps.FortifyUpload$1.runWith(FortifyUpload.java:303)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.steps.FortifyUpload$1.runWith(FortifyUpload.java:300)
14:30:41 at PluginClassLoader for fortify//com.fortify.plugin.jenkins.FortifyPlugin.runWithFortifyClient(FortifyPlugin.java:871)
14:30:41 ... 10 more
Anything else?
Manualy uploading it to the SCC UI works fine.
Are you interested in contributing a fix?
No