-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins: 2.263.1
OS: Linux - 3.10.0-1160.45.1.el7.x86_64
---
ace-editor:1.1
active-directory:2.4
analysis-collector:1.52
analysis-core:1.92
ant:1.8
antisamy-markup-formatter:1.5
apache-httpcomponents-client-4-api:4.5.13-1.0
appdynamics-dashboard:1.0.14
artifactdeployer:0.33
artifactory:2.9.2
async-http-client:1.9.40.0
atlassian-bitbucket-server-integration:2.1.3
atlassian-jira-software-cloud:1.4.0
authentication-tokens:1.3
authorize-project:1.3.0
azure-cli:0.9
azure-credentials:4.0.2
bitbucket:1.1.6
bouncycastle-api:2.17
branch-api:2.6.2
build-monitor-plugin:1.12+build.201708172343
build-pipeline-plugin:1.5.8
build-publisher:1.22
build-user-vars-plugin:1.5
built-on-column:1.1
bumblebee:4.0.8
caffeine-api:2.9.1-23.v51c4e2c879c8
checkstyle:3.49
claim:2.14.1
cloudbees-bitbucket-branch-source:2.2.10
cloudbees-credentials:3.3
cloudbees-folder:6.15
cobertura:1.14
code-coverage-api:1.0.13
command-launcher:1.3
conditional-buildstep:1.3.6
config-file-provider:3.6.2
copyartifact:1.38.1
credentials:2.5
credentials-binding:1.20
cvs:2.13
dashboard-view:2.9.11
database:1.5
database-h2:1.1
database-mysql:1.2
delivery-pipeline-plugin:1.4.0
deploy:1.10
deployment-sphere:0.1.105
discard-old-build:1.05
display-url-api:2.3.5
docker-commons:1.15
docker-workflow:1.19
dropdown-viewstabbar-plugin:1.7
durable-task:1.30
dynatrace-dashboard:2.1.0
ec2-deployment-dashboard:1.0.10
email-ext:2.58
emailext-template:1.1
envinject:2.1.3
envinject-api:1.2
environment-dashboard:1.1.7
extended-choice-parameter:0.77-SNAPSHOT (private-03/17/2018 00:11-YashwanthVittal)
extensible-choice-parameter:1.4.1
external-monitor-job:1.7
extra-columns:1.18
filesystem_scm:1.20
flexible-publish:0.15.2
fortify:20.2.35
fortifyJenkins:17.20.0183
fstrigger:0.39
git:4.7.2
git-client:3.7.2
git-parameter:0.9.0
git-server:1.8
github:1.28.0
github-api:1.89
global-build-stats:1.5
global-slack-notifier:1.3
google-oauth-plugin:1.0.0
gradle:1.26
groovy:2.0
handlebars:1.1.1
handy-uri-templates-2-api:2.1.6-1.0
hp-application-automation-tools-plugin:7.2
hp-lifecycle-management-ci-plugin:12.53.20.10
hp-operations-orchestration-automation-execution-plugin:2.1.1
hp-quality-center:1.6
htmlpublisher:1.12
http_request:1.8.21
hygieia-publisher:2.0.5-SNAPSHOT (private-86189b4e-root)
ibm-ucdeploy-build-steps:2.9.993392
ibm-ucrelease-pipeline:1.919098
icon-shim:2.0.3
influxdb:2.0.1
ivy:1.27.1
jackson2-api:2.12.3
jacoco:2.3-SNAPSHOT (private-9d25840b-jenkins)
javadoc:1.5
jdk-tool:1.0
jenkins-multijob-plugin:1.33
jira:3.3
job-restrictions:0.6
jobConfigHistory:2.16
jquery:1.12.4-0
jquery-detached:1.2.1
jsch:0.1.55.2
junit:1.29
junit-realtime-test-reporter:0.4
kubernetes-cli:1.8.3
kubernetes-client-api:4.9.1-1
kubernetes-credentials:0.6.2
ldap:1.22
lockable-resources:2.11
m2release:0.14.0
mailer:1.34
mapdb-api:1.0.9.0
mashup-portlets-plugin:1.0.9
mask-passwords:2.10.1
matrix-auth:2.6.2
matrix-project:1.18
maven-artifact-choicelistprovider:1.2.0
maven-deployment-linker:1.5.1
maven-plugin:3.3
mercurial:2.1
mission-control-view:0.9.13
momentjs:1.1.1
multi-slave-config-plugin:1.2.0
multiple-scms:0.6
mysql-auth:1.0
mysql-job-databases:0.1.0
ncover:0.3
nested-view:1.14
next-build-number:1.6
nexus-artifact-uploader:2.10
nexus-jenkins-plugin:1.5.20171121-095817.c18bf4f
nexus-task-runner:0.9.2
nodejs:1.3.3
oauth-credentials:0.4
ownership:0.10.0
pam-auth:1.5.1
parameterized-scheduler:0.8
parameterized-trigger:2.39
pipeline-build-step:2.15
pipeline-graph-analysis:1.10
pipeline-input-step:2.10
pipeline-maven:2.0.2
pipeline-milestone-step:1.3.2
pipeline-model-api:1.3.9
pipeline-model-declarative-agent:1.1.1
pipeline-model-definition:1.3.9
pipeline-model-extensions:1.3.9
pipeline-multibranch-defaults:1.1
pipeline-rest-api:2.11
pipeline-stage-step:2.3
pipeline-stage-tags-metadata:1.3.9
pipeline-stage-view:2.11
pipeline-utility-steps:2.3.0
plain-credentials:1.7
pmd:3.49
postbuild-task:1.8
powershell:1.3
preSCMbuildstep:0.3
project-stats-plugin:0.4
promoted-builds:3.10
publish-over:0.22
publish-over-cifs:0.9
publish-over-ssh:1.20.1
quality-gates:2.7-SNAPSHOT (private-441aca69-thanhpt)
repository-connector:1.1.3
resource-disposer:0.7
role-strategy:2.4.0
ruby-runtime:0.12
run-condition:1.2
saferestart:0.3
schedule-build:0.5.1
scm-api:2.6.4
script-security:1.77
skip-certificate-check:1.0
slack:2.3
slave-setup:1.10
slave-utilization-plugin:1.8
sloccount:1.22
snakeyaml-api:1.27.0
sonar:2.14
sonar-quality-gates:1.3.0
sqlplus-script-runner:1.0.10
ssh:2.5
ssh-credentials:1.18.1
ssh-slaves:1.16
structs:1.23
subversion:2.14.2
tasks:4.52
test-results-analyzer:0.3.4
testng-plugin:1.14
text-finder:1.10
timestamper:1.8.8
token-macro:2.13
trilead-api:1.0.13
uno-choice:2.0
validating-string-parameter:2.3
view-job-filters:1.27
websphere-deployer:1.3.4
windows-slaves:1.3.1
workflow-aggregator:2.6
workflow-api:2.46
workflow-basic-steps:2.18
workflow-cps:2.72
workflow-cps-global-lib:2.15
workflow-durable-task-step:2.32
workflow-job:2.41
workflow-multibranch:2.21
workflow-remote-loader:1.4
workflow-scm-step:2.12
workflow-step-api:2.23
workflow-support:3.8
ws-cleanup:0.34
xfpanel:2.0.1
xunit:1.102
xvfb:1.1.3
xvnc:1.24Jenkins: 2.263.1 OS: Linux - 3.10.0-1160.45.1.el7.x86_64 --- ace-editor:1.1 active-directory:2.4 analysis-collector:1.52 analysis-core:1.92 ant:1.8 antisamy-markup-formatter:1.5 apache-httpcomponents-client-4-api:4.5.13-1.0 appdynamics-dashboard:1.0.14 artifactdeployer:0.33 artifactory:2.9.2 async-http-client:1.9.40.0 atlassian-bitbucket-server-integration:2.1.3 atlassian-jira-software-cloud:1.4.0 authentication-tokens:1.3 authorize-project:1.3.0 azure-cli:0.9 azure-credentials:4.0.2 bitbucket:1.1.6 bouncycastle-api:2.17 branch-api:2.6.2 build-monitor-plugin:1.12+build.201708172343 build-pipeline-plugin:1.5.8 build-publisher:1.22 build-user-vars-plugin:1.5 built-on-column:1.1 bumblebee:4.0.8 caffeine-api:2.9.1-23.v51c4e2c879c8 checkstyle:3.49 claim:2.14.1 cloudbees-bitbucket-branch-source:2.2.10 cloudbees-credentials:3.3 cloudbees-folder:6.15 cobertura:1.14 code-coverage-api:1.0.13 command-launcher:1.3 conditional-buildstep:1.3.6 config-file-provider:3.6.2 copyartifact:1.38.1 credentials:2.5 credentials-binding:1.20 cvs:2.13 dashboard-view:2.9.11 database:1.5 database-h2:1.1 database-mysql:1.2 delivery-pipeline-plugin:1.4.0 deploy:1.10 deployment-sphere:0.1.105 discard-old-build:1.05 display-url-api:2.3.5 docker-commons:1.15 docker-workflow:1.19 dropdown-viewstabbar-plugin:1.7 durable-task:1.30 dynatrace-dashboard:2.1.0 ec2-deployment-dashboard:1.0.10 email-ext:2.58 emailext-template:1.1 envinject:2.1.3 envinject-api:1.2 environment-dashboard:1.1.7 extended-choice-parameter:0.77-SNAPSHOT (private-03/17/2018 00:11-YashwanthVittal) extensible-choice-parameter:1.4.1 external-monitor-job:1.7 extra-columns:1.18 filesystem_scm:1.20 flexible-publish:0.15.2 fortify:20.2.35 fortifyJenkins:17.20.0183 fstrigger:0.39 git:4.7.2 git-client:3.7.2 git-parameter:0.9.0 git-server:1.8 github:1.28.0 github-api:1.89 global-build-stats:1.5 global-slack-notifier:1.3 google-oauth-plugin:1.0.0 gradle:1.26 groovy:2.0 handlebars:1.1.1 handy-uri-templates-2-api:2.1.6-1.0 hp-application-automation-tools-plugin:7.2 hp-lifecycle-management-ci-plugin:12.53.20.10 hp-operations-orchestration-automation-execution-plugin:2.1.1 hp-quality-center:1.6 htmlpublisher:1.12 http_request:1.8.21 hygieia-publisher:2.0.5-SNAPSHOT (private-86189b4e-root) ibm-ucdeploy-build-steps:2.9.993392 ibm-ucrelease-pipeline:1.919098 icon-shim:2.0.3 influxdb:2.0.1 ivy:1.27.1 jackson2-api:2.12.3 jacoco:2.3-SNAPSHOT (private-9d25840b-jenkins) javadoc:1.5 jdk-tool:1.0 jenkins-multijob-plugin:1.33 jira:3.3 job-restrictions:0.6 jobConfigHistory:2.16 jquery:1.12.4-0 jquery-detached:1.2.1 jsch:0.1.55.2 junit:1.29 junit-realtime-test-reporter:0.4 kubernetes-cli:1.8.3 kubernetes-client-api:4.9.1-1 kubernetes-credentials:0.6.2 ldap:1.22 lockable-resources:2.11 m2release:0.14.0 mailer:1.34 mapdb-api:1.0.9.0 mashup-portlets-plugin:1.0.9 mask-passwords:2.10.1 matrix-auth:2.6.2 matrix-project:1.18 maven-artifact-choicelistprovider:1.2.0 maven-deployment-linker:1.5.1 maven-plugin:3.3 mercurial:2.1 mission-control-view:0.9.13 momentjs:1.1.1 multi-slave-config-plugin:1.2.0 multiple-scms:0.6 mysql-auth:1.0 mysql-job-databases:0.1.0 ncover:0.3 nested-view:1.14 next-build-number:1.6 nexus-artifact-uploader:2.10 nexus-jenkins-plugin:1.5.20171121-095817.c18bf4f nexus-task-runner:0.9.2 nodejs:1.3.3 oauth-credentials:0.4 ownership:0.10.0 pam-auth:1.5.1 parameterized-scheduler:0.8 parameterized-trigger:2.39 pipeline-build-step:2.15 pipeline-graph-analysis:1.10 pipeline-input-step:2.10 pipeline-maven:2.0.2 pipeline-milestone-step:1.3.2 pipeline-model-api:1.3.9 pipeline-model-declarative-agent:1.1.1 pipeline-model-definition:1.3.9 pipeline-model-extensions:1.3.9 pipeline-multibranch-defaults:1.1 pipeline-rest-api:2.11 pipeline-stage-step:2.3 pipeline-stage-tags-metadata:1.3.9 pipeline-stage-view:2.11 pipeline-utility-steps:2.3.0 plain-credentials:1.7 pmd:3.49 postbuild-task:1.8 powershell:1.3 preSCMbuildstep:0.3 project-stats-plugin:0.4 promoted-builds:3.10 publish-over:0.22 publish-over-cifs:0.9 publish-over-ssh:1.20.1 quality-gates:2.7-SNAPSHOT (private-441aca69-thanhpt) repository-connector:1.1.3 resource-disposer:0.7 role-strategy:2.4.0 ruby-runtime:0.12 run-condition:1.2 saferestart:0.3 schedule-build:0.5.1 scm-api:2.6.4 script-security:1.77 skip-certificate-check:1.0 slack:2.3 slave-setup:1.10 slave-utilization-plugin:1.8 sloccount:1.22 snakeyaml-api:1.27.0 sonar:2.14 sonar-quality-gates:1.3.0 sqlplus-script-runner:1.0.10 ssh:2.5 ssh-credentials:1.18.1 ssh-slaves:1.16 structs:1.23 subversion:2.14.2 tasks:4.52 test-results-analyzer:0.3.4 testng-plugin:1.14 text-finder:1.10 timestamper:1.8.8 token-macro:2.13 trilead-api:1.0.13 uno-choice:2.0 validating-string-parameter:2.3 view-job-filters:1.27 websphere-deployer:1.3.4 windows-slaves:1.3.1 workflow-aggregator:2.6 workflow-api:2.46 workflow-basic-steps:2.18 workflow-cps:2.72 workflow-cps-global-lib:2.15 workflow-durable-task-step:2.32 workflow-job:2.41 workflow-multibranch:2.21 workflow-remote-loader:1.4 workflow-scm-step:2.12 workflow-step-api:2.23 workflow-support:3.8 ws-cleanup:0.34 xfpanel:2.0.1 xunit:1.102 xvfb:1.1.3 xvnc:1.24
Hi All,
I am trying to add comment in JIRA after every successful build in Jenkins pipeline. If I hardcode the value of issueKey, it is working and comment is getting updated. But when I pass it as a parameter , it is not working.It is not showing any error on build logs.Kindly suggest. I have pasted the snippet below.
Working Snippet:
jiraComment body: '"Build is success"', issueKey: 'JJ-3'
Not working snippet:
jiraComment body: '"Build is success"', issueKey: "${Jira_Tick}"
Build Logs:
[Pipeline] jiraSendBuildInfojiraSendBuildInfo: SUCCESS_BUILD_ACCEPTED: Successfully sent build information to Jira: onlinethree.atlassian.net. Accepted builds: [BuildKeyResponse\{pipelineId='Integ_Jenkins_Jira_Integration_Test', buildNumber=56}].[Pipeline] jiraComment[Pipeline] }[Pipeline] // node[Pipeline] }[Pipeline] // stage
Plese note:
We are able to send build logs to the respective Jira by passing branch parameter as a variable. PFB.
variable used:
Jira_url='our URL'
jiraSendBuildInfo branch: "${Jira_url}", site: 'onlinethree.atlassian.net'