forked from eclipse-keyple/keyple-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
51 lines (42 loc) · 1.45 KB
/
Jenkinsfile
File metadata and controls
51 lines (42 loc) · 1.45 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
node {
def mvnHome
/*
stage ('hello') {
echo "Hello"
}
*/
stage('Checkout github') { // for display purposes
// Get some code from a GitHub repository
//git 'https://github.com/jglick/simple-maven-project-with-tests.git'
// Get the Maven tool.
// ** NOTE: This 'M3' Maven tool must be configured
// ** in the global configuration.
//checkout scm
git credentialsId: 'odelcroi-github',
url: 'https://github.com/calypsonet/keyple-java.git', branch:'maven-versioning'
}
stage('Build keyple core') {
sh './gradlew keyple-core:build --info'
}
stage('Build keyple calypso') {
sh './gradlew keyple-calypso:build --info'
}
stage('Build java keyple plugins') {
sh './gradlew keyple-plugin:build --info'
}
stage('Build java keyple examples') {
sh './gradlew example:build --info'
}
stage('Build android OMAPI Plugin') {
sh './gradlew :keyple-plugin:keyple-plugin-android-omapi:build :keyple-plugin:keyple-plugin-android-omapi:generateDebugJavadoc --info'
}
stage('Build android NFC Plugin') {
sh './gradlew :keyple-plugin:keyple-plugin-android-nfc:build :keyple-plugin:keyple-plugin-android-nfc:generateDebugJavadoc --info'
}
stage('Build android NFC Example APP') {
sh './gradlew -b ./example/calypso/android/nfc/build.gradle assembleDebug --info'
}
stage('Finished') {
echo "Finished"
}
}