[JIRA] (JENKINS-62008) Expose P4_CLIENT, P4_USER and P4_PORT as the environment variables P4CLIENT, P4USER and P4PORT for scripts

3 views
Skip to first unread message

kwirth@perforce.com (JIRA)

unread,
Apr 22, 2020, 7:55:03 AM4/22/20
to jenkinsc...@googlegroups.com
Karl Wirth created an issue
 
Jenkins / Improvement JENKINS-62008
Expose P4_CLIENT, P4_USER and P4_PORT as the environment variables P4CLIENT, P4USER and P4PORT for scripts
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: p4-plugin
Created: 2020-04-22 11:54
Environment: 1.10.12
Labels: P4_VERIFY
Priority: Minor Minor
Reporter: Karl Wirth

The old community P4 plugin used to expose the variables P4PORT, P4USER and P4CLIENT as environment variables for scripts to use. The new plugin on purpose uses different variables to ensure we dont override variables that are already set in the environment. Would be good if we had the option to also automatically set P4PORT=P4_PORT, P4USER=P4_USER and P4_CLIENT=P4_CLIENT.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

DavidRod777@gmail.com (JIRA)

unread,
Apr 22, 2020, 11:13:02 AM4/22/20
to jenkinsc...@googlegroups.com
David Rodriguez updated an issue
Change By: David Rodriguez
The old community P4 plugin used to expose the variables P4PORT, P4USER and P4CLIENT as environment variables for scripts to use. The new plugin on purpose uses different variables to ensure we dont override variables that are already set in the environment. Would be good if we had the option to also automatically set P4PORT=P4_PORT, P4USER=P4_USER and P4_CLIENT P4CLIENT =P4_CLIENT.

kwirth@perforce.com (JIRA)

unread,
Apr 23, 2020, 4:44:03 AM4/23/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages