commit | author | age | ||
43993f | 1 | #!/bin/bash |
OB | 2 | |
3 | # pre code | |
4 | echo "hello class" | |
5 | ||
ad757f | 6 | if [ -d /tmp/artifacts ]; then |
OB | 7 | echo "*** found artifacts:" |
8 | ls -l /tmp/artifacts | |
9 | fi | |
10 | ||
9ce154 | 11 | /usr/libexec/s2i/assemble |
43993f | 12 | rc=$? |
OB | 13 | |
9ce154 | 14 | if [ $rc -eq 0 ]; then |
43993f | 15 | echo "bye class" |
OB | 16 | else |
17 | echo "sorry, build failed" | |
18 | fi | |
19 | ||
ad757f | 20 | exit $rc |