[ 
https://issues.apache.org/jira/browse/YETUS-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132376#comment-15132376
 ] 

Sean Busbey commented on YETUS-229:
-----------------------------------

{code}
+  dockvers=$(docker_version Client)
+  if [[ "${dockvers}" =~ ^0
+     || "${dockvers}" =~ ^1\.[0-5] ]]; then
+    if [[ "${DOCKERFAIL}" =~ ^12
+       || "${DOCKERFAIL}" =~ ^2 ]]; then
+      add_vote_table 0 docker "Docker command '${DOCKERCMD}' is too old 
(${dockvers} < 1.6.0). Disabling docker."
+      DOCKERSUPPORT=false
+    else
+      add_vote_table -1 docker "Docker command '${DOCKERCMD}' is too old 
(${dockvers} < 1.6.0). Disabling docker."
+      bugsystem_finalreport 1
+      cleanup_and_exit 1
+    fi
+  fi
{code}

Should update the [docs on optional 
requirements|http://yetus.apache.org/documentation/in-progress/precommit-basic/#optional-requirements]
 to include docker and say it needs to be 1.6.0+.

> split --jenkins up
> ------------------
>
>                 Key: YETUS-229
>                 URL: https://issues.apache.org/jira/browse/YETUS-229
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Test Patch
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>             Fix For: 0.2.0
>
>         Attachments: YETUS-229.00.patch, YETUS-229.01.patch, 
> YETUS-229.02.patch, YETUS-229.03.patch, YETUS-229.04.patch, YETUS-229.05.patch
>
>
> Really, --jenkins is keyed towards the ASF.  It should really be split up 
> into two or more chunks, one that is still specific to the ASF and at least 
> one more that enables certain functionality independent of being on an ASF 
> box (e.g., a --robot or --automated or whatever).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to