jenkinsci / fstrigger-plugin

https://plugins.jenkins.io/fstrigger/
10 stars 18 forks source link

Scheduled builds happed without any set build parameters (the defaults) #12

Closed moop-moop closed 2 years ago

moop-moop commented 3 years ago

Version report

Jenkins and plugins versions report:

Jenkins: 2.263.4
OS: Windows Server 2012 R2 - 6.3
---
ace-editor:1.1
active-directory:2.23
allure-jenkins-plugin:2.29.0
analysis-model-api:9.8.0
ant:1.11
antisamy-markup-formatter:2.1
any-buildstep:0.1
apache-httpcomponents-client-4-api:4.5.13-1.0
authentication-tokens:1.4
aws-credentials:1.28
aws-global-configuration:1.6
aws-java-sdk:1.11.930
badge:1.8
blueocean-autofavorite:1.2.4
blueocean-bitbucket-pipeline:1.24.4
blueocean-commons:1.24.4
blueocean-config:1.24.4
blueocean-core-js:1.24.4
blueocean-dashboard:1.24.4
blueocean-display-url:2.4.1
blueocean-events:1.24.4
blueocean-executor-info:1.24.4
blueocean-git-pipeline:1.24.4
blueocean-github-pipeline:1.24.4
blueocean-i18n:1.24.4
blueocean-jira:1.24.4
blueocean-jwt:1.24.4
blueocean-personalization:1.24.4
blueocean-pipeline-api-impl:1.24.4
blueocean-pipeline-editor:1.24.4
blueocean-pipeline-scm-api:1.24.4
blueocean-rest-impl:1.24.4
blueocean-rest:1.24.4
blueocean-web:1.24.4
blueocean:1.24.4
bootstrap4-api:4.6.0-1
bouncycastle-api:2.18
branch-api:2.6.2
build-monitor-plugin:1.12+build.201809061734
build-timeout:1.20
checks-api:1.5.0
cloudbees-bitbucket-branch-source:2.9.7
cloudbees-folder:6.15
cobertura:1.16
code-coverage-api:1.3.1
command-launcher:1.5
conditional-buildstep:1.4.1
config-file-provider:3.7.0
confluence-publisher:2.0.6
copyartifact:1.46
credentials-binding:1.24
credentials:2.3.15
cvs:2.17
data-tables-api:1.10.23-2
dependency-check-jenkins-plugin:5.1.1
dependency-track:3.1.0
deploy:1.16
display-url-api:2.3.4
docker-commons:1.17
docker-workflow:1.25
durable-task:1.35
echarts-api:4.9.0-3
email-ext:2.81
embeddable-build-status:2.0.3
external-monitor-job:1.7
favorite:2.3.2
flexible-publish:0.16.1
font-awesome-api:5.15.2-1
forensics-api:0.10.1
git-client:3.6.0
git-parameter:0.9.13
git-server:1.9
git:4.5.2
github-api:1.122
github-branch-source:2.9.5
github:1.33.0
gradle:1.36
greenballs:1.15.1
groovy-postbuild:2.5
handlebars:1.1.1
handy-uri-templates-2-api:2.1.8-1.0
htmlpublisher:1.25
http_request:1.8.27
icon-shim:2.0.3
jackson2-api:2.12.1
jacoco:3.1.1
javadoc:1.6
jdk-tool:1.4
jenkins-design-language:1.24.4
jira:3.2
jjwt-api:0.11.2-8.82737cbfa6f5
job-import-plugin:3.4
job-parameter-summary:0.5
jquery-detached:1.2.1
jquery:1.12.4-1
jquery3-api:3.5.1-2
jsch:0.1.55.2
junit:1.48
kotlin-v1-stdlib-jdk8:1.3.20-1.4
ldap:1.26
lockable-resources:2.10
mailer:1.32.1
mapdb-api:1.0.9.0
matrix-auth:2.6.5
matrix-project:1.18
maven-plugin:3.8
mercurial:2.12
momentjs:1.1.1
nodejs:1.3.11
nvm-wrapper:0.1.7
okhttp-api:3.14.9
pam-auth:1.6
parameterized-trigger:2.39
pipeline-build-step:2.13
pipeline-github-lib:1.0
pipeline-graph-analysis:1.10
pipeline-input-step:2.12
pipeline-milestone-step:1.3.2
pipeline-model-api:1.8.4
pipeline-model-definition:1.8.4
pipeline-model-extensions:1.8.4
pipeline-rest-api:2.19
pipeline-stage-step:2.5
pipeline-stage-tags-metadata:1.8.4
pipeline-stage-view:2.19
plain-credentials:1.7
plugin-usage-plugin:1.1
plugin-util-api:1.7.1
popper-api:1.16.1-1
promoted-builds:3.7
publish-over-cifs:0.16
publish-over-ftp:1.15
publish-over-ssh:1.22
publish-over:0.22
pubsub-light:1.13
resource-disposer:0.14
run-condition:1.5
s3:0.11.6
scm-api:2.6.4
script-security:1.76
sidebar-link:1.11.0
sidebar-update-notification:1.1.0
slack:2.45
snakeyaml-api:1.27.0
sse-gateway:1.24
ssh-agent:1.21
ssh-credentials:1.18.1
ssh-slaves:1.31.5
structs:1.21
subversion:2.14.0
testng-plugin:1.15
token-macro:2.13
translation:1.16
trilead-api:1.0.13
uno-choice:2.5.1
variant:1.4
warnings-ng:8.9.1
windows-slaves:1.7
workflow-aggregator:2.6
workflow-api:2.41
workflow-basic-steps:2.23
workflow-cps-global-lib:2.17
workflow-cps:2.87
workflow-durable-task-step:2.37
workflow-job:2.40
workflow-multibranch:2.22
workflow-scm-step:2.11
workflow-step-api:2.23
workflow-support:3.7
ws-cleanup:0.38
dtkit-api:3.0.0
xunit:3.0.0
purge-job-history:1.6
fstrigger:0.40
Result: [Plugin:ace-editor, Plugin:active-directory, Plugin:allure-jenkins-plugin, Plugin:analysis-model-api, Plugin:ant, Plugin:antisamy-markup-formatter, Plugin:any-buildstep, Plugin:apache-httpcomponents-client-4-api, Plugin:authentication-tokens, Plugin:aws-credentials, Plugin:aws-global-configuration, Plugin:aws-java-sdk, Plugin:badge, Plugin:blueocean-autofavorite, Plugin:blueocean-bitbucket-pipeline, Plugin:blueocean-commons, Plugin:blueocean-config, Plugin:blueocean-core-js, Plugin:blueocean-dashboard, Plugin:blueocean-display-url, Plugin:blueocean-events, Plugin:blueocean-executor-info, Plugin:blueocean-git-pipeline, Plugin:blueocean-github-pipeline, Plugin:blueocean-i18n, Plugin:blueocean-jira, Plugin:blueocean-jwt, Plugin:blueocean-personalization, Plugin:blueocean-pipeline-api-impl, Plugin:blueocean-pipeline-editor, Plugin:blueocean-pipeline-scm-api, Plugin:blueocean-rest-impl, Plugin:blueocean-rest, Plugin:blueocean-web, Plugin:blueocean, Plugin:bootstrap4-api, Plugin:bouncycastle-api, Plugin:branch-api, Plugin:build-monitor-plugin, Plugin:build-timeout, Plugin:checks-api, Plugin:cloudbees-bitbucket-branch-source, Plugin:cloudbees-folder, Plugin:cobertura, Plugin:code-coverage-api, Plugin:command-launcher, Plugin:conditional-buildstep, Plugin:config-file-provider, Plugin:confluence-publisher, Plugin:copyartifact, Plugin:credentials-binding, Plugin:credentials, Plugin:cvs, Plugin:data-tables-api, Plugin:dependency-check-jenkins-plugin, Plugin:dependency-track, Plugin:deploy, Plugin:display-url-api, Plugin:docker-commons, Plugin:docker-workflow, Plugin:durable-task, Plugin:echarts-api, Plugin:email-ext, Plugin:embeddable-build-status, Plugin:external-monitor-job, Plugin:favorite, Plugin:flexible-publish, Plugin:font-awesome-api, Plugin:forensics-api, Plugin:git-client, Plugin:git-parameter, Plugin:git-server, Plugin:git, Plugin:github-api, Plugin:github-branch-source, Plugin:github, Plugin:gradle, Plugin:greenballs, Plugin:groovy-postbuild, Plugin:handlebars, Plugin:handy-uri-templates-2-api, Plugin:htmlpublisher, Plugin:http_request, Plugin:icon-shim, Plugin:jackson2-api, Plugin:jacoco, Plugin:javadoc, Plugin:jdk-tool, Plugin:jenkins-design-language, Plugin:jira, Plugin:jjwt-api, Plugin:job-import-plugin, Plugin:job-parameter-summary, Plugin:jquery-detached, Plugin:jquery, Plugin:jquery3-api, Plugin:jsch, Plugin:junit, Plugin:kotlin-v1-stdlib-jdk8, Plugin:ldap, Plugin:lockable-resources, Plugin:mailer, Plugin:mapdb-api, Plugin:matrix-auth, Plugin:matrix-project, Plugin:maven-plugin, Plugin:mercurial, Plugin:momentjs, Plugin:nodejs, Plugin:nvm-wrapper, Plugin:okhttp-api, Plugin:pam-auth, Plugin:parameterized-trigger, Plugin:pipeline-build-step, Plugin:pipeline-github-lib, Plugin:pipeline-graph-analysis, Plugin:pipeline-input-step, Plugin:pipeline-milestone-step, Plugin:pipeline-model-api, Plugin:pipeline-model-definition, Plugin:pipeline-model-extensions, Plugin:pipeline-rest-api, Plugin:pipeline-stage-step, Plugin:pipeline-stage-tags-metadata, Plugin:pipeline-stage-view, Plugin:plain-credentials, Plugin:plugin-usage-plugin, Plugin:plugin-util-api, Plugin:popper-api, Plugin:promoted-builds, Plugin:publish-over-cifs, Plugin:publish-over-ftp, Plugin:publish-over-ssh, Plugin:publish-over, Plugin:pubsub-light, Plugin:resource-disposer, Plugin:run-condition, Plugin:s3, Plugin:scm-api, Plugin:script-security, Plugin:sidebar-link, Plugin:sidebar-update-notification, Plugin:slack, Plugin:snakeyaml-api, Plugin:sse-gateway, Plugin:ssh-agent, Plugin:ssh-credentials, Plugin:ssh-slaves, Plugin:structs, Plugin:subversion, Plugin:testng-plugin, Plugin:token-macro, Plugin:translation, Plugin:trilead-api, Plugin:uno-choice, Plugin:variant, Plugin:warnings-ng, Plugin:windows-slaves, Plugin:workflow-aggregator, Plugin:workflow-api, Plugin:workflow-basic-steps, Plugin:workflow-cps-global-lib, Plugin:workflow-cps, Plugin:workflow-durable-task-step, Plugin:workflow-job, Plugin:workflow-multibranch, Plugin:workflow-scm-step, Plugin:workflow-step-api, Plugin:workflow-support, Plugin:ws-cleanup, Plugin:dtkit-api, Plugin:xunit, Plugin:purge-job-history, Plugin:fstrigger]
Controller: OS: Windows Server 2012 R2 - 6.3
Node: RHEL 7.9

Reproduction steps

Results

Expected result:

Expected build to be carried out similarly to other triggered or automated builds. For example, scheduled builds happen correctly with default parameters used.

Actual result:

Build carried out as if no parameters were present at all.

TonyNoble commented 2 years ago

Hi @moop-moop ,

Thanks for the bug report - this was due to an issue in xtrigger-lib, which has now been resolved. Release 0.42 of fstrigger should resolve the bug.