[JIRA] (JENKINS-57987) Unable to add environment variable for jcasc token

11 views
Skip to first unread message

parichay.barpanda@gmail.com (JIRA)

unread,
Jun 12, 2019, 9:43:02 AM6/12/19
to jenkinsc...@googlegroups.com
Parichay Barpanda created an issue
 
Jenkins / Bug JENKINS-57987
Unable to add environment variable for jcasc token
Issue Type: Bug Bug
Assignee: Parichay Barpanda
Components: gitlab-branch-source-plugin
Created: 2019-06-12 13:42
Labels: gsoc-2019
Priority: Minor Minor
Reporter: Parichay Barpanda

See https://github.com/baymac/gitlab-branch-source-plugin/pull/16

 

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

parichay.barpanda@gmail.com (JIRA)

unread,
Jun 12, 2019, 9:44:01 AM6/12/19
to jenkinsc...@googlegroups.com
Parichay Barpanda started work on Bug JENKINS-57987
 
Change By: Parichay Barpanda
Status: Open In Progress

parichay.barpanda@gmail.com (JIRA)

unread,
Jun 12, 2019, 10:42:01 AM6/12/19
to jenkinsc...@googlegroups.com
Parichay Barpanda commented on Bug JENKINS-57987
 
Re: Unable to add environment variable for jcasc token

To populate environment variable, 

if your using mvn hpi:run you can do GITLAB_PERSONAL_ACCESS_TOKEN="MYTOKEN" mvn hpi:run 

Or inside IntelliJ run configuration, you can add the environment variable

parichay.barpanda@gmail.com (JIRA)

unread,
Jun 12, 2019, 10:42:02 AM6/12/19
to jenkinsc...@googlegroups.com

parichay.barpanda@gmail.com (JIRA)

unread,
Jun 12, 2019, 10:43:03 AM6/12/19
to jenkinsc...@googlegroups.com
Parichay Barpanda updated an issue
 
Change By: Parichay Barpanda
Comment: To populate environment variable, 

 

if your using {color:#FF0000}{{mvn hpi:run}}{color} you can do {{GITLAB_PERSONAL_ACCESS_TOKEN="MYTOKEN" mvn hpi:run }}

Or inside {color:#FF0000}IntelliJ{color} run configuration, you can add the environment variable

parichay.barpanda@gmail.com (JIRA)

unread,
Jun 12, 2019, 10:43:03 AM6/12/19
to jenkinsc...@googlegroups.com

parichay.barpanda@gmail.com (JIRA)

unread,
Jun 12, 2019, 2:59:02 PM6/12/19
to jenkinsc...@googlegroups.com
 

Had a misunderstanding between global properties and environment variable.

Change By: Parichay Barpanda
Status: In Review Resolved
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages