added while loop because when I tried to start deployment through docker
file in jenkins I am getting error message in break statement.
break;; cannot be used in case statement It should be inside while, for or
any loop.so I added while loop wherever case statement with break is used.
after adding while loop deployment in docker using jenkins is working fine.


On Sat, May 31, 2014 at 9:31 PM, Steve Morin <notifications@github.com>
wrote:

> In setup.sh:
>
> >          curl -L --header "Cookie: oraclelicense=accept-securebackup-cookie" $JAVA_DOWNLOAD_URL -o $JAVA_FILE
> >      fi
> > -    case $OS_DISTRO in
> > -        "CentOS" )
> > -            $JAVA_INSTALL_CMD
> > -            break;;
> > -        * )
> > -            eval $JAVA_INSTALL_CMD
> > -            break;;
> > -    esac
> > +    while true; do
> > +	    case $OS_DISTRO in
> > +	        "CentOS" )
>
> It's all the same action so please refactor to simplify
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/DemandCube/developer-setup/pull/11/files#r13261775>.
>



-- 

Regards,

C. Peter Jerold Leslie