You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2019/02/03 20:41:00 UTC
[jira] [Updated] (YETUS-786) JENKINS_URL is not always populated in
a pipeline docker agent
[ https://issues.apache.org/jira/browse/YETUS-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allen Wittenauer updated YETUS-786:
-----------------------------------
Attachment: YETUS-786.00.patch
> JENKINS_URL is not always populated in a pipeline docker agent
> --------------------------------------------------------------
>
> Key: YETUS-786
> URL: https://issues.apache.org/jira/browse/YETUS-786
> Project: Yetus
> Issue Type: Bug
> Components: Test Patch
> Affects Versions: 0.9.0
> Environment: Jenkins 2.161.1
> Docker Pipeline 1.17
> OS X
> Reporter: Allen Wittenauer
> Priority: Blocker
> Attachments: YETUS-786.00.patch
>
>
> After a lot of debugging, it appears that Jenkins doesn't always publish the JENKINS_URL env var when pipeline docker agents are used. Ironically, HUDSON_URL appears to be consistently defined in both freestyle and pipelines. We need to add code to jenkins.sh to work around this Jenkins bug.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)