Fix: Workaround missing setuptools dependency in tox.ini
[releng/global-jjb.git] / releasenotes / notes / handle-multi-search-extensions-47a88a33ae39456f.yaml
1 ---
2 fixes:
3   - |
4     Handle multiple search extension or patterns passed by upstream JJB
5     ARCHIVE_ARTIFACTS param as a single string by spliting these values
6     before being passed to ``lftools deploy archives``.
7
8     .. code-block:: bash
9
10        ARCHIVE_ARTIFACTS="**/*.prop \
11                          **/*.log \
12                          **/target/surefire-reports/*-output.txt \
13                          **/target/failsafe-reports/failsafe-summary.xml \
14                          **/hs_err_*.log **/target/feature/feature.xml"
15
16     For example, the above env variable passed to the script and to
17     ``lftools deploy archives`` as:
18
19     .. code-block:: bash
20
21        lftools deploy archives -p **/*.prop \
22                          **/*.log \
23                          **/target/surefire-reports/*-output.txt \
24                          **/target/failsafe-reports/failsafe-summary.xml \
25                          **/hs_err_*.log **/target/feature/feature.xml \
26                          "$NEXUS_URL" \
27                          "$NEXUS_PATH" \
28                          "$WORKSPACE"
29
30     The correct way of passing this as per lftools implmentation is:
31
32     .. code-block:: bash
33
34        lftools deploy archives -p '**/*.prop' \
35                          -p '**/*.log' \
36                          -p '**/target/surefire-reports/*-output.txt' \
37                          -p '**/target/failsafe-reports/failsafe-summary.xml' \
38                          -p '**/hs_err_*.log' \
39                          -p '**/target/feature/feature.xml' \
40                          "$NEXUS_URL" \
41                          "$NEXUS_PATH" \
42                          "$WORKSPACE"