stable
Clone or download
Read-only
Part of story #12187 configure workflow pre & post actions at target state level How to test: - Configure a tracker workflow - Create a new transition with a post action which launch a CI build - Go to /plugins/tracker/workflow/{tracker_id}/transitions - Configure previouslyl created transition - Update Job url of created post action - Save configuration - Configure the same transition --> job url is updated - Try to save configuraion with empty job url --> You can't : job url input field is highlited Change-Id: I1268b148e57b1d7ca8cbf37ab7a60d1986f96a5f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/www/scripts/workflow-transitions/src/api/rest-querier.js | +10 | −2 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/api/rest-querier.spec.js | +36 | −7 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostActionsSection.spec.js | +12 | −23 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PostActionsSection.vue | +17 | −23 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/PreConditionsSection.vue | +12 | −2 | Go to diff View file |
A | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/RunJobAction.spec.js | +74 | −0 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/RunJobAction.vue | +23 | −6 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/components/TransitionModal/TransitionModal.vue | +9 | −14 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/module.js | +4 | −7 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-actions.js | +13 | −3 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-actions.spec.js | +46 | −13 | Go to diff View file |
A | plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-getters.js | +34 | −0 | Go to diff View file |
A | plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-getters.spec.js | +71 | −0 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-mutations.js | +33 | −2 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/store/transition-modal/transition-mutations.spec.js | +62 | −0 | Go to diff View file |
M | plugins/tracker/www/scripts/workflow-transitions/src/support/factories.js | +4 | −0 | Go to diff View file |