@@ -70,7 +70,7 @@ node {
sh """
ssh qdradmin@qdr-${ DEPLOY_TARGET} -ec2-01.int.qdr.org \" sudo mkdir -p /srv/dataverse-releases; sudo chown qdradmin /srv/dataverse-releases\"
rsync -av target/${ ARTIFACT_ID} -${ VERSION} .war qdradmin@qdr-${ DEPLOY_TARGET} -ec2-01.int.qdr.org:/srv/dataverse-releases
ssh qdradmin@qdr-${ DEPLOY_TARGET} -ec2-01.int.qdr.org '; sudo chmod 644 /srv/dataverse-releases/${ ARTIFACT_ID} -${ VERSION} .war; sudo su - glassfish -c \" dv-deploy /srv/dataverse-releases/${ ARTIFACT_ID} -${ VERSION} .war\" '
ssh qdradmin@qdr-${ DEPLOY_TARGET} -ec2-01.int.qdr.org ' sudo chmod 644 /srv/dataverse-releases/${ ARTIFACT_ID} -${ VERSION} .war; sudo su - glassfish -c \" dv-deploy /srv/dataverse-releases/${ ARTIFACT_ID} -${ VERSION} .war\" '
"""
notifyBuild(" Success" , " good" )
sh " curl -sX POST http://graphite.int.qdr.org:81/events/ -d '{\" what\" : \" ${ ARTIFACT_ID} -${ VERSION} to ${ DEPLOY_TARGET} \" , \" tags\" : \" deployment\" }'"
0 comments on commit
bbd7844