Auto publish into testing if publish without QA is unchecked
This commit is contained in:
parent
b7e2634e7b
commit
dfa9945d8f
|
@ -659,8 +659,8 @@ class BuildList < ActiveRecord::Base
|
||||||
if external_nodes.present?
|
if external_nodes.present?
|
||||||
self.auto_publish_status = AUTO_PUBLISH_STATUS_NONE
|
self.auto_publish_status = AUTO_PUBLISH_STATUS_NONE
|
||||||
end
|
end
|
||||||
if auto_publish? && save_to_repository && !save_to_repository.publish_without_qa?
|
if save_to_repository && !save_to_repository.publish_without_qa?
|
||||||
self.auto_publish_status = AUTO_PUBLISH_STATUS_NONE
|
self.auto_publish_status = AUTO_PUBLISH_STATUS_TESTING
|
||||||
end
|
end
|
||||||
if auto_publish? || auto_publish_into_testing?
|
if auto_publish? || auto_publish_into_testing?
|
||||||
self.auto_create_container = false
|
self.auto_create_container = false
|
||||||
|
|
Loading…
Reference in New Issue