[input] ^[[0mwordpress.build.fail: 1
[output] wordpress.build.fail: 1
Signed-off-by: Bai Jing 799286817@qq.com --- stats/openeuler_docker | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 stats/openeuler_docker
diff --git a/stats/openeuler_docker b/stats/openeuler_docker new file mode 100755 index 000000000..e31934573 --- /dev/null +++ b/stats/openeuler_docker @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby + +while (line = STDIN.gets) + line.chomp! + next unless line =~ /build.fail/ + + puts line +end
Perhaps tests/openeuler_docker can directly write this line
wordpress.build.fail: 1
to result_root/openeuler_docker.yaml
Then we can avoid writing a separate stats script.
CC Weitao for confirmation.
Thanks, Fengguang
Signed-off-by: Bai Jing 799286817@qq.com
stats/openeuler_docker | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 stats/openeuler_docker
diff --git a/stats/openeuler_docker b/stats/openeuler_docker new file mode 100755 index 000000000..e31934573 --- /dev/null +++ b/stats/openeuler_docker @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby
+while (line = STDIN.gets)
- line.chomp!
- next unless line =~ /build.fail/
- puts line
+end
2.23.0