Skip to content

Commit 3b131cd

Browse files
author
Ludovic Richoux
committed
update(config) adding deployment on artifactory
1 parent 50f41d1 commit 3b131cd

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Jenkinsfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,23 @@ pipeline {
2828
}
2929
}
3030

31+
stage ('Artifactory configuration') {
32+
steps {
33+
rtServer (
34+
id: "InriaArtifactoryServer",
35+
url: 'http://maven.irisa.fr/artifactory',
36+
credentialsId: 'credRepoInria' // add credentials in Jenkins
37+
)
38+
39+
rtMavenDeployer (
40+
id: "MAVEN_DEPLOYER",
41+
serverId: "InriaArtifactoryServer",
42+
releaseRepo: "malai-public-release",
43+
snapshotRepo: "malai-public-snapshot"
44+
)
45+
}
46+
}
47+
3148
stage ('Build') {
3249
steps {
3350
rtMavenRun (
@@ -38,6 +55,14 @@ pipeline {
3855
}
3956
}
4057

58+
stage ('Publish build info') {
59+
steps {
60+
rtPublishBuildInfo (
61+
serverId: "InriaArtifactoryServer"
62+
)
63+
}
64+
}
65+
4166
}
4267
post{
4368
success {

0 commit comments

Comments
 (0)