Created
July 16, 2013 17:44
-
-
Save sterym/6010935 to your computer and use it in GitHub Desktop.
Deploy rest api for collection service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "current dir" | |
pwd | |
echo "files in current dir" | |
ls | |
echo "files in target dir" | |
cd target | |
ls | |
echo "cloning openhift repo" | |
git clone ssh://51e584315973ca1b0600002f@rest-collections.rhcloud.com/~/git/rest.git/ | |
cd rest/deployments | |
echo "ls deployments" | |
ls | |
rm ROOT.war | |
cp ../../collection-rs-1.0.0-SNAPSHOT.war ROOT.war | |
ls | |
cd ../ | |
pwd | |
git status | |
git commit -a -m "auto deploy from cloudbees" | |
git push origin master | |
#git status | |
#git remote add openshift -f ssh://519c83c87885463984d5fdff4d323cf9@registrationsservice-cremersstijn.rhcloud.com/~/git/registrationsservice.git/ | |
#git push -openshift HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment