-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile.1
37 lines (37 loc) · 1015 Bytes
/
Jenkinsfile.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
pipeline {
agent any
tools {
maven 'localMaven'
}
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage ('Configure') {
steps {
bat '''
D:\\jdev\\oracle_common\\common\\bin\\wlst.cmd .\\config\\datasource.py .\\config\\datasources
'''
}
}
stage ('Deploy for testing') {
steps {
bat '''
mvn pre-integration-test -DoracleServerUrl=\"http://localhost:7101\" -DoracleUsername=\"weblogic\" -DoraclePassword=\"welcome1\" -DoracleHome=\"D:/jdev/\"
'''
}
}
stage ('Test') {
steps {
bat 'mvn com.smartbear.soapui:soapui-maven-plugin:5.4.0:test -U'
}
post {
always {
junit "results/*.xml"
}
}
}
}
}