Commit graph

763 commits

Author SHA1 Message Date
James Flynn
631e79fdf8 Fixed: conditional block syntax 2021-03-02 15:38:51 +00:00
James Flynn
29720eb488 Added: Sonarcloud PR extra params 2021-03-02 15:31:29 +00:00
James Flynn
42fb06b86d Removed: extra properties from sonarcloud prep 2021-03-02 15:05:12 +00:00
James Flynn
1eb273dcec Added: improved commenting and references 2021-03-02 14:55:15 +00:00
James Flynn
cb962d7e55 Added: Mvn sonar clean install 2021-03-02 14:19:32 +00:00
James Flynn
13c4f99f3c Changed: Reverted changes back to CLI 2021-03-01 23:05:52 +00:00
James Flynn
046bc13b74 Changed: Using Mvn task sonar scan 2021-03-01 22:56:13 +00:00
James Flynn
b9a2298eec Added: CliProjectKey to sonarcloud task 2021-03-01 22:47:45 +00:00
James Flynn
eb6141f03e Added: sonar.projectKey to extraproperties 2021-03-01 22:46:32 +00:00
James Flynn
713fb2a8c0 Changed: sonarcloud prep inputs updated for CLI mode 2021-03-01 22:13:36 +00:00
James Flynn
b65e7b6210 Update azure-pipelines.yml for Azure Pipelines 2021-03-01 22:02:51 +00:00
James Flynn
41dace5c50 Fixed: Maven task auto-updated by Azure DevOps 2021-03-01 21:58:15 +00:00
James Flynn
dce75693d3 Changed: ScannerMode to CLI 2021-03-01 21:53:41 +00:00
James Flynn
a156027e03 Added: project key to sonar extra properties 2021-03-01 21:37:09 +00:00
James Flynn
c60a906e65 Added: Sonar extra properties 2021-03-01 21:26:17 +00:00
James Flynn
13e3677c77 Added: Separate run sonarcloud analysis step 2021-03-01 21:13:49 +00:00
James Flynn
6955e07e24 Fixed: SonarCloud Org name 2021-03-01 20:57:08 +00:00
James Flynn
1b9bbdf7a4 Removed: sonarcloud analyse, enables with Maven task instead 2021-03-01 20:48:02 +00:00
James Flynn
73bff7e33d Added: SonarCloud to pipeline 2021-03-01 20:38:48 +00:00
James Flynn
9bdbc761ff
Merge pull request #2 from james-flynn-ie/deploy-azure-web-app
Added: Deploy Web App job
2021-03-01 20:20:30 +00:00
James Flynn
226366c9ae Update azure-pipelines.yml for Azure Pipelines 2021-03-01 20:09:58 +00:00
James Flynn
32de58ba0c Update azure-pipelines.yml for Azure Pipelines 2021-03-01 20:00:37 +00:00
James Flynn
1b00148081 Update azure-pipelines.yml for Azure Pipelines 2021-03-01 19:59:08 +00:00
James Flynn
06899e5770 Update azure-pipelines.yml for Azure Pipelines 2021-03-01 19:55:57 +00:00
James Flynn
dc893d663d Changed: Disabled tests for run time 2021-03-01 19:37:39 +00:00
James Flynn
0925d196e8 Removed: Publish artifacts steps for testing 2021-03-01 19:27:44 +00:00
James Flynn
49b5d92275 Added: Deploy Web App job 2021-03-01 19:18:43 +00:00
James Flynn
3c1f095e41
Merge pull request #1 from james-flynn-ie/azure-pipelines
Added: Build and Test Azure pipelines
2021-02-28 12:40:36 +00:00
James Flynn
12a9343c70 Fixed: Source path for JAR 2021-02-27 22:20:56 +00:00
James Flynn
49a5add220 Changed: Source path to exclude target subdir from copy 2021-02-27 22:13:56 +00:00
James Flynn
b979266f3f Changed: Pipeline name structure 2021-02-27 22:11:34 +00:00
James Flynn
dcaa4b71cb Changed: Replaced deprecated upload task with publish artifact 2021-02-27 22:04:25 +00:00
James Flynn
f4c48d4b8f Set up CI with Azure Pipelines
[skip ci]
2021-02-27 21:40:49 +00:00
Dave Syer
e2fbc56130 Only publish docker image from main branch 2021-01-28 12:01:57 +00:00
Diego Lemos
a0d743cfed Do not fail packaging if repo info is absent
As part of a process to build a BOSH release, I encountered the error
below while running `./mvnw package`:

```
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:3.0.1:revision (default) on project spring-petclinic: Could not complete Mojo execution...: Error: Could not get HEAD Ref, are you sure you have set the dotGitDirectory property of this plugin to a valid path? -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
```

That's because we are just interested on the source files for the BOSH
release, we don't care about repo metadata (so we exclude them).

Going through the [git-commit-id-maven-plugin
docs](https://github.com/git-commit-id/git-commit-id-maven-plugin/blob/master/maven/docs/using-the-plugin.md)
we learned it is possible to prevent the failure above via
configuration.

We propose then to set
`<failOnUnableToExtractRepoInfo>false</failOnUnableToExtractRepoInfo>`,
enabling use cases similar to ours.

FWIW `failOnNoGitDirectory` is already set to false.
2021-01-28 10:13:23 +00:00
Dave Syer
3a040886fe Add docker push to CI 2021-01-28 09:57:17 +00:00
Dave Syer
04471aec49 Update to Boot 2.4.2 2021-01-28 09:55:39 +00:00
Stephane Nicoll
02babdd8cb Upgrade to Spring Boot 2.4.1 2020-12-25 13:02:48 +01:00
Stephane Nicoll
8065ad00e2 Merge pull request #707 from Arka-Bandyopadhyay
* pr/707:
  Downgrade to wro4j 1.8.0
  remove .vscode folder from project repository

Closes gh-707
2020-11-29 11:44:14 +01:00
Arka Bandyopadhyay
0573cda3c2 Downgrade to wro4j 1.8.0
This commit downgrades the wro4j plugin to 1.8.0 as the latest version
requires Java 11.

See gh-707
2020-11-29 11:43:28 +01:00
Stephane Nicoll
502870d6c0 Remove IDE specific configuration files
Closes gh-706
2020-11-29 11:39:01 +01:00
Arka Bandyopadhyay
949278cd46 remove .vscode folder from project repository 2020-11-29 14:21:33 +05:30
Dave Syer
ab9135ad9b Upgrade to Spring Boot 2.4.0 2020-11-24 10:44:41 +00:00
Cesarion Pshebytski
8b1ac6736e Updated user for mysql
Updated creation of user for mysql db. Previously lack of quotes resulted in creation of incorrect user (petclinic@% instead of just petclinic)
2020-11-06 11:13:25 +00:00
Stephane Nicoll
7615395b1f Upgrade to Spring Boot 2.3.5 2020-11-06 08:30:48 +01:00
Stephane Nicoll
656b7c8b17 Merge pull request #650 from piyush-garg
* pr/650:
  Upgrade to wro4j 1.9.0

Closes gh-650
2020-11-06 07:55:44 +01:00
Piyush Garg
a1eaaa6878 Upgrade to wro4j 1.9.0
See gh-650
2020-11-06 07:54:59 +01:00
Stephane Nicoll
f6c1a69e6b Merge pull request #670 from akashsolanki
* pr/670:
  Remove redundant junits dependencies

Closes gh-670
2020-11-06 07:48:31 +01:00
Akash Solanki
e5ef4d34e3 Remove redundant junits dependencies
See gh-670
2020-11-06 07:47:17 +01:00
Stephane Nicoll
27109010a5 Restore version to 2.3.0.BUILD-SNAPSHOT 2020-08-27 15:05:30 +02:00