forked from bloxbean/cardano-client-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile.it
40 lines (34 loc) · 836 Bytes
/
Jenkinsfile.it
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
pipeline {
agent any
parameters {
string(
defaultValue: '',
name: 'TAG_NAME',
trim: true
)
}
tools {
jdk 'jdk-11'
}
environment {
SIGNING_PASSWORD = credentials("signing_password")
BF_PROJECT_ID = credentials("BF_PROJECT_ID")
}
stages {
stage('Build') {
steps {
sh './gradlew clean build -Psigning.password=${SIGNING_PASSWORD} --stacktrace'
}
}
stage('integrationTest') {
steps {
sh './gradlew :integration-test:integrationTest -PBF_PROJECT_ID=${BF_PROJECT_ID}'
}
}
stage('Results') {
steps {
archiveArtifacts 'build/libs/*.jar'
}
}
}
}