Skip to content
Snippets Groups Projects
Commit 86bbe766 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-3140 check before git commit

parent 7103272b
Branches
Tags
No related merge requests found
......@@ -254,7 +254,7 @@ Void setNewProvisioningVersion(String environment) {
Void pushNewProvisioningVersion(String environment) {
dir('provisioning') {
if (sh (script: "git status | grep '/versions'", returnStatus: true) == 1) {
if (sh (script: "git status | grep 'inventories/group_vars/.*/versions'", returnStatus: true) == 1) {
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment