Comments (4)
Answering my own question. If you're in a proxied environment like me, you need to add proxy information to your mvn clean package
File: https://github.com/mblakeashley/spring-hello-world/blob/master/ci/tasks/maven-build:
mvn clean package -DproxySet=true -DproxyHost=[PROXY_HOST] -DproxyPort=[PROXY_PORT] -DnonProxyHosts=127.0.0.1
Also, if you're deploying it against your local PCF, your unit-tests
will fail due to a hardcoded domain information. Update the task file to reflect your domain name and it will go through.
from spring-hello-world.
@akamalov Thanks for sharing your findings in regards to the proxy settings.
As for the hardcoding of hostname/url that is on purpose to simulate a ready to go blue-green deployment. This project is intended for a blog post I wrote some time back, I'll update the readme to reflect this. Cheers!
https://www.levvel.io/our-ideas/CI-CD-Going-Stateless-with-Pivotal-Cloud-Foundry
from spring-hello-world.
By the way @mblakeashley, awesome blog. Loved it!!
from spring-hello-world.
@akamalov Awesome, glad you enjoyed it!
from spring-hello-world.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-hello-world.