File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,28 +23,28 @@ apt-get install -qy --no-install-recommends omc
2323 parallel {
2424 stage(' python2' ) {
2525 steps {
26- timeout( 1 ) {
27- // OpenModelica does not like running as root
28- sh ' chown -R nobody . '
29- sh ' pip2 install pytest '
30- sh ' sudo -u nobody python2 setup.py build '
26+ // OpenModelica does not like running as root
27+ sh ' chown -R nobody . '
28+ sh ' pip2 install pytest '
29+ sh ' sudo -u nobody python2 setup.py build '
30+ timeout( 3 ) {
3131 sh ' sudo -u nobody py.test -v --junitxml py2.xml tests/*.py'
32- sh ' python2 setup.py install'
33- junit ' py2.xml'
3432 }
33+ sh ' python2 setup.py install'
34+ junit ' py2.xml'
3535 }
3636 }
3737 stage(' python3' ) {
3838 steps {
39- timeout( 1 ) {
40- // OpenModelica does not like running as root
41- sh ' chown -R nobody . '
42- sh ' pip3 install pytest '
43- sh ' sudo -u nobody python3 setup.py build '
39+ // OpenModelica does not like running as root
40+ sh ' chown -R nobody . '
41+ sh ' pip3 install pytest '
42+ sh ' sudo -u nobody python3 setup.py build '
43+ timeout( 3 ) {
4444 sh ' sudo -u nobody py.test -v --junitxml py3.xml tests/*.py'
45- sh ' python3 setup.py install'
46- junit ' py3.xml'
4745 }
46+ sh ' python3 setup.py install'
47+ junit ' py3.xml'
4848 }
4949 }
5050 }
You can’t perform that action at this time.
0 commit comments