젠킨스에서 실패한 테스트 케이스 실행

코드 예제

0
0

젠킨스에서 실패한 테스트 케이스 실행

How we achieve this is by monitoring the 
Jenkins job console output using the 
‘Conditional Buildstep‘ plugin for Jenkins.
The plugin allows you to configure a job so
that you search for a text string in the
console log and if you pick up a string
that indicates a failure then you 
run a conditional build step. 
That conditional build step is configured
to run the test a 2nd time. If it runs
and passes on the 2nd attempt then the
overall build status is set to pass and
you ignore the results from the 1st attempt. 

Basically we are aiming
- run a test
- check the status of the test result
- if the test result is a pass then end the run
- if the test results is a fail then try and run again

비슷한 페이지

예제가있는 유사한 페이지

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................