Skip to content

Commit

Permalink
stop build without results
Browse files Browse the repository at this point in the history
debug "No sources to compile"
.gcloudignore
  • Loading branch information
globalworming committed Feb 20, 2022
1 parent e78b4d8 commit deeff5f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs
11 changes: 10 additions & 1 deletion .google/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
steps:
- id: check files
name: 'gcr.io/cloud-builders/mvn'
entrypoint: 'bash'
args:
- '-c'
- |
find .
- name: 'gcr.io/cloud-builders/mvn'
entrypoint: 'bash'
args:
- '-c'
- |
mvn verify || touch .fail
mvn verify || touch .fail && if [[ -f target/site/serenity ]]; then exit 1 fi
- name: 'gcr.io/cloud-builders/gsutil'
args: ['cp','-r','./target/site/serenity','gs://example-3926-bucket']

Expand Down

0 comments on commit deeff5f

Please sign in to comment.