Skip to content
Snippets Groups Projects
Commit 45957ffd authored by OZGCloud's avatar OZGCloud
Browse files

dont trigger dev rollout on no changes

parent b15f9745
No related branches found
No related tags found
No related merge requests found
......@@ -189,13 +189,18 @@ pipeline {
}
steps {
script {
FAILED_STAGE = env.STAGE_NAME
checkoutProvisioningRepo()
setNewGoofyProvisioningVersion('dev')
pushNewProvisioningVersion('dev')
if(currentBuild.changeSets.size() > 0) {
FAILED_STAGE = env.STAGE_NAME
checkoutProvisioningRepo()
setNewGoofyProvisioningVersion('dev')
pushNewProvisioningVersion('dev')
}
else {
sh 'echo "no code changes found"'
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment