Guest User

Untitled

a guest
Jan 4th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. artifactory {
  2. contextUrl = "${artifactory_contextUrl}"
  3. publish {
  4. repository {
  5. repoKey = 'maven~~~'
  6. username = Joe
  7. password = Dirt
  8. maven = true
  9. defaults {
  10. publications('mavenJava')
  11. properties = ['qa.level': 'build', 'p.Vals': getPVals.pvals]
  12. publishArtifacts = true
  13. publishBuildInfo = true
  14. publishPom = true
  15. publishIvy = false
  16. }
  17. }
  18. }
  19. resolve {~~~
  20. }
  21. }
  22.  
  23. task getPVals {
  24. def pValList = ['val1','val2','val3']
  25. getPVals.ext.pvals = pValList.join(',')
  26. }
Add Comment
Please, Sign In to add comment