image: openjdk:8 before_script: #- apt-get update #- apt-get -y install ant stages: - build - test - deploy ci_build: stage: build script: - cd 1.sources/MyHealth - ant clean - ant all ci_test: stage: test script: - cd 1.sources/MyHealth #- ant clean all TestUnitarios deploy_pre: stage: deploy script: - echo "Despliegue al servidor de PRE" cp 1.sources/MyHealth/dist/MyHealth.ear ${JBOSS_HOME}/standalone/deployments/ environment: name: pre url: https://localhost:8080/MyHealth deploy_pro: stage: deploy script: - echo "Despliegue al servidor de PRO" cp 1.sources/MyHealth/dist/MyHealth.ear ${JBOSS_HOME}/standalone/deployments/ environment: name: pro url: https://localhost:8080/MyHealth