Carlos Sanchez | e9f9095 | 2016-03-15 19:16:56 +0100 | [diff] [blame] | 1 | node('docker') { |
2 | stage 'Checkout' | ||||
3 | checkout scm | ||||
4 | |||||
5 | stage 'Build' | ||||
6 | docker.build('jenkins') | ||||
7 | |||||
8 | stage 'Test' | ||||
9 | sh "git checkout https://github.com/sstephenson/bats.git" | ||||
10 | sh "bats/bin/bats tests/tests.bats" | ||||
11 | } |