[JIRA] (JENKINS-59257) [Git publisher error] Tag to push name could not aware jenkins variable

9 views
Skip to first unread message

chc7042@naver.com (JIRA)

unread,
Sep 6, 2019, 12:50:03 AM9/6/19
to jenkinsc...@googlegroups.com
nicolas choi created an issue
 
Jenkins / Task JENKINS-59257
[Git publisher error] Tag to push name could not aware jenkins variable
Issue Type: Task Task
Assignee: Boguslaw Klimas
Components: git-parameter-plugin
Created: 2019-09-06 04:49
Priority: Minor Minor
Reporter: nicolas choi

When use the Tag to push name as "$BUILD_TIMESTAMP" then it succeeded to push tag

but add one more variable such as "$BUILD_TIMESTAMP_$BUILD_NUMBER" then $BUILD_TIMESTAMP did not assigned correctly only $BUILD_NUMBER assigned to tag name

i want to use that name as "20190901_10" but result is "$BUILD_TIMESTAMP_10"

is there a way to use jenkins variable such above tag name?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

chc7042@naver.com (JIRA)

unread,
Sep 6, 2019, 4:06:03 AM9/6/19
to jenkinsc...@googlegroups.com
nicolas choi updated an issue
Change By: nicolas choi
When i use the Tag to push name as "$BUILD_TIMESTAMP" then it succeeded to push tag


but add one more variable such as "$BUILD_TIMESTAMP_$BUILD_NUMBER" then $BUILD_TIMESTAMP did not assigned correctly only $BUILD_NUMBER assigned to tag name

i want to use that name as "20190901_10" but result is "$BUILD_TIMESTAMP_10"

is there a way to use jenkins variable such above tag name?

chc7042@naver.com (JIRA)

unread,
Sep 26, 2019, 10:22:02 PM9/26/19
to jenkinsc...@googlegroups.com
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

chc7042@naver.com (JIRA)

unread,
Oct 24, 2019, 7:36:03 PM10/24/19
to jenkinsc...@googlegroups.com

Dear Boguslaw Klimas 

Would you please see this issue? thank you in advance

klimas7@gmail.com (JIRA)

unread,
Apr 1, 2020, 4:11:03 PM4/1/20
to jenkinsc...@googlegroups.com

Hi 

I'am not sure if this issue is reported in good component.
But when it comes to way to use variables, please look at a small example

echo '$S1_$S2: '$S1_$S2
echo '${S1}_${S2}: '${S1}_${S2}

output:

[Test] $ /bin/sh -xe /tmp/jenkins502055521052004613.sh
+ echo $S1_$S2: CDE
$S1_$S2: CDE
+ echo ${S1}_${S2}: XYZ_CDE
${S1}_${S2}: XYZ_CDE
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages