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