Skip to content
This repository was archived by the owner on Dec 7, 2020. It is now read-only.

Commit d2e25b6

Browse files
author
Marek Sierociński
committed
Adding Jenkinsfile
1 parent 40aae48 commit d2e25b6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Jenkinsfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env groovy
2+
3+
node('linux && maven && gpg') {
4+
ansiColor('xterm') {
5+
stage('Checkout') {
6+
git([
7+
url: 'https://github.com/bitbar/opencv-library.git',
8+
branch: env.BRANCH,
9+
poll: true
10+
])
11+
}
12+
13+
stage('Build') {
14+
sh("""mvn clean \
15+
package \
16+
source:jar \
17+
javadoc:jar \
18+
verify \
19+
deploy:deploy \
20+
-DaltDeploymentRepository=ossrh::default::https://oss.sonatype.org/service/local/staging/deploy/maven2/
21+
""")
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)