codecentric / conference-app

Hackergarden conference app
MIT License
13 stars 32 forks source link

deploy.sh has hardcoded server details #24

Open yahyagit opened 8 years ago

yahyagit commented 8 years ago

app/scripts/deploy.sh deploy script seems to have hardcoded server details

REPOSITORY=http://54.93.92.96:8081/artifactory/simple/libs-release-local

if [ "$ENVIRONMENT" == 'JAVALAND_PROD_A' ]; then SERVER="54.93.219.237" elif [ "$ENVIRONMENT" == 'JAVALAND_STAGING' ]; then SERVER="52.28.10.112" elif [ "$ENVIRONMENT" == 'JAVALAND_TEST' ]; then SERVER="52.28.14.105"

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project monitoring: Failed to deploy artifacts: Could not transfer artifact de.codecentric:monitoring:jar:DEV-1 from/to central (http://54.93.92.96:8081/artifactory/libs-release-local): Connect to 54.93.92.96:8081 [/54.93.92.96] failed: Connection timed out -> [Help 1] [ERROR]

Should have taken REPOSITORY_URL : http://nexus:8081/nexus/content/repositories/releases/ from jenkins..on Job - Project conference-app-monitoring-1-ci