jf
This commit is contained in:
parent
3040e94fd4
commit
281dec4466
1 changed files with 8 additions and 7 deletions
15
jenkins/Jenkinsfile
vendored
15
jenkins/Jenkinsfile
vendored
|
@ -40,6 +40,7 @@ pipeline {
|
||||||
archiveArtifacts 'dist/add2vals'
|
archiveArtifacts 'dist/add2vals'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage ('Publish to Artifactory'){
|
stage ('Publish to Artifactory'){
|
||||||
def server = Artifactory.server 'Default Artifactory Server'
|
def server = Artifactory.server 'Default Artifactory Server'
|
||||||
def uploadSpec = """{
|
def uploadSpec = """{
|
||||||
|
@ -48,13 +49,13 @@ pipeline {
|
||||||
"pattern": "dist/add2vals",
|
"pattern": "dist/add2vals",
|
||||||
"target": "add2vals/${BUILD_NUMBER}/",
|
"target": "add2vals/${BUILD_NUMBER}/",
|
||||||
"props": "Integration-Tested=Yes;Performance-Tested=No"
|
"props": "Integration-Tested=Yes;Performance-Tested=No"
|
||||||
}
|
|
||||||
]
|
|
||||||
}"""
|
|
||||||
server.upload(uploadSpec)
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}"""
|
||||||
|
server.upload(uploadSpec)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue