jstastny-cz opened a new issue, #651:
URL: https://github.com/apache/incubator-kie-issues/issues/651

   Currently PR check jobs are generated and enabled for main branches of given 
repositories even when the DSL and seed configuration comes from a different 
"non-production" source.
   
   This complicates testing job generation for a PR, etc.
   
   The goal is to define configuration property which would be following what 
we have in place for deploy 
   ```
       static boolean isDeployDisabled(def script) {
           return getBindingValue(script, 'DISABLE_DEPLOY').toBoolean() || 
isTestEnvironment(script)
       }
   ```
   Then if the condition was true, the Github Branch Source Plugin job would be 
generated, but disabled. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to