Project

General

Profile

Actions

Bug #15249

closed

fix jenkins to not impose long paths

Added by Loïc Dachary about 8 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The deep workspace in which jenkins runs creates problems such as the script limitation in #! (80) that are painfully workedaround with changes such as

https://github.com/ceph/ceph/commit/93c790d72a004d47155a645dc759422cc85cc5c4
https://github.com/ceph/ceph/commit/c540835cf3dde2a91e582879fd6997b41b5c9cf0

This is bound to happen from time to time as this deep path is unique to jenkins. There exists a solution:

https://wiki.jenkins-ci.org/display/JENKINS/Short+Workspace+Path+Plugin

and that would avoid using hacks such as CEPH_BUILD_VIRTUALENV=/tmp/ from the environment which is fragile to maintain and resides in an environment variable that is difficult to relate with the actual problem it solves.

Actions

Also available in: Atom PDF