== Spring Web Services CI Spring Web Services uses Concourse as it's CI tool of choice. This provides support for: * Pipelines against the `master` and `2.x` branch * Support for pull requests === Creating a pipeline Using the `fly` command, you can execute a series of commands to create multiple pipelines to manage everything. But first, some critical credentials are needed. Create a `credentials.yml` file like this: [source,yml] ---- github-access-token: <your Personal Access Token from github> docker-email: <your docker hub email address> docker-username: <your docker hub username> docker-password: <your docker hub password> artifactory-username: <your artifactory username> artifactory-password: <your artifactory encoded password> ---- WARNING: Do NOT check this file into source control! If you'll check, `credentials.yml` is listed in `.gitignore` to prevent tihs. With this in place, run the following `fly` commands to create pipelines: ---- % fly -t <team-name> sp -p spring-ws -c ci/pipeline-template.yml -l credentials.yml -v branch=master % fly -t <team-name> sp -p spring-ws-2.x -c ci/pipeline-template.yml -l credentials.yml -v branch=2.x ---- This creates pipelines for: * Spring WS `master` branch * Spring WS `2.x` branch With these pipelines in place, you can now activate and expose them: ---- % fly -t <team-name> unpause-pipeline -p spring-ws % fly -t <team-name> expose-pipeline -p spring-ws % fly -t <team-name> unpause-pipeline -p spring-ws-2.x % fly -t <team-name> expose-pipeline -p spring-ws-2.x ----