jenkins-job-builder/tests/wrappers/fixtures/artifactory002.xml
Andrey Kostrov 2bff652b03 Add Specs support for artifactory_generic
Add support of Artifactory Specs
https://www.jfrog.com/confluence/display/RTF/Using+File+Specs

As for now, JJB doesnt support of Artifactory Specs,
only deprecated way is supported.

This patch adds possibility for using of Specs inside Jenkins
plugin
https://www.jfrog.com/confluence/display/RTF/Jenkins+Artifactory+Plug-in
Change-Id: I69e64202972f9f9b9147fdd65daffc2734a7d0cd
2019-04-10 13:58:31 +03:00

26 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<buildWrappers>
<org.jfrog.hudson.generic.ArtifactoryGenericConfigurator>
<details>
<artifactoryName>test</artifactoryName>
<artifactoryUrl>http://artifactory.example.net/artifactory</artifactoryUrl>
<repositoryKey>release-repo</repositoryKey>
<snapshotsRepositoryKey>snapshot-repo</snapshotsRepositoryKey>
</details>
<useSpecs>false</useSpecs>
<deployPattern>*.zip=&gt;results</deployPattern>
<resolvePattern>libs-release-local:prod/*=&gt;prod-jars</resolvePattern>
<matrixParams>custom_prop=${PROJECT_ENV_VAR}</matrixParams>
<deployBuildInfo>true</deployBuildInfo>
<includeEnvVars>true</includeEnvVars>
<discardOldBuilds>true</discardOldBuilds>
<discardBuildArtifacts>true</discardBuildArtifacts>
<envVarsPatterns>
<includePatterns>PROJECT_*,ORG_*</includePatterns>
<excludePatterns/>
</envVarsPatterns>
</org.jfrog.hudson.generic.ArtifactoryGenericConfigurator>
</buildWrappers>
</project>