This section covers the most commonly asked questions about using Concourse with Spring Cloud Pipeline:
opinionated pipeline. That is why we took some opinionated decisions. See the documentation to learn what those decisions are.
Yes It is an open-source project. The important thing is that the core part of the logic is written in Bash scripts. That way, in the majority of cases, you could change only the bash scripts without changing the whole pipeline. You can check out the scripts here.
Furthermore, if you want only to customize a particular function under
common/src/main/bash, you can provide your own
common/src/main/bash/<some custom identifier> where
<some custom identifier> is equal to the value of
CUSTOM_SCRIPT_IDENTIFIER environment variable. It defaults to
When deploying the application to stage or prod, you can get an
Insufficient resources exception. The way to
resolve it is to kill some apps from the test or stage environment. To do so, run the following commands:
cf target -o pcfdev-org -s pcfdev-test cf stop github-webhook cf stop github-eureka cf stop stubrunner
You can also run
./tools/cf-helper.sh kill-all-apps to remove
all demo-related apps deployed to PCF Dev.
You must have pushed some tags and must have also removed the Artifactory volume that contained them. To fix this, remove the tags by running the following command:
git tag -l | xargs -n 1 git push --delete origin
Yes. Assuming that pipeline name is
github-webhook and the job name is
build-and-upload you can see the output by running the following command:
fly watch --job github-webhook/build-and-upload -t docker
Most likely, you forgot to click the
play button to
unpause the pipeline. Click the top left, expand the list of pipelines, and click
play button next to
Another problem that might occur is that you need to have the
Concourse waits for the
version branch to appear in your repository. So, for
the pipeline to start, ensure that when doing some git operations, you have not
forgotten to create and copy the
version branch too.
If you play around with Jenkins and Concourse you might end up with the routes occupied, as indicated by a message similar to the following:
Using route github-webhook-test.local.pcfdev.io Binding github-webhook-test.local.pcfdev.io to github-webhook... FAILED The route github-webhook-test.local.pcfdev.io is already in use.
To fix the problem, you can delete the routes, as follows:
yes | cf delete-route local.pcfdev.io -n github-webhook-test yes | cf delete-route local.pcfdev.io -n github-eureka-test yes | cf delete-route local.pcfdev.io -n stubrunner-test yes | cf delete-route local.pcfdev.io -n github-webhook-stage yes | cf delete-route local.pcfdev.io -n github-eureka-stage yes | cf delete-route local.pcfdev.io -n github-webhook-prod yes | cf delete-route local.pcfdev.io -n github-eureka-prod
You can also run the
./tools/cf-helper.sh delete-routes script.
settings.xmlfile with Artifactory’s setup. See this section of the docs and update your
versionresource is broken. When I click on it, I get the following error
resource script '/opt/resource/check ' failed: exit status 128 stderr: Identity added: /tmp/git-resource-private-key (/tmp/git-resource-private-key) Cloning into '/tmp/git-resource-repo-cache'... warning: Could not find remote branch version to clone. fatal: Remote branch version not found in upstream origin
That means that your repo does not have the
version branch. You need
set it up.