-
Notifications
You must be signed in to change notification settings - Fork 10
/
Jenkinsfile
22 lines (20 loc) · 905 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def elastest_url = ''
node('et_in_et'){
elastest(tss: [], surefireReportsPattern: '**/target/surefire-reports/TEST-*.xml', project: 'ETinET', sut: 7) {
stage ('docker container')
def mycontainer = docker.image('imdeasoftware/ubuntujq:latest')
mycontainer.pull()
mycontainer.inside() {
sh 'env'
stage ('prepare test')
git 'https://github.com/elastest/elastest-monitoring-service.git'
elastest_url = env.ET_SUT_PROTOCOL + '://elastest:3xp3r1m3nt47@' + env.ET_SUT_HOST + ':' + env.ET_SUT_PORT
stage ("Run tests")
try {
sh "cd e2e-test; bash ./start-instance.sh "+elastest_url
} catch(e) {
echo 'Err: ' + e.toString()
}
}
}
}