Github user rhtyd commented on the issue:

    https://github.com/apache/cloudstack/pull/1888
  
    @swill I use these docker images for building packages, they have jenv and 
everything else setup: https://hub.docker.com/u/bhaisaab
    
    Don't use jenv's initialization in .bashrc or .profile, but do that in your 
Jenkins script:
    
    export PATH="$HOME/.jenv/bin:$PATH"
    eval "$(jenv init -)"
    java -version
    mvn -version
    
    For using my CentOS6 image, you'll need to export this:
    # Enable maven on bash
    export 
PATH=/opt/rh/maven30/root/usr/bin:/opt/rh/rh-java-common/root/usr/bin:$PATH



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to