To deploy artifacts to Artifactory, in the Post build Actions section, add a "Deploy artifacts to Artifactory" post build action.
Field | Description |
---|---|
Artifactory Server | Artifactory server as defined in the Artifactory plugin configuration. The selected server will be used for artifacts resolution and build info deployment. |
Target releases repository | Repository to deploy release artifacts to. Using the text mode will enable you to also use placeholders for environment variable which will be replaced with your environment value at build time. |
Target snapshot repository | Repository to deploy snapshots artifacts to. Using the text mode will enable you to also use placeholders for environment variable which will be replaced with your environment value at build time |
Custom staging configuration | Select a named staging configuration defined by an Artifactory User Plugin or select "None" to use the default staging settings. |
Override default credentials | Override default credentials. |
Deploy even if the build is unstable | Perform deployment even if the build is unstable. |
Override build name | Override Artifactory default build name. |
Deploy maven artifacts | Publish produced build artifacts to Artifactory. |
Capture and publish build info | Publish build information to Artifactory. |
Enable isolated resolution for downstream builds (requires Artifactory Pro) | When checked, a build parameter named ARTIFACTORY_BUILD_ROOT with a value of ${JOB_NAME}-${BUILD_NUMBER} will be sent to downstream builds. For example: ARTIFACTORY_BUILD_ROOT=Infrastructure-1025. The value of the parameter is also attached to published artifacts as the property: build.root as a matrix parameter on the deployment URL. Downstream builds will add build.root=${ARTIFACTORY_BUILD_ROOT} as a matrix parameter to their Artifactory resolution URL For example: build.root=Infrastructure-1025 to achieve isolated resolution from Artifactory and only resolve artifacts produced by the root build that triggered it, avoiding any artifacts produced by other runs that are out of the build chain. |