Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- artifactory {
- contextUrl = "${artifactory_contextUrl}"
- publish {
- repository {
- repoKey = 'maven~~~'
- username = Joe
- password = Dirt
- maven = true
- defaults {
- publications('mavenJava')
- properties = ['qa.level': 'build', 'p.Vals': getPVals.pvals]
- publishArtifacts = true
- publishBuildInfo = true
- publishPom = true
- publishIvy = false
- }
- }
- }
- resolve {~~~
- }
- }
- task getPVals {
- def pValList = ['val1','val2','val3']
- getPVals.ext.pvals = pValList.join(',')
- }
Add Comment
Please, Sign In to add comment