arshad75

Prebuild - Execute Shell

Aug 30th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #!/bin/bash
  2. env
  3. sed -i -e 's#jdbc:postgresql://localhost:5432/moviedb#jdbc:postgresql://postgresdb.cnslxnballye.us-east-1.rds.amazonaws.com:5432/postgresdb#g' /var/lib/jenkins/workspace/${JOB_NAME}/movieapp-api/src/main/resources/application.yml
  4. cat ${JENKINS_HOME}/workspace/${JOB_NAME}/movieapp-api/src/main/resources/application.yml
Add Comment
Please, Sign In to add comment