This repository has been archived by the owner on May 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
54fd525
commit 0b84a25
Showing
8 changed files
with
103 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,5 @@ | |
# | ||
|
||
module JenkinsPipelineBuilder | ||
VERSION = "0.1.6" | ||
VERSION = "0.2.1" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,8 +71,8 @@ def self.publish_to_artifactory(wrapper, xml) | |
xml.details { | ||
xml.artifactoryUrl wrapper[:url] | ||
xml.artifactoryName wrapper[:'artifactory-name'] | ||
xml.repositoryKey wrapper[:'target-repo'] | ||
xml.snapshotsRepositoryKey wrapper[:'target-repo'] | ||
xml.repositoryKey wrapper[:'release-repo'] | ||
xml.snapshotsRepositoryKey wrapper.fetch(:'snapshot-repo', wrapper[:'release-repo']) | ||
} | ||
xml.deployPattern wrapper[:publish] | ||
xml.resolvePattern | ||
|
@@ -87,5 +87,47 @@ def self.publish_to_artifactory(wrapper, xml) | |
xml.discardBuildArtifacts true | ||
} | ||
end | ||
|
||
def self.artifactory_maven3_configurator(wrapper, xml) | ||
xml.send('org.jfrog.hudson.maven3.ArtifactoryMaven3Configurator') { # plugin="[email protected]" | ||
xml.details { | ||
xml.artifactoryUrl wrapper[:url] | ||
xml.artifactoryName wrapper[:'artifactory-name'] | ||
xml.repositoryKey wrapper[:'release-repo'] | ||
xml.snapshotsRepositoryKey wrapper.fetch(:'snapshot-repo', wrapper[:'release-repo']) | ||
} | ||
xml.deployArtifacts wrapper.fetch(:'deploy', true) | ||
xml.artifactDeploymentPatterns { | ||
xml.includePatterns | ||
xml.excludePatterns | ||
} | ||
xml.includeEnvVars false | ||
xml.deployBuildInfo wrapper.fetch(:'publish-build-info', true) | ||
xml.envVarsPatterns { | ||
xml.includePatterns | ||
xml.excludePatterns '*password*,*secret*' | ||
} | ||
xml.runChecks false | ||
xml.violationRecipients | ||
xml.includePublishArtifacts false | ||
xml.scopes | ||
xml.licenseAutoDiscovery true | ||
xml.disableLicenseAutoDiscovery false | ||
xml.discardOldBuilds false | ||
xml.discardBuildArtifacts true | ||
xml.matrixParams | ||
xml.enableIssueTrackerIntegration false | ||
xml.aggregateBuildIssues false | ||
xml.blackDuckRunChecks false | ||
xml.blackDuckAppName | ||
xml.blackDuckAppVersion | ||
xml.blackDuckReportRecipients | ||
xml.blackDuckScopes | ||
xml.blackDuckIncludePublishedArtifacts false | ||
xml.autoCreateMissingComponentRequests true | ||
xml.autoDiscardStaleComponentRequests true | ||
xml.filterExcludedArtifactsFromBuild false | ||
} | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters