├── .gitattributes ├── .github ├── CODEOWNERS ├── dependabot.yml ├── labeler.yml ├── release-drafter.yml └── workflows │ ├── jenkins-security-scan.yml │ ├── labeler.yml │ └── release-drafter.yml ├── .gitignore ├── .mvn ├── extensions.xml └── maven.config ├── .sonarcloud.properties ├── CONTRIBUTING.adoc ├── Jenkinsfile ├── MIT-LICENSE.txt ├── README.adoc ├── images ├── git-advanced-checkout-behaviors.png ├── git-advanced-clone-behaviours.png ├── git-advanced-sub-modules-behaviours.png ├── git-calculate-changelog-against-a-specific-branch.png ├── git-checkout-to-a-sub-directory.png ├── git-checkout-to-specific-local-branch.png ├── git-clean-after-checkout.png ├── git-clean-before-checkout.png ├── git-create-a-tag-for-every-build.png ├── git-credentials-usernamepassword-binding-freestyle-project.png ├── git-credentials-usernamepassword-binding-pipline-job.png ├── git-custom-user-name-e-mail-address.png ├── git-do-not-trigger-a-build-on-commit-notifications.png ├── git-extension-for-first-build.png ├── git-force-polling-using-workspace.png ├── git-global-configuration.png ├── git-lfs-pull-after-checkout.png ├── git-merge-before-build.png ├── git-polling-ignores-commits-from-certain-users.png ├── git-polling-ignores-commits-in-certain-paths.png ├── git-polling-ignores-commits-with-certain-messages.png ├── git-prune-stale-remote-tracking-branches.png ├── git-prune-stale-tags.png ├── git-repository-browser-assemblaweb.png ├── git-repository-browser-bitbucket.png ├── git-repository-browser-bitbucketserver.png ├── git-repository-browser-cgit.png ├── git-repository-browser-fisheye.png ├── git-repository-browser-gitblit.png ├── git-repository-browser-github.png ├── git-repository-browser-gitiles.png ├── git-repository-browser-gitlab.png ├── git-repository-browser-gitlist.png ├── git-repository-browser-gitweb.png ├── git-repository-browser-gogs.png ├── git-repository-browser-kiln.png ├── git-repository-browser-microsoft.png ├── git-repository-browser-redmine.png ├── git-repository-browser-rhodecode.png ├── git-repository-browser-stash.png ├── git-repository-browser-viewgit.png ├── git-repository-browser.png ├── git-repository-configuration.png ├── git-security-configuration.png ├── git-sparse-checkout-paths.png ├── git-strategy-for-choosing-what-to-build.png ├── git-use-commit-author-in-changelog.png ├── git-wipe-out-repository-and-force-clone.png ├── jenkins-and-git.png ├── multibranch-pipeline.png └── pipeline-syntax.png ├── pom.xml └── src ├── main ├── java │ ├── hudson │ │ └── plugins │ │ │ └── git │ │ │ ├── ApiTokenPropertyConfiguration.java │ │ │ ├── BranchSpec.java │ │ │ ├── ChangelogToBranchOptions.java │ │ │ ├── GitBranchSpecifierColumn.java │ │ │ ├── GitBranchTokenMacro.java │ │ │ ├── GitChangeLogParser.java │ │ │ ├── GitChangeSet.java │ │ │ ├── GitChangeSetList.java │ │ │ ├── GitPublisher.java │ │ │ ├── GitRevisionBuildParameters.java │ │ │ ├── GitRevisionTokenMacro.java │ │ │ ├── GitSCM.java │ │ │ ├── GitSCMBackwardCompatibility.java │ │ │ ├── GitStatus.java │ │ │ ├── GitStatusCrumbExclusion.java │ │ │ ├── GitTagAction.java │ │ │ ├── ObjectIdConverter.java │ │ │ ├── RemoteConfigConverter.java │ │ │ ├── RevisionParameterAction.java │ │ │ ├── SubmoduleCombinator.java │ │ │ ├── SubmoduleConfig.java │ │ │ ├── UserMergeOptions.java │ │ │ ├── UserRemoteConfig.java │ │ │ ├── browser │ │ │ ├── AssemblaWeb.java │ │ │ ├── BitbucketServer.java │ │ │ ├── BitbucketWeb.java │ │ │ ├── CGit.java │ │ │ ├── FisheyeGitRepositoryBrowser.java │ │ │ ├── GitBlitRepositoryBrowser.java │ │ │ ├── GitLab.java │ │ │ ├── GitList.java │ │ │ ├── GitRepositoryBrowser.java │ │ │ ├── GitWeb.java │ │ │ ├── GithubWeb.java │ │ │ ├── Gitiles.java │ │ │ ├── GitoriousWeb.java │ │ │ ├── GogsGit.java │ │ │ ├── KilnGit.java │ │ │ ├── Phabricator.java │ │ │ ├── RedmineWeb.java │ │ │ ├── RhodeCode.java │ │ │ ├── Stash.java │ │ │ ├── TFS2013GitRepositoryBrowser.java │ │ │ ├── ViewGitWeb.java │ │ │ └── casc │ │ │ │ └── GitLabConfigurator.java │ │ │ ├── extensions │ │ │ ├── FakeGitSCMExtension.java │ │ │ ├── GitClientConflictException.java │ │ │ ├── GitClientType.java │ │ │ ├── GitSCMExtension.java │ │ │ ├── GitSCMExtensionDescriptor.java │ │ │ └── impl │ │ │ │ ├── AuthorInChangelog.java │ │ │ │ ├── BuildChooserSetting.java │ │ │ │ ├── BuildSingleRevisionOnly.java │ │ │ │ ├── ChangelogToBranch.java │ │ │ │ ├── CheckoutOption.java │ │ │ │ ├── CleanBeforeCheckout.java │ │ │ │ ├── CleanCheckout.java │ │ │ │ ├── CloneOption.java │ │ │ │ ├── DisableRemotePoll.java │ │ │ │ ├── FirstBuildChangelog.java │ │ │ │ ├── GitLFSPull.java │ │ │ │ ├── IgnoreNotifyCommit.java │ │ │ │ ├── LocalBranch.java │ │ │ │ ├── MessageExclusion.java │ │ │ │ ├── PathRestriction.java │ │ │ │ ├── PerBuildTag.java │ │ │ │ ├── PreBuildMerge.java │ │ │ │ ├── PruneStaleBranch.java │ │ │ │ ├── PruneStaleTag.java │ │ │ │ ├── RelativeTargetDirectory.java │ │ │ │ ├── ScmName.java │ │ │ │ ├── SparseCheckoutPath.java │ │ │ │ ├── SparseCheckoutPaths.java │ │ │ │ ├── SubmoduleOption.java │ │ │ │ ├── UserExclusion.java │ │ │ │ ├── UserIdentity.java │ │ │ │ └── WipeWorkspace.java │ │ │ ├── opt │ │ │ └── PreBuildMergeOptions.java │ │ │ └── util │ │ │ ├── AncestryBuildChooser.java │ │ │ ├── Build.java │ │ │ ├── BuildChooser.java │ │ │ ├── BuildChooserContext.java │ │ │ ├── BuildChooserDescriptor.java │ │ │ ├── BuildData.java │ │ │ ├── CommitTimeComparator.java │ │ │ ├── DefaultBuildChooser.java │ │ │ ├── GitUtils.java │ │ │ ├── InverseBuildChooser.java │ │ │ ├── MergeRecord.java │ │ │ └── RevCommitRepositoryCallback.java │ └── jenkins │ │ └── plugins │ │ └── git │ │ ├── AbstractGitSCMSource.java │ │ ├── DisableHooks.java │ │ ├── GitBranchSCMHead.java │ │ ├── GitBranchSCMRevision.java │ │ ├── GitCredentialBindings.java │ │ ├── GitHooksConfiguration.java │ │ ├── GitRefSCMHead.java │ │ ├── GitRefSCMRevision.java │ │ ├── GitRemoteHeadRefAction.java │ │ ├── GitSCMBuilder.java │ │ ├── GitSCMFile.java │ │ ├── GitSCMFileSystem.java │ │ ├── GitSCMHeadMixin.java │ │ ├── GitSCMMatrixUtil.java │ │ ├── GitSCMSource.java │ │ ├── GitSCMSourceContext.java │ │ ├── GitSCMSourceDefaults.java │ │ ├── GitSCMSourceRequest.java │ │ ├── GitSCMTelescope.java │ │ ├── GitStep.java │ │ ├── GitTagSCMHead.java │ │ ├── GitTagSCMRevision.java │ │ ├── GitToolChooser.java │ │ ├── GitUsernamePasswordBinding.java │ │ ├── MatrixGitPublisher.java │ │ ├── MergeWithGitSCMExtension.java │ │ ├── UnsetHooks.java │ │ └── traits │ │ ├── AuthorInChangelogTrait.java │ │ ├── BranchDiscoveryTrait.java │ │ ├── CheckoutOptionTrait.java │ │ ├── CleanAfterCheckoutTrait.java │ │ ├── CleanBeforeCheckoutTrait.java │ │ ├── CloneOptionTrait.java │ │ ├── DiscoverOtherRefsTrait.java │ │ ├── FirstBuildChangelogTrait.java │ │ ├── GitBrowserSCMSourceTrait.java │ │ ├── GitLFSPullTrait.java │ │ ├── GitSCMExtensionTrait.java │ │ ├── GitSCMExtensionTraitDescriptor.java │ │ ├── GitToolSCMSourceTrait.java │ │ ├── IgnoreOnPushNotificationTrait.java │ │ ├── LocalBranchTrait.java │ │ ├── PruneStaleBranchTrait.java │ │ ├── PruneStaleTagTrait.java │ │ ├── RefSpecsSCMSourceTrait.java │ │ ├── RemoteNameSCMSourceTrait.java │ │ ├── SparseCheckoutPathsTrait.java │ │ ├── SubmoduleOptionTrait.java │ │ ├── TagDiscoveryTrait.java │ │ ├── UserIdentityTrait.java │ │ ├── WipeWorkspaceTrait.java │ │ └── package-info.java ├── resources │ ├── hudson │ │ └── plugins │ │ │ └── git │ │ │ ├── ApiTokenPropertyConfiguration │ │ │ ├── config.jelly │ │ │ ├── help-tokens.html │ │ │ ├── resources.css │ │ │ └── resources.js │ │ │ ├── BranchSpec │ │ │ ├── config.groovy │ │ │ ├── config_it.properties │ │ │ ├── config_ja.properties │ │ │ ├── help-name.html │ │ │ └── help-name_ja.html │ │ │ ├── ChangelogToBranchOptions │ │ │ ├── config.jelly │ │ │ ├── config_it.properties │ │ │ ├── config_ja.properties │ │ │ ├── help-compareRemote.html │ │ │ ├── help-compareRemote_ja.html │ │ │ ├── help-compareTarget.html │ │ │ └── help-compareTarget_ja.html │ │ │ ├── GitBranchSpecifierColumn │ │ │ └── column.jelly │ │ │ ├── GitBranchTokenMacro │ │ │ └── help.jelly │ │ │ ├── GitChangeSetList │ │ │ ├── digest.jelly │ │ │ ├── digest_it.properties │ │ │ ├── digest_ja.properties │ │ │ ├── index.jelly │ │ │ ├── index_it.properties │ │ │ └── index_ja.properties │ │ │ ├── GitPublisher │ │ │ ├── config.jelly │ │ │ ├── config_it.properties │ │ │ ├── config_ja.properties │ │ │ ├── help-branchesToPush.html │ │ │ ├── help-branchesToPush_ja.html │ │ │ ├── help-notesToPush.html │ │ │ ├── help-notesToPush_ja.html │ │ │ ├── help-pushMerge.html │ │ │ ├── help-pushMerge_ja.html │ │ │ ├── help-pushOnlyIfSuccess.html │ │ │ ├── help-pushOnlyIfSuccess_ja.html │ │ │ └── help-tagsToPush.html │ │ │ ├── GitRevisionBuildParameters │ │ │ ├── config.jelly │ │ │ ├── config_it.properties │ │ │ ├── help-combineQueuedCommits.html │ │ │ └── help.html │ │ │ ├── GitRevisionTokenMacro │ │ │ └── help.jelly │ │ │ ├── GitSCM │ │ │ ├── buildEnv.groovy │ │ │ ├── buildEnv.properties │ │ │ ├── config.jelly │ │ │ ├── config_it.properties │ │ │ ├── config_ja.properties │ │ │ ├── global.jelly │ │ │ ├── global_it.properties │ │ │ ├── global_ja.properties │ │ │ ├── help-addGitTagAction.html │ │ │ ├── help-allowSecondFetch.html │ │ │ ├── help-branches.html │ │ │ ├── help-browser.html │ │ │ ├── help-choosingStrategy.html │ │ │ ├── help-createAccountBasedOnEmail.html │ │ │ ├── help-createAccountBasedOnEmail_ja.html │ │ │ ├── help-defaultClientType.html │ │ │ ├── help-disableGitToolChooser.html │ │ │ ├── help-doGenerateSubmoduleConfigurations.html │ │ │ ├── help-extensions.html │ │ │ ├── help-gitTool.html │ │ │ ├── help-globalConfigEmail.html │ │ │ ├── help-globalConfigEmail_ja.html │ │ │ ├── help-globalConfigName.html │ │ │ ├── help-globalConfigName_ja.html │ │ │ ├── help-hideCredentials.html │ │ │ ├── help-showEntireCommitSummaryInChanges.html │ │ │ ├── help-submoduleCfg.html │ │ │ ├── help-useExistingAccountWithSameEmail.html │ │ │ ├── help-userRemoteConfigs.html │ │ │ ├── help-userRemoteConfigs_ja.html │ │ │ ├── help.html │ │ │ ├── project-changes.jelly │ │ │ ├── project-changes_it.properties │ │ │ └── project-changes_ja.properties │ │ │ ├── GitTagAction │ │ │ ├── tagForm.jelly │ │ │ ├── tagForm_it.properties │ │ │ ├── tagForm_ja.properties │ │ │ └── update-row.js │ │ │ ├── Messages.properties │ │ │ ├── Messages_ja.properties │ │ │ ├── SubmoduleConfig │ │ │ ├── help-branches.html │ │ │ └── help-submoduleName.html │ │ │ ├── UserMergeOptions │ │ │ ├── config.jelly │ │ │ ├── config_it.properties │ │ │ ├── config_ja.properties │ │ │ ├── help-fastForwardMode.html │ │ │ ├── help-fastForwardMode_ja.html │ │ │ ├── help-mergeRemote.html │ │ │ ├── help-mergeRemote_ja.html │ │ │ ├── help-mergeStrategy.html │ │ │ ├── help-mergeStrategy_ja.html │ │ │ ├── help-mergeTarget.html │ │ │ └── help-mergeTarget_ja.html │ │ │ ├── UserRemoteConfig │ │ │ ├── config.jelly │ │ │ ├── config_it.properties │ │ │ ├── config_ja.properties │ │ │ ├── help-credentialsId.html │ │ │ ├── help-name.html │ │ │ ├── help-name_ja.html │ │ │ ├── help-refspec.html │ │ │ ├── help-refspec_ja.html │ │ │ ├── help-url.html │ │ │ └── help-url_ja.html │ │ │ ├── browser │ │ │ ├── AssemblaWeb │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── BitbucketServer │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── BitbucketWeb │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── CGit │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── FisheyeGitRepositoryBrowser │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── GitBlitRepositoryBrowser │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ ├── help-projectName.html │ │ │ │ └── help-repoUrl.html │ │ │ ├── GitLab │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ ├── help-repoUrl.html │ │ │ │ └── help-version.html │ │ │ ├── GitList │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── GitWeb │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── GithubWeb │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── Gitiles │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── GitoriousWeb │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── GogsGit │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── KilnGit │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── Phabricator │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ ├── help-repo.html │ │ │ │ └── help-repoUrl.html │ │ │ ├── RedmineWeb │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── RhodeCode │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── Stash │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ ├── TFS2013GitRepositoryBrowser │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── help-repoUrl.html │ │ │ └── ViewGitWeb │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ ├── help-projectName.html │ │ │ │ └── help-repoUrl.html │ │ │ ├── extensions │ │ │ ├── GitSCMExtension │ │ │ │ └── config.groovy │ │ │ └── impl │ │ │ │ ├── AuthorInChangelog │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── BuildChooserSetting │ │ │ │ ├── config.groovy │ │ │ │ ├── config_it.properties │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── BuildSingleRevisionOnly │ │ │ │ └── help.html │ │ │ │ ├── ChangelogToBranch │ │ │ │ ├── config.groovy │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── CheckoutOption │ │ │ │ ├── config.groovy │ │ │ │ ├── config_it.properties │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help-timeout.html │ │ │ │ └── help-timeout_ja.html │ │ │ │ ├── CleanBeforeCheckout │ │ │ │ ├── config.groovy │ │ │ │ ├── help-deleteUntrackedNestedRepositories.html │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── CleanCheckout │ │ │ │ ├── config.groovy │ │ │ │ ├── help-deleteUntrackedNestedRepositories.html │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── CloneOption │ │ │ │ ├── config.groovy │ │ │ │ ├── config_it.properties │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help-depth.html │ │ │ │ ├── help-depth_ja.html │ │ │ │ ├── help-honorRefspec.html │ │ │ │ ├── help-honorRefspec_ja.html │ │ │ │ ├── help-noTags.html │ │ │ │ ├── help-noTags_ja.html │ │ │ │ ├── help-reference.html │ │ │ │ ├── help-reference_ja.html │ │ │ │ ├── help-shallow.html │ │ │ │ ├── help-shallow_ja.html │ │ │ │ ├── help-timeout.html │ │ │ │ └── help-timeout_ja.html │ │ │ │ ├── DisableRemotePoll │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── FirstBuildChangelog │ │ │ │ └── help.html │ │ │ │ ├── GitLFSPull │ │ │ │ └── help.html │ │ │ │ ├── IgnoreNotifyCommit │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── LocalBranch │ │ │ │ ├── config.groovy │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── MessageExclusion │ │ │ │ ├── config.groovy │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help-excludedMessage.html │ │ │ │ └── help-excludedMessage_ja.html │ │ │ │ ├── Messages.properties │ │ │ │ ├── PathRestriction │ │ │ │ ├── config.groovy │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help-excludedRegions.html │ │ │ │ ├── help-excludedRegions_ja.html │ │ │ │ ├── help-includedRegions.html │ │ │ │ ├── help-includedRegions_ja.html │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── PerBuildTag │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── PreBuildMerge │ │ │ │ ├── config.groovy │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── PruneStaleBranch │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── RelativeTargetDirectory │ │ │ │ ├── config.groovy │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help-relativeTargetDir.html │ │ │ │ └── help-relativeTargetDir_ja.html │ │ │ │ ├── ScmName │ │ │ │ ├── config.groovy │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── SparseCheckoutPath │ │ │ │ ├── config.jelly │ │ │ │ ├── config_it.properties │ │ │ │ └── config_ja.properties │ │ │ │ ├── SparseCheckoutPaths │ │ │ │ ├── config.jelly │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ │ ├── SubmoduleOption │ │ │ │ ├── config.groovy │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help-depth.html │ │ │ │ ├── help-depth_ja.html │ │ │ │ ├── help-disableSubmodules.html │ │ │ │ ├── help-disableSubmodules_ja.html │ │ │ │ ├── help-parentCredentials.html │ │ │ │ ├── help-parentCredentials_ja.html │ │ │ │ ├── help-recursiveSubmodules.html │ │ │ │ ├── help-recursiveSubmodules_ja.html │ │ │ │ ├── help-reference.html │ │ │ │ ├── help-reference_ja.html │ │ │ │ ├── help-shallow.html │ │ │ │ ├── help-shallow_ja.html │ │ │ │ ├── help-threads.html │ │ │ │ ├── help-timeout.html │ │ │ │ ├── help-timeout_ja.html │ │ │ │ ├── help-trackingSubmodules.html │ │ │ │ └── help-trackingSubmodules_ja.html │ │ │ │ ├── UserExclusion │ │ │ │ ├── config.groovy │ │ │ │ ├── config_ja.properties │ │ │ │ ├── help-excludedUsers.html │ │ │ │ └── help-excludedUsers_ja.html │ │ │ │ ├── UserIdentity │ │ │ │ ├── config.groovy │ │ │ │ ├── help-email.html │ │ │ │ ├── help-email_ja.html │ │ │ │ ├── help-name.html │ │ │ │ └── help-name_ja.html │ │ │ │ └── WipeWorkspace │ │ │ │ ├── help.html │ │ │ │ └── help_ja.html │ │ │ └── util │ │ │ ├── AncestryBuildChooser │ │ │ ├── config.groovy │ │ │ └── config.properties │ │ │ ├── BuildChooser │ │ │ └── config.groovy │ │ │ ├── BuildData │ │ │ ├── index.jelly │ │ │ ├── index_it.properties │ │ │ ├── index_ja.properties │ │ │ ├── summary.jelly │ │ │ ├── summary_it.properties │ │ │ └── summary_ja.properties │ │ │ └── InverseBuildChooser │ │ │ ├── config.groovy │ │ │ └── config.properties │ ├── images │ │ └── symbols │ │ │ ├── git-icon.svg │ │ │ └── git-logo.svg │ ├── index.jelly │ └── jenkins │ │ └── plugins │ │ └── git │ │ ├── GitHooksConfiguration │ │ ├── config.jelly │ │ ├── help-allowedOnAgents.html │ │ └── help-allowedOnController.html │ │ ├── GitSCMSource │ │ ├── config-detail.jelly │ │ ├── config-detail_en.properties │ │ ├── config-detail_en_US.properties │ │ ├── config-detail_it.properties │ │ ├── config-detail_ja.properties │ │ ├── help-credentialsId.html │ │ └── help-remote.html │ │ ├── GitStep │ │ ├── config.jelly │ │ ├── config_it.properties │ │ ├── config_ja.properties │ │ ├── help-branch.html │ │ ├── help-changelog.html │ │ ├── help-credentialsId.html │ │ ├── help-poll.html │ │ ├── help-url.html │ │ ├── help.html │ │ └── help_ja.html │ │ ├── GitUsernamePasswordBinding │ │ ├── config.jelly │ │ ├── help-credentialsId.html │ │ └── help-gitToolName.html │ │ ├── Messages.properties │ │ ├── Messages_ja.properties │ │ └── traits │ │ ├── BranchDiscoveryTrait │ │ ├── config.jelly │ │ └── help.html │ │ ├── DiscoverOtherRefsTrait │ │ ├── config.jelly │ │ ├── help-nameMapping.html │ │ ├── help-ref.html │ │ └── help.html │ │ ├── GitBrowserSCMSourceTrait │ │ └── config.jelly │ │ ├── GitSCMExtensionTrait │ │ └── config.jelly │ │ ├── GitToolSCMSourceTrait │ │ └── config.jelly │ │ ├── LocalBranchTrait │ │ └── config.jelly │ │ ├── Messages.properties │ │ ├── RefSpecsSCMSourceTrait │ │ ├── RefSpecTemplate │ │ │ ├── config.jelly │ │ │ └── help-value.html │ │ └── config.jelly │ │ ├── RemoteNameSCMSourceTrait │ │ └── config.jelly │ │ └── TagDiscoveryTrait │ │ ├── config.jelly │ │ └── help.html └── webapp │ ├── extraRepo.html │ ├── gitPublisher.html │ ├── gitPublisher_ja.html │ └── sparseCheckoutPaths.html ├── spotbugs └── excludesFilter.xml └── test ├── java ├── hudson │ └── plugins │ │ └── git │ │ ├── AbstractGitProject.java │ │ ├── AbstractGitRepository.java │ │ ├── AbstractGitTestCase.java │ │ ├── BranchSpecTest.java │ │ ├── ChangelogToBranchOptionsTest.java │ │ ├── CheckoutStepSnippetizerTest.java │ │ ├── CliGitSCMTriggerLocalPollTest.java │ │ ├── CliGitSCMTriggerRemotePollTest.java │ │ ├── CredentialsUserRemoteConfigTest.java │ │ ├── FIPSModeUrlCheckTest.java │ │ ├── GitBranchSpecifierColumnTest.java │ │ ├── GitChangeLogParserTest.java │ │ ├── GitChangeSetBadArgsTest.java │ │ ├── GitChangeSetBasicTest.java │ │ ├── GitChangeSetEmptyTest.java │ │ ├── GitChangeSetEuroTest.java │ │ ├── GitChangeSetListTest.java │ │ ├── GitChangeSetPluginHistoryTest.java │ │ ├── GitChangeSetSimpleTest.java │ │ ├── GitChangeSetTest.java │ │ ├── GitChangeSetTimestampTest.java │ │ ├── GitChangeSetTruncateTest.java │ │ ├── GitChangeSetUtil.java │ │ ├── GitHooksTest.java │ │ ├── GitPublisherTest.java │ │ ├── GitRevisionTokenMacroTest.java │ │ ├── GitSCMBrowserTest.java │ │ ├── GitSCMSlowTest.java │ │ ├── GitSCMTest.java │ │ ├── GitSCMUnitTest.java │ │ ├── GitStatusCrumbExclusionTest.java │ │ ├── GitStatusSimpleTest.java │ │ ├── GitStatusTest.java │ │ ├── GitStatusTheoriesTest.java │ │ ├── GitStepSnippetizerTest.java │ │ ├── GitStepTest.java │ │ ├── GitTagActionTest.java │ │ ├── JGitSCMTriggerLocalPollTest.java │ │ ├── JGitSCMTriggerRemotePollTest.java │ │ ├── RevisionParameterActionRemoteUrlTest.java │ │ ├── RevisionParameterActionTest.java │ │ ├── SCMTriggerTest.java │ │ ├── Security2478Test.java │ │ ├── SubmoduleCombinatorTest.java │ │ ├── SubmoduleConfigTest.java │ │ ├── TestGitRepo.java │ │ ├── UserMergeOptionsTest.java │ │ ├── UserRemoteConfigRefSpecTest.java │ │ ├── UserRemoteConfigTest.java │ │ ├── browser │ │ ├── AssemblaWebDoCheckURLTest.java │ │ ├── AssemblaWebTest.java │ │ ├── BitbucketServerTest.java │ │ ├── BitbucketWebTest.java │ │ ├── CGitTest.java │ │ ├── FisheyeGitRepositoryBrowserTest.java │ │ ├── GitBlitRepositoryBrowserTest.java │ │ ├── GitChangeSetSample.java │ │ ├── GitLabTest.java │ │ ├── GitLabWorkflowTest.java │ │ ├── GitListTest.java │ │ ├── GitRepositoryBrowserTest.java │ │ ├── GitWebTest.java │ │ ├── GithubWebTest.java │ │ ├── GitilesTest.java │ │ ├── GitoriousWebTest.java │ │ ├── GogsGitTest.java │ │ ├── KilnGitTest.java │ │ ├── PhabricatorTest.java │ │ ├── RedmineWebTest.java │ │ ├── RhodeCodeTest.java │ │ ├── StashTest.java │ │ ├── TFS2013GitRepositoryBrowserTest.java │ │ ├── TFS2013GitRepositoryBrowserXSSTest.java │ │ ├── ViewGitWebTest.java │ │ └── casc │ │ │ └── GitLabConfiguratorTest.java │ │ ├── extensions │ │ ├── GitSCMExtensionTest.java │ │ └── impl │ │ │ ├── AuthorInChangelogTest.java │ │ │ ├── BuildSingleRevisionOnlyTest.java │ │ │ ├── ChangelogToBranchTest.java │ │ │ ├── CheckoutOptionTest.java │ │ │ ├── CheckoutOptionWorkflowTest.java │ │ │ ├── CleanBeforeCheckoutTest.java │ │ │ ├── CleanCheckoutTest.java │ │ │ ├── CloneOptionDepthTest.java │ │ │ ├── CloneOptionHonorRefSpecTest.java │ │ │ ├── CloneOptionNoTagsTest.java │ │ │ ├── CloneOptionShallowDefaultTagsTest.java │ │ │ ├── CloneOptionTest.java │ │ │ ├── EnforceGitClient.java │ │ │ ├── GitLFSPullTest.java │ │ │ ├── IgnoreNotifyCommitTest.java │ │ │ ├── LocalBranchTest.java │ │ │ ├── LogHandler.java │ │ │ ├── MessageExclusionTest.java │ │ │ ├── PathRestrictionTest.java │ │ │ ├── PreBuildMergeTest.java │ │ │ ├── PruneStaleBranchTest.java │ │ │ ├── PruneStaleTagPipelineTest.java │ │ │ ├── PruneStaleTagTest.java │ │ │ ├── SparseCheckoutPathTest.java │ │ │ ├── SparseCheckoutPathsTest.java │ │ │ ├── SubmoduleOptionDepthTest.java │ │ │ ├── SubmoduleOptionTest.java │ │ │ ├── UserExclusionTest.java │ │ │ ├── UserIdentityTest.java │ │ │ └── WipeWorkspaceTest.java │ │ ├── opt │ │ └── PreBuildMergeOptionsTest.java │ │ ├── security │ │ └── ApiTokenPropertyConfigurationTest.java │ │ └── util │ │ ├── AncestryBuildChooserTest.java │ │ ├── BuildDataLoggingTest.java │ │ ├── BuildDataTest.java │ │ ├── BuildTest.java │ │ ├── CandidateRevisionsTest.java │ │ ├── CommitTimeComparatorTest.java │ │ ├── DefaultBuildChooserTest.java │ │ ├── GitUtilsJenkinsRuleTest.java │ │ └── GitUtilsTest.java ├── jenkins │ └── plugins │ │ └── git │ │ ├── AbstractGitSCMSourceTest.java │ │ ├── AbstractGitSCMSourceTrivialTest.java │ │ ├── BrowsersJCasCCompatibilityTest.java │ │ ├── CliGitCommand.java │ │ ├── FIPSModeSCMSourceTest.java │ │ ├── GitBranchSCMHeadTest.java │ │ ├── GitHooksConfigurationTest.java │ │ ├── GitJCasCCompatibilityTest.java │ │ ├── GitRemoteHeadRefActionTest.java │ │ ├── GitSCMBuilderTest.java │ │ ├── GitSCMFileSystemTest.java │ │ ├── GitSCMJCasCCompatibilityTest.java │ │ ├── GitSCMSourceContextTest.java │ │ ├── GitSCMSourceDefaultsTest.java │ │ ├── GitSCMSourceTest.java │ │ ├── GitSCMSourceTraitsTest.java │ │ ├── GitSCMTelescopeTest.java │ │ ├── GitSampleRepoRule.java │ │ ├── GitToolChooserTest.java │ │ ├── GitToolJCasCCompatibilityTest.java │ │ ├── GitUsernamePasswordBindingTest.java │ │ ├── GlobalLibraryWithLegacyJCasCCompatibilityTest.java │ │ ├── GlobalLibraryWithModernJCasCCompatibilityTest.java │ │ ├── MergeWithGitSCMExtensionTest.java │ │ ├── ModernScmTest.java │ │ ├── RandomOrder.java │ │ ├── junit │ │ └── jupiter │ │ │ ├── GitSampleRepoExtension.java │ │ │ ├── GitSampleRepoExtensionClassTest.java │ │ │ ├── GitSampleRepoExtensionMethodTest.java │ │ │ └── WithGitSampleRepo.java │ │ └── traits │ │ ├── DiscoverOtherRefsTraitTest.java │ │ ├── GitSCMExtensionTraitTest.java │ │ ├── MultibranchProjectTraitsTest.java │ │ └── PruneStaleBranchTraitTest.java └── org │ └── jenkinsci │ └── plugins │ ├── gitclient │ ├── TestCliGitAPIImpl.java │ └── TestJGitAPIImpl.java │ └── gittagmessage │ ├── AbstractGitTagMessageExtensionTest.java │ └── GitTagMessageExtensionTest.java └── resources ├── hudson └── plugins │ └── git │ ├── GitSCMTest │ └── old1.xml │ └── browser │ ├── rawchangelog │ ├── rawchangelog-with-deleted-file │ └── rawchangelog-with-escape ├── jenkins └── plugins │ └── git │ ├── GitBranchSCMHeadTest │ ├── testMigrationNoBuildStorm.zip │ └── testMigrationNoBuildStorm_repositories.zip │ ├── GitSCMSourceTraitsTest │ ├── cleancheckout_v1_extension.xml │ ├── cleancheckout_v1_trait.xml │ ├── cleancheckout_v2_extension.xml │ ├── cleancheckout_v2_trait.xml │ ├── modern.xml │ └── pimpped_out.xml │ ├── browsers-casc.yaml │ ├── configuration-as-code.yaml │ ├── gitscm-casc.yaml │ ├── global-with-legacy-casc.yaml │ ├── global-with-modern-casc.yaml │ └── tool-casc.yaml ├── namespaceBranchRepo.ls-remote ├── namespaceBranchRepo.zip ├── namespaceBranchRepoCreate.sh ├── specialBranchRepo.ls-remote ├── specialBranchRepo.zip ├── specialBranchRepoCreate.sh └── ssh-keys ├── id_rsa └── id_rsa.pub /.gitattributes: -------------------------------------------------------------------------------- 1 | *.adoc text eol=lf 2 | *.config text eol=lf 3 | *.css text eol=lf 4 | *.groovy text eol=lf 5 | *.html text eol=lf 6 | *.java text eol=lf 7 | *.jelly text eol=lf 8 | *.js text eol=lf 9 | *.ls-remote text eol=lf 10 | *.properties text eol=lf 11 | *.pub text eol=lf 12 | *.sh text eol=lf 13 | *.txt text eol=lf 14 | *.xml text eol=lf 15 | *.yaml text eol=lf 16 | *.yml text eol=lf 17 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @jenkinsci/git-plugin-developers 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Per https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates 2 | version: 2 3 | updates: 4 | 5 | # Maintain dependencies for maven 6 | - package-ecosystem: "maven" 7 | directory: "/" 8 | schedule: 9 | interval: "weekly" 10 | labels: 11 | - "dependencies" 12 | 13 | # Maintain dependencies for GitHub actions 14 | - package-ecosystem: "github-actions" 15 | directory: "/" 16 | schedule: 17 | interval: "monthly" 18 | labels: 19 | - "skip-changelog" 20 | -------------------------------------------------------------------------------- /.github/labeler.yml: -------------------------------------------------------------------------------- 1 | skip-changelog: 2 | - changed-files: 3 | - any-glob-to-any-file: [ '.gitattributes', '.github/**/*', '.gitignore', 'crowdin.yml', '.mvn/**/*' ] 4 | 5 | dependencies: 6 | - changed-files: 7 | - any-glob-to-any-file: [ 'pom.xml' ] 8 | 9 | documentation: 10 | - changed-files: 11 | - any-glob-to-any-file: [ '*.adoc', '*.md', '*.txt', '**/*.html', '**/*.png', 'LICENSE*' ] 12 | 13 | tests: 14 | - changed-files: 15 | - any-glob-to-any-file: [ 'src/test/**/*' ] 16 | -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- 1 | _extends: .github 2 | tag-template: git-$NEXT_PATCH_VERSION 3 | version-template: $MAJOR.$MINOR.$PATCH 4 | -------------------------------------------------------------------------------- /.github/workflows/jenkins-security-scan.yml: -------------------------------------------------------------------------------- 1 | name: Jenkins Security Scan 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | pull_request: 8 | types: [ opened, synchronize, reopened ] 9 | workflow_dispatch: 10 | 11 | permissions: 12 | security-events: write 13 | contents: read 14 | actions: read 15 | 16 | jobs: 17 | security-scan: 18 | uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2 19 | with: 20 | java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate. 21 | # java-version: 21 # Optionally specify what version of Java to set up for the build, or remove to use a recent default. 22 | -------------------------------------------------------------------------------- /.github/workflows/labeler.yml: -------------------------------------------------------------------------------- 1 | name: "Pull Request Labeler" 2 | on: 3 | - pull_request_target 4 | 5 | jobs: 6 | triage: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - uses: actions/labeler@v5 10 | with: 11 | repo-token: "${{ secrets.GITHUB_TOKEN }}" 12 | -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- 1 | name: Release Drafter 2 | 3 | on: 4 | push: 5 | # branches to consider in the event; optional, defaults to all 6 | branches: 7 | - master 8 | 9 | jobs: 10 | update_release_draft: 11 | runs-on: ubuntu-latest 12 | steps: 13 | # Drafts your next Release notes as Pull Requests are merged into "master" 14 | - uses: release-drafter/release-drafter@v6 15 | env: 16 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 17 | 18 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | bin 3 | .classpath 4 | .settings 5 | .project 6 | *.iml 7 | *.ipr 8 | *.iws 9 | work 10 | nbactions.xml 11 | nb-configuration.xml 12 | release.properties 13 | pom.xml.releaseBackup 14 | .idea 15 | *.sublime-project 16 | *.sublime-workspace 17 | 18 | # vim 19 | *.swp 20 | Session.vim 21 | /nbproject/ 22 | 23 | # Mac OSX 24 | .DS_Store -------------------------------------------------------------------------------- /.mvn/extensions.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | io.jenkins.tools.incrementals 4 | git-changelist-maven-extension 5 | 1.8 6 | 7 | 8 | -------------------------------------------------------------------------------- /.mvn/maven.config: -------------------------------------------------------------------------------- 1 | -Pconsume-incrementals 2 | -Pmight-produce-incrementals 3 | -------------------------------------------------------------------------------- /.sonarcloud.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- 1 | /* 2 | See the documentation for more options: 3 | https://github.com/jenkins-infra/pipeline-library/ 4 | */ 5 | buildPlugin( 6 | forkCount: '1C', // Run a JVM per core in tests 7 | // we use Docker for containerized tests 8 | useContainerAgent: false, 9 | configurations: [ 10 | [platform: 'linux', jdk: 21], 11 | [platform: 'windows', jdk: 17], 12 | ]) 13 | -------------------------------------------------------------------------------- /MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 Nicolas De loof 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /images/git-advanced-checkout-behaviors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-advanced-checkout-behaviors.png -------------------------------------------------------------------------------- /images/git-advanced-clone-behaviours.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-advanced-clone-behaviours.png -------------------------------------------------------------------------------- /images/git-advanced-sub-modules-behaviours.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-advanced-sub-modules-behaviours.png -------------------------------------------------------------------------------- /images/git-calculate-changelog-against-a-specific-branch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-calculate-changelog-against-a-specific-branch.png -------------------------------------------------------------------------------- /images/git-checkout-to-a-sub-directory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-checkout-to-a-sub-directory.png -------------------------------------------------------------------------------- /images/git-checkout-to-specific-local-branch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-checkout-to-specific-local-branch.png -------------------------------------------------------------------------------- /images/git-clean-after-checkout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-clean-after-checkout.png -------------------------------------------------------------------------------- /images/git-clean-before-checkout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-clean-before-checkout.png -------------------------------------------------------------------------------- /images/git-create-a-tag-for-every-build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-create-a-tag-for-every-build.png -------------------------------------------------------------------------------- /images/git-credentials-usernamepassword-binding-freestyle-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-credentials-usernamepassword-binding-freestyle-project.png -------------------------------------------------------------------------------- /images/git-credentials-usernamepassword-binding-pipline-job.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-credentials-usernamepassword-binding-pipline-job.png -------------------------------------------------------------------------------- /images/git-custom-user-name-e-mail-address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-custom-user-name-e-mail-address.png -------------------------------------------------------------------------------- /images/git-do-not-trigger-a-build-on-commit-notifications.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-do-not-trigger-a-build-on-commit-notifications.png -------------------------------------------------------------------------------- /images/git-extension-for-first-build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-extension-for-first-build.png -------------------------------------------------------------------------------- /images/git-force-polling-using-workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-force-polling-using-workspace.png -------------------------------------------------------------------------------- /images/git-global-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-global-configuration.png -------------------------------------------------------------------------------- /images/git-lfs-pull-after-checkout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-lfs-pull-after-checkout.png -------------------------------------------------------------------------------- /images/git-merge-before-build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-merge-before-build.png -------------------------------------------------------------------------------- /images/git-polling-ignores-commits-from-certain-users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-polling-ignores-commits-from-certain-users.png -------------------------------------------------------------------------------- /images/git-polling-ignores-commits-in-certain-paths.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-polling-ignores-commits-in-certain-paths.png -------------------------------------------------------------------------------- /images/git-polling-ignores-commits-with-certain-messages.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-polling-ignores-commits-with-certain-messages.png -------------------------------------------------------------------------------- /images/git-prune-stale-remote-tracking-branches.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-prune-stale-remote-tracking-branches.png -------------------------------------------------------------------------------- /images/git-prune-stale-tags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-prune-stale-tags.png -------------------------------------------------------------------------------- /images/git-repository-browser-assemblaweb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-assemblaweb.png -------------------------------------------------------------------------------- /images/git-repository-browser-bitbucket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-bitbucket.png -------------------------------------------------------------------------------- /images/git-repository-browser-bitbucketserver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-bitbucketserver.png -------------------------------------------------------------------------------- /images/git-repository-browser-cgit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-cgit.png -------------------------------------------------------------------------------- /images/git-repository-browser-fisheye.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-fisheye.png -------------------------------------------------------------------------------- /images/git-repository-browser-gitblit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-gitblit.png -------------------------------------------------------------------------------- /images/git-repository-browser-github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-github.png -------------------------------------------------------------------------------- /images/git-repository-browser-gitiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-gitiles.png -------------------------------------------------------------------------------- /images/git-repository-browser-gitlab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-gitlab.png -------------------------------------------------------------------------------- /images/git-repository-browser-gitlist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-gitlist.png -------------------------------------------------------------------------------- /images/git-repository-browser-gitweb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-gitweb.png -------------------------------------------------------------------------------- /images/git-repository-browser-gogs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-gogs.png -------------------------------------------------------------------------------- /images/git-repository-browser-kiln.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-kiln.png -------------------------------------------------------------------------------- /images/git-repository-browser-microsoft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-microsoft.png -------------------------------------------------------------------------------- /images/git-repository-browser-redmine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-redmine.png -------------------------------------------------------------------------------- /images/git-repository-browser-rhodecode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-rhodecode.png -------------------------------------------------------------------------------- /images/git-repository-browser-stash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-stash.png -------------------------------------------------------------------------------- /images/git-repository-browser-viewgit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser-viewgit.png -------------------------------------------------------------------------------- /images/git-repository-browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-browser.png -------------------------------------------------------------------------------- /images/git-repository-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-repository-configuration.png -------------------------------------------------------------------------------- /images/git-security-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-security-configuration.png -------------------------------------------------------------------------------- /images/git-sparse-checkout-paths.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-sparse-checkout-paths.png -------------------------------------------------------------------------------- /images/git-strategy-for-choosing-what-to-build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-strategy-for-choosing-what-to-build.png -------------------------------------------------------------------------------- /images/git-use-commit-author-in-changelog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-use-commit-author-in-changelog.png -------------------------------------------------------------------------------- /images/git-wipe-out-repository-and-force-clone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/git-wipe-out-repository-and-force-clone.png -------------------------------------------------------------------------------- /images/jenkins-and-git.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/jenkins-and-git.png -------------------------------------------------------------------------------- /images/multibranch-pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/multibranch-pipeline.png -------------------------------------------------------------------------------- /images/pipeline-syntax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/images/pipeline-syntax.png -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/GitChangeSetList.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git; 2 | 3 | import hudson.model.Run; 4 | import hudson.scm.ChangeLogSet; 5 | import hudson.scm.RepositoryBrowser; 6 | import org.kohsuke.stapler.export.Exported; 7 | 8 | import java.util.Collections; 9 | import java.util.Iterator; 10 | import java.util.List; 11 | 12 | /** 13 | * List of changeset that went into a particular build. 14 | * @author Nigel Magnay 15 | */ 16 | public class GitChangeSetList extends ChangeLogSet { 17 | private final List changeSets; 18 | 19 | /*package*/ GitChangeSetList(Run build, RepositoryBrowser browser, List logs) { 20 | super(build, browser); 21 | Collections.reverse(logs); // put new things first 22 | this.changeSets = Collections.unmodifiableList(logs); 23 | for (GitChangeSet log : logs) 24 | log.setParent(this); 25 | } 26 | 27 | public boolean isEmptySet() { 28 | return changeSets.isEmpty(); 29 | } 30 | 31 | public Iterator iterator() { 32 | return changeSets.iterator(); 33 | } 34 | 35 | public List getLogs() { 36 | return changeSets; 37 | } 38 | 39 | @Exported 40 | public String getKind() { 41 | return "git"; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/GitStatusCrumbExclusion.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git; 2 | 3 | import hudson.Extension; 4 | import hudson.security.csrf.CrumbExclusion; 5 | 6 | import jakarta.servlet.FilterChain; 7 | import jakarta.servlet.ServletException; 8 | import jakarta.servlet.http.HttpServletRequest; 9 | import jakarta.servlet.http.HttpServletResponse; 10 | import java.io.IOException; 11 | 12 | /** 13 | * Make POST to /git/notifyCommit work with CSRF protection on. 14 | */ 15 | @Extension 16 | public class GitStatusCrumbExclusion extends CrumbExclusion { 17 | 18 | @Override 19 | public boolean process(HttpServletRequest req, HttpServletResponse resp, FilterChain chain) 20 | throws IOException, ServletException { 21 | String pathInfo = req.getPathInfo(); 22 | if (pathInfo != null && pathInfo.equals(getExclusionPath())) { 23 | chain.doFilter(req, resp); 24 | return true; 25 | } 26 | return false; 27 | } 28 | 29 | public String getExclusionPath() { 30 | return "/git/notifyCommit"; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/extensions/FakeGitSCMExtension.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions; 2 | 3 | import hudson.plugins.git.GitSCM; 4 | import org.kohsuke.accmod.Restricted; 5 | import org.kohsuke.accmod.restrictions.NoExternalUse; 6 | 7 | /** 8 | * Marker to designate that this extension point doesn't operate by implementing 9 | * the callbacks but instead {@link GitSCM} has a prior knowledge about this extension. 10 | * 11 | *

12 | * This is primarily done to eliminate the "advanced" section completely in favor 13 | * of the extension list. 14 | * 15 | * @author Kohsuke Kawaguchi 16 | */ 17 | @Restricted(NoExternalUse.class) 18 | public abstract class FakeGitSCMExtension extends GitSCMExtension { 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/extensions/GitClientConflictException.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions; 2 | 3 | /** 4 | * @author Nicolas De Loof 5 | */ 6 | public class GitClientConflictException extends Exception { 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/extensions/GitClientType.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions; 2 | 3 | /** 4 | * @author Nicolas De Loof 5 | */ 6 | public enum GitClientType { 7 | JGIT { 8 | @Override 9 | public GitClientType combine(GitClientType c) throws GitClientConflictException { 10 | if (c == GITCLI) throw new GitClientConflictException(); 11 | return this; 12 | } 13 | }, GITCLI { 14 | @Override 15 | public GitClientType combine(GitClientType c) throws GitClientConflictException { 16 | if (c == JGIT) throw new GitClientConflictException(); 17 | return this; 18 | } 19 | }, ANY { 20 | @Override 21 | public GitClientType combine(GitClientType c) { 22 | return c; 23 | } 24 | }; 25 | 26 | public abstract GitClientType combine(GitClientType c) throws GitClientConflictException; 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/extensions/GitSCMExtensionDescriptor.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions; 2 | 3 | import hudson.DescriptorExtensionList; 4 | import hudson.model.Descriptor; 5 | import hudson.plugins.git.GitSCM; 6 | import jenkins.model.Jenkins; 7 | 8 | /** 9 | * @author Kohsuke Kawaguchi 10 | */ 11 | public abstract class GitSCMExtensionDescriptor extends Descriptor { 12 | public boolean isApplicable(Class type) { 13 | return true; 14 | } 15 | 16 | public static DescriptorExtensionList all() { 17 | return Jenkins.get().getDescriptorList(GitSCMExtension.class); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/extensions/impl/BuildSingleRevisionOnly.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import hudson.Extension; 4 | import hudson.plugins.git.extensions.GitSCMExtension; 5 | import hudson.plugins.git.extensions.GitSCMExtensionDescriptor; 6 | import org.jenkinsci.Symbol; 7 | import org.kohsuke.stapler.DataBoundConstructor; 8 | 9 | /** 10 | * Don't trigger another build to catch up 11 | * 12 | * @author Sven Hickstein 13 | */ 14 | public class BuildSingleRevisionOnly extends GitSCMExtension { 15 | @DataBoundConstructor 16 | public BuildSingleRevisionOnly() { 17 | } 18 | 19 | @Override 20 | public boolean enableMultipleRevisionDetection() { 21 | return false; 22 | } 23 | 24 | @Symbol("buildSingleRevisionOnly") 25 | @Extension 26 | public static class DescriptorImpl extends GitSCMExtensionDescriptor { 27 | @Override 28 | public String getDisplayName() { 29 | return "Build single revision only"; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/extensions/impl/DisableRemotePoll.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import hudson.Extension; 4 | import hudson.plugins.git.extensions.GitSCMExtension; 5 | import hudson.plugins.git.extensions.GitSCMExtensionDescriptor; 6 | import org.kohsuke.stapler.DataBoundConstructor; 7 | 8 | /** 9 | * Disable Workspace-less polling via "git ls-remote". Only needed for repository that don't support ls-remote. 10 | * 11 | * @author Kohsuke Kawaguchi 12 | */ 13 | public class DisableRemotePoll extends GitSCMExtension { 14 | 15 | @DataBoundConstructor 16 | public DisableRemotePoll() { 17 | } 18 | 19 | @Override 20 | public boolean requiresWorkspaceForPolling() { 21 | return true; 22 | } 23 | 24 | @Extension 25 | // No @Symbol annotation, because force polling using workspace should not be used in Pipeline 26 | public static class DescriptorImpl extends GitSCMExtensionDescriptor { 27 | @Override 28 | public String getDisplayName() { 29 | return "Force polling using workspace"; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/extensions/impl/ScmName.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import hudson.Extension; 4 | import hudson.plugins.git.GitSCM; 5 | import hudson.plugins.git.extensions.FakeGitSCMExtension; 6 | import hudson.plugins.git.extensions.GitSCMExtensionDescriptor; 7 | import org.kohsuke.stapler.DataBoundConstructor; 8 | 9 | /** 10 | * When used with {@code org.jenkinsci.plugins.multiplescms.MultiSCM}, this differentiates a different instance. 11 | * Not strictly necessary any more since {@link GitSCM#getKey} will compute a default value, but can improve visual appearance of multiple-SCM changelogs. 12 | * @author Kohsuke Kawaguchi 13 | */ 14 | public class ScmName extends FakeGitSCMExtension { 15 | private final String name; 16 | 17 | @DataBoundConstructor 18 | public ScmName(String name) { 19 | this.name = name; 20 | } 21 | 22 | public String getName() { 23 | return name; 24 | } 25 | 26 | @Extension 27 | public static class DescriptorImpl extends GitSCMExtensionDescriptor { 28 | @Override 29 | public String getDisplayName() { 30 | return "Custom SCM name"; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/util/MergeRecord.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.util; 2 | 3 | import hudson.model.AbstractBuild; 4 | import hudson.model.Action; 5 | import hudson.model.InvisibleAction; 6 | import hudson.plugins.git.GitSCM; 7 | 8 | /** 9 | * When {@link GitSCM} is configured to track another branch by merging it to the 10 | * current commit for every build, this {@link Action} on {@link AbstractBuild} 11 | * remembers the state of the branch that was merged. 12 | * 13 | * @author Kohsuke Kawaguchi 14 | */ 15 | public class MergeRecord extends InvisibleAction { 16 | /** 17 | * The branch that was merged prefixed by the repository name. For example, "origin/master" 18 | */ 19 | private final String branch; 20 | /** 21 | * The SHA1 of the commit that the branch was pointing to when this was built. 22 | * This is the commit that got merged by Jenkins for a build. 23 | */ 24 | private final String sha1; 25 | 26 | public MergeRecord(String branch, String sha1) { 27 | this.branch = branch; 28 | this.sha1 = sha1; 29 | } 30 | 31 | public String getBranch() { 32 | return branch; 33 | } 34 | 35 | public String getSha1() { 36 | return sha1; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/hudson/plugins/git/util/RevCommitRepositoryCallback.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.util; 2 | 3 | import hudson.remoting.VirtualChannel; 4 | import java.io.IOException; 5 | import java.io.Serial; 6 | 7 | import org.eclipse.jgit.lib.Repository; 8 | import org.eclipse.jgit.revwalk.RevCommit; 9 | import org.eclipse.jgit.revwalk.RevWalk; 10 | import org.jenkinsci.plugins.gitclient.RepositoryCallback; 11 | 12 | /** 13 | * Retrieves {@link RevCommit} from given {@link Build} revision. 14 | */ 15 | public final class RevCommitRepositoryCallback implements RepositoryCallback { 16 | @Serial 17 | private static final long serialVersionUID = 1L; 18 | private final Build revToBuild; 19 | 20 | public RevCommitRepositoryCallback(Build revToBuild) { 21 | this.revToBuild = revToBuild; 22 | } 23 | 24 | @Override 25 | public RevCommit invoke(Repository repository, VirtualChannel virtualChannel) 26 | throws IOException, InterruptedException { 27 | try (RevWalk walk = new RevWalk(repository)) { 28 | return walk.parseCommit(revToBuild.revision.getSha1()); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/jenkins/plugins/git/DisableHooks.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git; 2 | 3 | import hudson.Functions; 4 | import hudson.remoting.VirtualChannel; 5 | import java.io.IOException; 6 | import java.io.Serial; 7 | 8 | import org.eclipse.jgit.lib.Repository; 9 | import org.eclipse.jgit.lib.StoredConfig; 10 | import org.jenkinsci.plugins.gitclient.RepositoryCallback; 11 | 12 | /** 13 | * Disables git hooks. This can get remotely executed on agents. 14 | */ 15 | class DisableHooks implements RepositoryCallback { 16 | @Serial 17 | private static final long serialVersionUID = 1L; 18 | 19 | static final String DISABLED_WIN = "NUL:"; 20 | static final String DISABLED_NIX = "/dev/null"; 21 | 22 | @Override 23 | public Object invoke(Repository repo, VirtualChannel channel) throws IOException, InterruptedException { 24 | final String VAL = Functions.isWindows() ? DISABLED_WIN : DISABLED_NIX; 25 | final StoredConfig repoConfig = repo.getConfig(); 26 | repoConfig.setString("core", null, "hooksPath", VAL); 27 | repoConfig.save(); 28 | return null; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/jenkins/plugins/git/GitSCMMatrixUtil.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git; 2 | 3 | import hudson.model.AbstractBuild; 4 | import hudson.plugins.git.GitSCM; 5 | import hudson.plugins.git.Revision; 6 | import hudson.plugins.git.util.Build; 7 | import hudson.plugins.git.util.BuildData; 8 | import org.kohsuke.accmod.Restricted; 9 | import org.kohsuke.accmod.restrictions.NoExternalUse; 10 | 11 | import java.util.Collections; 12 | import java.util.Set; 13 | 14 | /** 15 | * Utility methods for integrating with Matrix Project plugin. 16 | */ 17 | @Restricted(NoExternalUse.class) 18 | public class GitSCMMatrixUtil { 19 | public static Set populateCandidatesFromRootBuild(AbstractBuild build, GitSCM scm) { 20 | // every MatrixRun should build the same marked commit ID 21 | AbstractBuild parentBuild = (build).getRootBuild(); 22 | if (parentBuild != null) { 23 | BuildData parentBuildData = scm.getBuildData(parentBuild); 24 | if (parentBuildData != null) { 25 | Build lastBuild = parentBuildData.lastBuild; 26 | if (lastBuild != null) 27 | return Collections.singleton(lastBuild.getMarked()); 28 | } 29 | } 30 | return Collections.emptySet(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/jenkins/plugins/git/MatrixGitPublisher.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git; 2 | 3 | import hudson.Extension; 4 | import hudson.Launcher; 5 | import hudson.matrix.MatrixAggregatable; 6 | import hudson.matrix.MatrixAggregator; 7 | import hudson.matrix.MatrixBuild; 8 | import hudson.model.BuildListener; 9 | import hudson.plugins.git.GitPublisher; 10 | 11 | import java.io.IOException; 12 | 13 | @Extension(optional = true) 14 | public class MatrixGitPublisher implements MatrixAggregatable { 15 | /** 16 | * For a matrix project, push should only happen once. 17 | */ 18 | public MatrixAggregator createAggregator(MatrixBuild build, Launcher launcher, BuildListener listener) { 19 | return new MatrixAggregator(build,launcher,listener) { 20 | @Override 21 | public boolean endBuild() throws InterruptedException, IOException { 22 | GitPublisher publisher = build.getParent().getPublishersList().get(GitPublisher.class); 23 | if (publisher != null) { 24 | return publisher.perform(build, launcher, listener); 25 | } 26 | return true; 27 | } 28 | }; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/jenkins/plugins/git/traits/SparseCheckoutPathsTrait.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git.traits; 2 | 3 | import hudson.Extension; 4 | import hudson.plugins.git.extensions.impl.SparseCheckoutPaths; 5 | import jenkins.scm.api.trait.SCMSourceTrait; 6 | import org.jenkinsci.Symbol; 7 | import org.kohsuke.stapler.DataBoundConstructor; 8 | 9 | /** 10 | * Exposes {@link SparseCheckoutPaths} as a {@link SCMSourceTrait}. 11 | * 12 | * @since 4.0.1 13 | */ 14 | public class SparseCheckoutPathsTrait extends GitSCMExtensionTrait { 15 | /** 16 | * Stapler constructor. 17 | * 18 | * @param extension the {@link SparseCheckoutPaths} 19 | */ 20 | @DataBoundConstructor 21 | public SparseCheckoutPathsTrait(SparseCheckoutPaths extension) { 22 | super(extension); 23 | } 24 | 25 | /** 26 | * Our {@link hudson.model.Descriptor} 27 | */ 28 | @Extension 29 | @Symbol("sparseCheckoutPaths") 30 | public static class DescriptorImpl extends GitSCMExtensionTraitDescriptor { 31 | /** 32 | * {@inheritDoc} 33 | */ 34 | @Override 35 | public String getDisplayName() { 36 | return "Sparse Checkout paths"; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ApiTokenPropertyConfiguration/help-tokens.html: -------------------------------------------------------------------------------- 1 |
2 |

These access tokens serve as a way of authenticating requests to the notifyCommit endpoint. 3 |

By default, all requests to notifyCommit must include a valid token in the token query parameter. However, it is possible to disable 4 | that requirement with the system property: 5 |

hudson.plugins.git.GitStatus.NOTIFY_COMMIT_ACCESS_CONTROL
6 |
7 | It has two modes: 8 |
    9 |
  • disabled-for-polling - Allows unauthenticated requests as long as they only request polling of the repository supplied in the 10 | url query parameter. Prohibits unauthenticated requests that attempt to schedule a build immediately by providing a 11 | sha1 query parameter.
  • 12 |
  • disabled - Fully disables the access token mechanism and allows all requests to notifyCommit 13 | to be unauthenticated. This option is insecure and is not recommended.
  • 14 |
15 |
16 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ApiTokenPropertyConfiguration/resources.css: -------------------------------------------------------------------------------- 1 | .api-token-list .api-token-list-item-row { 2 | display: flex; 3 | align-items: center; 4 | max-width: 700px; 5 | gap: 10px; 6 | } 7 | .api-token-list .api-token-list-item .hidden, .api-token-list .api-token-list-empty-item.hidden { 8 | display: none; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/BranchSpec/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.BranchSpec 2 | 3 | f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("Branch Specifier (blank for 'any')"), field:"name") { 6 | f.textbox(default:"*/master") 7 | } 8 | 9 | f.repeatableDeleteButton() 10 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ChangelogToBranchOptions/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ChangelogToBranchOptions/config_it.properties: -------------------------------------------------------------------------------- 1 | Name\ of\ repository=Nome del deposito 2 | Name\ of\ branch=Nome del ramo 3 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ChangelogToBranchOptions/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Name\ of\ repository=\u30ea\u30dd\u30b8\u30c8\u30ea\u540d 24 | Name\ of\ branch=\u30d6\u30e9\u30f3\u30c1\u540d 25 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ChangelogToBranchOptions/help-compareRemote.html: -------------------------------------------------------------------------------- 1 |
2 | Name of the repository, such as origin, that contains the branch you specify below. 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ChangelogToBranchOptions/help-compareRemote_ja.html: -------------------------------------------------------------------------------- 1 |
2 | originのような、次の欄で指定したブランチを含むリポジトリの名称です。 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ChangelogToBranchOptions/help-compareTarget.html: -------------------------------------------------------------------------------- 1 |
2 | The name of the branch within the named repository to compare against. 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/ChangelogToBranchOptions/help-compareTarget_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 比較対象の名前付きリポジトリのブランチの名称です。 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitBranchSpecifierColumn/column.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ${it.breakOutString(branchSpec)} 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitBranchTokenMacro/help.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 |
$${GIT_BRANCH}
4 |
5 | Expands to the name of the branch that was built. 6 | 7 |
8 |
all
9 |
10 | If specified, all the branches that point to the given commit are listed. 11 | By default, the token expands to just one of them. 12 |
13 |
fullName
14 |
15 | If specified, this token expands to the full branch name, such as 'origin/master'. 16 | Otherwise, it only expands to the short name, such as 'master'. 17 |
18 |
19 | 20 |
21 |
22 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitChangeSetList/digest.jelly: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | ${%No changes.} 13 | 14 | 15 | ${%Changes} 16 |
    17 | 18 |
  1. 19 | 20 | (${%details} 21 | 22 | 23 | / 24 | ${browser.descriptor.displayName} 25 | 26 | ) 27 |
  2. 28 |
    29 |
30 |
31 |
32 |
33 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitChangeSetList/digest_it.properties: -------------------------------------------------------------------------------- 1 | No\ changes.=Nessun cambiamenti. 2 | Changes=Cambiamenti 3 | details=dettagli 4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitChangeSetList/digest_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | No\ changes.=\u5909\u66f4\u306a\u3057 24 | Changes=\u5909\u66f4\u5c65\u6b74 25 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitChangeSetList/index_it.properties: -------------------------------------------------------------------------------- 1 | Summary=Riassunto 2 | details=dettagli 3 | Commit=Cambiamento 4 | diff=modifiche 5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitChangeSetList/index_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Summary=\u6982\u8981 24 | Commit=\u30b3\u30df\u30c3\u30c8 25 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/config_it.properties: -------------------------------------------------------------------------------- 1 | Push\ Only\ If\ Build\ Succeeds=Spingere solo quando progetto riesca 2 | Force\ Push=Forzare la spinta 3 | Add\ force\ option\ to\ git\ push=Aggiungi opzione a costringere git push 4 | Tags=Etichette 5 | Tags\ to\ push\ to\ remote\ repositories=Etichette a spingere ai depositi remoti 6 | Add\ Tag=Aggiungi Ettichetta 7 | Tag\ to\ push=Etichetta a spingere 8 | Tag\ message=Messagio dell\'etichetta 9 | Create\ new\ tag=Crea nuova etichetta 10 | Update\ new\ tag=Modifica nuova etichetta 11 | Target\ remote\ name=Nome di deposito remoto 12 | Delete\ Tag=Remuovi Etichetta 13 | Branches=Rami 14 | Branches\ to\ push\ to\ remote\ repositories=Rami a spingere ai depositi remoti 15 | Add\ Branch=Aggiungi Ramo 16 | Branch\ to\ push=Ramo a spingere 17 | Delete\ Branch=Rimuovi Ramo 18 | Notes=Note 19 | Notes\ to\ push\ to\ remote\ repositories=Noti a spingere ai depositi remoti 20 | Add\ Note=Aggiungi Nota 21 | Note\ to\ push=Nota a spingere 22 | Note's\ namespace=Spazio di nome della nota 23 | Abort\ if\ note\ exists=Interrompe se nota esiste 24 | Merge\ Results=Resultati di funire 25 | If\ pre-build\ merging\ is\ configured,\ push\ the\ result\ back\ to\ the\ origin= 26 | Delete\ Note=Rimuovi Nota 27 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-branchesToPush.html: -------------------------------------------------------------------------------- 1 |
2 | Specify remote branches to push the current HEAD to, as of the completion of the build.
3 | The branch name above is the name of the remote branch.
4 | Environment variables may be used in the branch name - they will be replaced at build time.
5 | The repository name needs to be one of the repositories configured in the SCM section above. 6 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-branchesToPush_ja.html: -------------------------------------------------------------------------------- 1 |
2 | ビルドの完了時に、カレントのHEADをプッシュするリモートのブランチを指定します。
3 | ブランチ名はリモートブランチの名前です。
4 | ブランチ名には、環境変数を使用可能です。- それらは、ビルド時に置き換えられます。
5 | リポジトリ名は、ソースコード管理で設定したリポジトリのうちの1つでなければなりません。 6 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-notesToPush.html: -------------------------------------------------------------------------------- 1 | Specify notes to push at the completion of the build. 2 | Environment variables may be used in notes - they will be replaced at build time. 3 | Note's namespace and remote repository's name are optional. Those are master and origin by default. 4 | 5 |

6 | Note messages additional environment variables:
7 | $BUILDRESULT = Build result so far. This doesn't pay attention to all post-build actions
8 | $BUILDDURATION = Says how long the build took to run. This doesn't include time which is spent to post-build actions.
9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-notesToPush_ja.html: -------------------------------------------------------------------------------- 1 |
2 | ビルドの完了時にプッシュするノートを指定します。 3 | ノートには環境変数を使用可能で、ビルド時に差し替えられます。 4 | ノートの名前空間とリモートリポジトリの名称はオプションです。それらは、デフォルトで、masterとoriginです。 5 | 6 |

7 | ノートのメッセージに使用可能な環境変数:
8 | $BUILDRESULT : ビルド結果。ビルド後の処理の結果は含まない。
9 | $BUILDDURATION : ビルドにかかった時間。ビルド後の処理にかかった時間は含まない。
10 |
11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-pushMerge.html: -------------------------------------------------------------------------------- 1 |
2 | Push merges back to the origin specified in the pre-build merge options. 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-pushMerge_ja.html: -------------------------------------------------------------------------------- 1 |
2 | プレビルドマージのオプションで指定したoriginにマージした結果をプッシュします。 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-pushOnlyIfSuccess.html: -------------------------------------------------------------------------------- 1 |
2 | Only push to remotes if the build succeeds - otherwise, nothing will be pushed. 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-pushOnlyIfSuccess_ja.html: -------------------------------------------------------------------------------- 1 |
2 | ビルドが成功した場合、リモートにプッシュだけします。成功でないなら、何もプッシュされません。 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitPublisher/help-tagsToPush.html: -------------------------------------------------------------------------------- 1 |
2 | Specify tags to push at the completion of the build.
3 | If the "Create Tag" or "Update tag" option is selected, the tag will be created or updated and pushed at the completion 4 | of the build, and the push will fail if a tag with the given name already exists. If the "Create Tag" 5 | option is not selected, the push will fail if the tag does not already exist.
6 | Environment variables may be used in the tag name - they will be replaced at build time.
7 | The repository name needs to be one of the repositories configured in the SCM section above. 8 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitRevisionBuildParameters/config_it.properties: -------------------------------------------------------------------------------- 1 | Combine\ queued\ git\ hashes=Combina git codici dall\'elenco 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitRevisionBuildParameters/help-combineQueuedCommits.html: -------------------------------------------------------------------------------- 1 |
2 | This checkbox cause the all revisions to be be ignored apart from the last one if a build is already in the queue.
3 | Does not combine entries with builds of manually started downstream job that are queued. (Ones that do no have a git hash attached to them)
4 | Warning: There is no consideration for multiple branches, or any other behaviour, 5 | it is your responsibility to make sure that the hashes provided come from the same branch. 6 |
7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitRevisionBuildParameters/help.html: -------------------------------------------------------------------------------- 1 |
2 | This "parameter" passes the SHA1 commit ID that was built by this project into the specified job, 3 | and thereby causes the specified job to check out the exact same commit. This is useful to chain 4 | multiple activities in a sequence that acts on the same commit in different ways. 5 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitRevisionTokenMacro/help.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 |
$${GIT_REVISION}
4 |
5 | Expands to the Git SHA1 commit ID that points to the commit that was built. 6 | 7 |
8 |
length=N (optional, default to 40)
9 |
10 | Specify the commit ID length. Full SHA1 commit ID is 40 characters long, but it is common 11 | to truncate it at 8 or 12 as that usually provide enough uniqueness and is more legible. 12 |
13 |
14 | 15 |
16 |
17 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/buildEnv.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.GitSCM 2 | 3 | def l = namespace(lib.JenkinsTagLib) 4 | 5 | // TODO handle GitSCMExtension.populateEnvironmentVariables somehow, say by optionally including GitSCMExtension/buildEnv.groovy; though GIT_{COMMITTER,AUTHOR}_{NAME,EMAIL} are only overridden by UserIdentity 6 | ['GIT_COMMIT', 'GIT_PREVIOUS_COMMIT', 'GIT_PREVIOUS_SUCCESSFUL_COMMIT', 'GIT_BRANCH', 'GIT_LOCAL_BRANCH', 'GIT_CHECKOUT_DIR', 'GIT_URL', 'GIT_COMMITTER_NAME', 'GIT_AUTHOR_NAME', 'GIT_COMMITTER_EMAIL', 'GIT_AUTHOR_EMAIL'].each {name -> 7 | l.buildEnvVar(name: name) { 8 | raw(_("${name}.blurb")) 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 25 | 26 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/config_it.properties: -------------------------------------------------------------------------------- 1 | Repositories=Depositi 2 | Branches\ to\ build=Rami a costruire 3 | Git\ executable=programma Git eseguibile 4 | Additional\ Behaviours=Comportamenti supplementari 5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/global_it.properties: -------------------------------------------------------------------------------- 1 | Git\ plugin=Plugin Git 2 | Global\ Config\ user.name\ Value=Valore della configurazione globale user.name 3 | Global\ Config\ user.email\ Value=Valore della configurazione globale user.email 4 | Create\ new\ accounts\ based\ on\ author/committer's\ email=Crea conti nuovi con l'indirrizzo dell'autore 5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-addGitTagAction.html: -------------------------------------------------------------------------------- 1 |

2 | If checked, the git tag action will be added to any builds that happen after the box is checked. 3 | Prior to git plugin 4.5.0, the git tag action was always added. 4 | Git plugin 4.5.0 and later will not add the git tag action to new builds unless the administrator enables it. 5 |

6 |

7 | The git tag action allows a user to apply a tag to the git repository in the workspace based on the git commit used in the build applying the tag. 8 | The git plugin does not push the applied tag to any other location. 9 | If the workspace is removed, the tag that was applied is lost. 10 | Tagging a workspace made sense when using centralized repositories that automatically applied the tag to the centralized repository. 11 | Applying a git tag in an agent workspace doesn't have many practical uses. 12 |

13 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-allowSecondFetch.html: -------------------------------------------------------------------------------- 1 |

2 | If checked, the initial checkout step will not avoid the second fetch. 3 | Git plugin versions prior to git plugin 4.4 would perform two fetch operations during the initial repository checkout. 4 | Git plugin 4.4 removes the second fetch operation in most cases. 5 | Enabling this option will restore the second fetch operation. 6 |

7 |

8 | This setting is only needed if there is a bug in the redundant fetch removal logic. 9 | If you enable this setting, please report a git plugin issue that describes why you needed to enable it. 10 |

11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-branches.html: -------------------------------------------------------------------------------- 1 |
2 | List of branches to build. 3 | Jenkins jobs are most effective when each job builds only a single branch. 4 | When a single job builds multiple branches, the changelog comparisons between branches often show no changes or incorrect changes. 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-browser.html: -------------------------------------------------------------------------------- 1 |
2 | Defines the repository browser that displays changes detected by the git plugin. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-choosingStrategy.html: -------------------------------------------------------------------------------- 1 |
2 | Specifies the strategy Jenkins will use to decide which revision to build. 3 |
4 |
Default
5 |
6 | For each branch which matches the "Branches to build" (or all branches, if none are listed), 7 | this strategy will select those whose most recent commit has not already been built.
8 | If multiple branches match these criteria, the oldest will be selected. 9 |
10 |
Inverse
11 |
12 | This does the opposite of the "Default" strategy — any branches listed under "Branches 13 | to build" will not be built. For example, entering the pattern 14 | */master will cause Jenkins to build any changes found on any branch, so long as the 15 | branch name does not match this pattern.
16 | If multiple branches match these criteria, the oldest will be selected. 17 |
18 |
19 | For details on any other strategies that may be listed in the drop-down box above, refer to the 20 | respective plugin's documentation. 21 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-createAccountBasedOnEmail.html: -------------------------------------------------------------------------------- 1 |

2 | If checked, upon parsing of git change logs, new user accounts are created on demand for the identified 3 | committers / authors in the internal Jenkins database. The e-mail address is used as the id of the account. 4 |

5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-createAccountBasedOnEmail_ja.html: -------------------------------------------------------------------------------- 1 |

2 | Gitの変更履歴を解析し、著者名やコミット名を認識し、Jenkinsのユーザデータベースに登録し、 3 | メールアドレスを新規ユーザのIDとします。 4 |

-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-defaultClientType.html: -------------------------------------------------------------------------------- 1 |

2 | Select the Git client implementation used by git-plugin. 3 | git-client plugin provides both a JGit pure java implementation, and a wrapper for command line git. 4 | Depending on selected advanced behaviors, a specific git-client may be required, but if both are compatible 5 | this option will select the one to be used. 6 |

7 |

8 | Please give JGit a try and report on jenkins-user@googlegroups.com any issue you encounter with it. 9 |

-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-doGenerateSubmoduleConfigurations.html: -------------------------------------------------------------------------------- 1 |

2 | Removed facility that was intended to test combinations of git submodule versions. 3 | Removed in git plugin 4.6.0. 4 | Ignores the user provided value and always uses false as its value. 5 |

6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-gitTool.html: -------------------------------------------------------------------------------- 1 |

2 | Name of the git tool to be used for this job. 3 | Git tool names are defined in "Global Tool Configuration". 4 |

5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-globalConfigEmail.html: -------------------------------------------------------------------------------- 1 |
2 |

If given, "GIT_COMMITTER_EMAIL=[this]" and "GIT_AUTHOR_EMAIL=[this]" are set for builds. This can be overridden by individual projects.

3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-globalConfigEmail_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

ビルドの前に"git config user.email [this]"が呼ばれます。 3 | これは、各プロジェクトでの値で上書きされます。

4 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-globalConfigName.html: -------------------------------------------------------------------------------- 1 |
2 |

If given, "GIT_COMMITTER_NAME=[this]" and "GIT_AUTHOR_NAME=[this]" are set for builds. This can be overridden by individual projects.

3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-globalConfigName_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

ビルドの前に"git config user.name [this]"が呼ばれます。 3 | これは、各プロジェクトでの値で上書きされます。

4 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-hideCredentials.html: -------------------------------------------------------------------------------- 1 |

2 | The credential identifier used to clone a repository will not be reported in the console log if this is enabled. 3 |

4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-showEntireCommitSummaryInChanges.html: -------------------------------------------------------------------------------- 1 |

2 | The `changes` page for each job would truncate the change summary prior to git plugin 4.0. 3 | With the release of git plugin 4.0, the default was changed to show the complete change summary. 4 | Administrators that want to restore the old behavior may disable this setting. 5 |

-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-submoduleCfg.html: -------------------------------------------------------------------------------- 1 |

2 | Removed facility that was intended to test combinations of git submodule versions. 3 | Removed in git plugin 4.6.0. 4 | Ignores the user provided value(s) and always uses empty values. 5 |

6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-useExistingAccountWithSameEmail.html: -------------------------------------------------------------------------------- 1 |

2 | Will make sure that user will be searched by their actual e-mail address before resorting to creating the user with its mail address as id.
3 | This allows instances using specific user realms to match their users based on the assumption that same mail address means same user.
4 |
5 | Note that this behavior requires mailer plugin to be installed. 6 |

-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/help-userRemoteConfigs_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 追跡するリポジトリを指定します。URLかローカルなファイルパスを使用可能です。 3 | スーパープロジェクト(サブモジュールを持つリポジトリ)の場合、 4 | ローカルなファイルパスか絶対パスが有効です。 5 | 有効なGitのURLの例を以下に示します。 6 |
    7 |
  • ssh://git@github.com/github/git.git
  • 8 |
  • git@github.com:github/git.git (SSHプロトコルの短縮記法)
  • 9 |
  • ssh://user@other.host.com/~/repos/R.git (ホームディレクトリのrepos/R.gitリポジトリへのアクセス)
  • 10 |
  • https://github.com/github/git.git
  • 11 |
12 |
13 | リポジトリがスーパープロジェクトの場合、サブモジュールをクローンする場所は、 14 | リポジトリがベアかノンベアか(すなわち、ワーキングディレクトリがあるかどうか)によって異なります。 15 |
    16 |
  • スーパープロジェクトがベアの場合、サブモジュールの位置は、.gitmodulesから取得します。
  • 17 |
  • スーパープロジェクトがベアでない場合、 リポジトリには、サブモジュールがクローンされ、 18 | 適切にチェックアウトされているものとします。 19 | したがって、サブモジュールは、.gitmodulesの情報ではなく、 20 | ${SUPER_PROJECT_URL}/${SUBMODULE}のようなパスから直接取得します。
  • 21 |
22 | 23 | スーパープロジェクトへのローカルなURLやパスは、スーパープロジェクトがベアか、そうでないかを判別する 24 | git rev-parse --is-bare-repositoryを使用する際に用います。 25 |
26 | スーパプロジェクトへのリモートなURLは、そのURLの最後でベアかベアでないかを判別します。 27 |
    28 |
  • リモートURLが.gitで終わる場合、ノンベアリポジトリではないと想定されます。
  • 29 |
  • リモートURLが.gitで終わらない場合、ベアリポジトリと想定されます。
  • 30 |
31 |
32 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitSCM/project-changes_it.properties: -------------------------------------------------------------------------------- 1 | No\ builds.=Nessun progetti. 2 | detail=dettaglio 3 | No\ changes\ in\ any\ of\ the\ builds.=Nessun cambiamenti nei progetti 4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitTagAction/tagForm_it.properties: -------------------------------------------------------------------------------- 1 | Build=Progetto 2 | This\ build\ is\ already\ tagged=Progetto gia' costruitto 3 | Create\ more\ tags=Crea piu' etichette 4 | Branch=Ramo 5 | Tag=Etichetta 6 | Commit\ comment\:=Messagio: 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/GitTagAction/update-row.js: -------------------------------------------------------------------------------- 1 | function updateRow(e, i) { 2 | e.parentNode.parentNode.style.color = e.checked ? "inherit" : "grey"; 3 | document.getElementById("name"+i).disabled = !e.checked; 4 | } 5 | 6 | // Adding an onchange listener to the tag checkboxes in UI 7 | // DEV MEMO: 8 | // We are doing it after DOM content is loaded as a good practice to ensure we are not slowing down 9 | // the page rendering. In that particular situation the addition of the onclick handler shouldn't 10 | // really impact the page performances, but rather stick with good practices. 11 | 12 | document.addEventListener('DOMContentLoaded', (event) => { 13 | 14 | const tagCheckboxes = document.querySelectorAll("input[type=checkbox][id*=tag][name*=tag]"); 15 | tagCheckboxes.forEach((element, index) => { 16 | element.onchange = (_) => updateRow(element, index); 17 | }); 18 | 19 | }); 20 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/Messages.properties: -------------------------------------------------------------------------------- 1 | BuildChooser_Default=Default 2 | BuildChooser_Inverse=Inverse 3 | BuildChooser_Inverse_EverythingExcluded=All current git branches were excluded from being built. Either your branch specifiers are too broad or you should be using the "Default" choosing strategy. 4 | BuildChooser_Ancestry=Ancestry 5 | BuildChooser_BuildingLastRevision=No new revisions were found; the most-recently built branch will be built again. 6 | UserRemoteConfig.FailedToConnect=Failed to connect to repository : {0} 7 | UserRemoteConfig.CheckUrl.UrlIsNull=Please enter Git repository. 8 | UserRemoteConfig.CheckRefSpec.InvalidRefSpec=Specification is invalid. 9 | invalidUrl=Invalid URL 10 | 11 | GitPublisher.Check.TagName=Tag Name 12 | GitPublisher.Check.BranchName=Branch Name 13 | GitPublisher.Check.Note=Note 14 | GitPublisher.Check.RemoteName=Remote Name 15 | GitPublisher.Check.Required={0} is required. 16 | 17 | check.out.to.specific.local.branch=Check out to specific local branch 18 | advanced.sub_modules.behaviours=Advanced sub-modules behaviours 19 | check.out.to.a.sub_directory=Check out to a sub-directory 20 | advanced.checkout.behaviours=Advanced checkout behaviours 21 | 22 | git.fips.url.notsecured=FIPS requires to use git url with TLS. -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/SubmoduleConfig/help-branches.html: -------------------------------------------------------------------------------- 1 |

2 | Removed in git plugin 4.6.0. 3 |

4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/SubmoduleConfig/help-submoduleName.html: -------------------------------------------------------------------------------- 1 |

2 | Removed in git plugin 4.6.0. 3 |

4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ${it.toString()} 12 | 13 | 14 | 15 | 16 | ${it.toString()} 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/config_it.properties: -------------------------------------------------------------------------------- 1 | Name\ of\ repository=Nome di deposito 2 | Branch\ to\ merge\ to=Ramo a fusare 3 | Merge\ strategy=Strategia di fusione 4 | Fast-forward\ mode=Moda fast-forward 5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/help-fastForwardMode.html: -------------------------------------------------------------------------------- 1 |
2 | Merge fast-forward mode selection.
3 | The default, --ff, gracefully falls back to a merge commit when required.
4 | For more information, see the Git Merge Documentation 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/help-fastForwardMode_ja.html: -------------------------------------------------------------------------------- 1 |
2 | Fast-forwardマージモードを選択します。
3 | デフォルトである --ff は必要であれば、マージコミットを作成します。
4 | より詳細な情報は、 Git Merge Documentationを参照してください。 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/help-mergeRemote.html: -------------------------------------------------------------------------------- 1 |
2 | Name of the repository, such as origin, that contains the branch you specify below. If left blank, 3 | it'll default to the name of the first repository configured above. 4 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/help-mergeRemote_ja.html: -------------------------------------------------------------------------------- 1 |
2 | originのような、下記で指定するブランチを含むリポジトリ名を指定します。 3 | 未設定の場合、上記で設定した最初のリポジトリの名前がデフォルトとして設定されます。 4 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/help-mergeStrategy.html: -------------------------------------------------------------------------------- 1 |
2 | Merge strategy selection. 3 | This feature is not fully implemented in JGIT. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/help-mergeStrategy_ja.html: -------------------------------------------------------------------------------- 1 |
2 | マージ方法を選択します。 3 | この機能は、JGITでは十分に実装されていません。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/help-mergeTarget.html: -------------------------------------------------------------------------------- 1 |
2 | The name of the branch within the named repository to merge to, such as master. 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserMergeOptions/help-mergeTarget_ja.html: -------------------------------------------------------------------------------- 1 |
2 | masterのような、マージ先のリポジトリ内のブランチ名 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserRemoteConfig/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserRemoteConfig/help-credentialsId.html: -------------------------------------------------------------------------------- 1 |
2 | Credential used to check out sources. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserRemoteConfig/help-name.html: -------------------------------------------------------------------------------- 1 |
2 | ID of the repository, such as origin, to uniquely identify this repository among other remote repositories. 3 | This is the same "name" that you use in your git remote command. If left empty, 4 | Jenkins will generate unique names for you. 5 | 6 |

7 | You normally want to specify this when you have multiple remote repositories. 8 |

-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserRemoteConfig/help-name_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 他のリモートリポジトリからこのリポジトリを識別する、originのようなリポジトリのIDです。 3 | これは、git remoteコマンドで使用する"名称"と同じです。未設定の場合、Jenkinsはユニークな名称を生成します。 4 | 5 |

6 | 複数のリモートリポジトリがあれば、普通この名称を指定したくなるでしょう。 7 |

8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserRemoteConfig/help-refspec_ja.html: -------------------------------------------------------------------------------- 1 |
2 | refspecは、リモート参照の取得方法と、ローカル参照へマップする方法を制御します。 3 | 未設定の場合、git fetchの、すべてのブランチのheadをremotes/REPOSITORYNAME/BRANCHNAMEとして取得する動作が、 4 | デフォルトの動作になります。このデフォルト動作は多くの場合問題ありません。 5 | 6 |

7 | 言い換えると、デフォルトのrefspecは、"+refs/heads/*:refs/remotes/REPOSITORYNAME/*"です。 8 | ここで、REPOSITORYNAME は、上のテキストボックス"名称"に指定した値です。 9 | 10 |

11 | いつこの値を変更しようと思うでしょうか? 1つのブランチだけを取得したい場合がよい例です。 12 | 例えば、+refs/heads/master:refs/remotes/origin/masterは、マスタブランチだけを取得します。 13 | 14 |

15 | 詳細は、Gitユーザマニュアルの言葉の定義を参照してください。 16 |

17 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserRemoteConfig/help-url.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the URL or path of the git repository. 3 | This uses the same syntax as your git clone command. 4 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/UserRemoteConfig/help-url_ja.html: -------------------------------------------------------------------------------- 1 |
2 | このリモートリポジトリのURLを指定します。git cloneコマンドと同じ文法を使用します。 3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/AssemblaWeb/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/AssemblaWeb/config_it.properties: -------------------------------------------------------------------------------- 1 | Assembla\ Git\ URL=URL Git d'Assembla 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/AssemblaWeb/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://www.assembla.com/code/PROJECT/git/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/BitbucketServer/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/BitbucketServer/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/BitbucketServer/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the Bitbucket Server root URL for this repository (such as https://bitbucket:7990/OWNER/REPO/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/BitbucketWeb/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/BitbucketWeb/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/BitbucketWeb/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://bitbucket.org/OWNER/REPO/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/CGit/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/CGit/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/CGit/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://cgit.example.com:port/group/REPO/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/FisheyeGitRepositoryBrowser/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/FisheyeGitRepositoryBrowser/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/FisheyeGitRepositoryBrowser/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the URL of this repository in FishEye (such as https://fisheye.example.com/browse/project/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitBlitRepositoryBrowser/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitBlitRepositoryBrowser/config_it.properties: -------------------------------------------------------------------------------- 1 | GitBlit\ root\ url=GitBlit URL di radice 2 | Project\ name\ in\ GitBlit=Nome di progetto a GitBlit 3 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitBlitRepositoryBrowser/help-projectName.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the name of the project in GitBlit. 3 |
4 | 5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitBlitRepositoryBrowser/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitLab/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitLab/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | Version=Versione 3 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitLab/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://gitlab.com/username/repository/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitLab/help-version.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the major and minor version of GitLab you use (such as 9.1). If you 3 | don't specify a version, a modern version of GitLab (>= 8.0) is assumed. 4 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitList/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitList/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitList/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://gitlist.example.com/repo/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitWeb/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitWeb/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitWeb/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://github.com/jenkinsci/jenkins.git). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GithubWeb/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GithubWeb/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GithubWeb/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the HTTP URL for this repository's GitHub page (such as https://github.com/jquery/jquery). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Gitiles/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Gitiles/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Gitiles/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://gwt.googlesource.com/gwt/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitoriousWeb/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitoriousWeb/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GitoriousWeb/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://gitorious.org/gitorious/mainline). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GogsGit/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GogsGit/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/GogsGit/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://gogs.example.com/username/some-repo-url.git). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/KilnGit/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/KilnGit/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/KilnGit/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://khanacademy.kilnhg.com/Code/Website/Group/webapp). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Phabricator/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Phabricator/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | Repository\ name\ in\ Phab=Nome del deposito a Phab 3 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Phabricator/help-repo.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the repository name in phabricator (such as the foo part of phabricator.example.com/diffusion/foo/browse). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Phabricator/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the phabricator instance root URL (such as https://phabricator.example.com). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/RedmineWeb/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/RedmineWeb/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/RedmineWeb/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://redmine.example.com/PATH/projects/PROJECT/repository). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/RhodeCode/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/RhodeCode/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/RhodeCode/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the HTTP URL for this repository's RhodeCode page (such as https://rhodecode.example.com/projects/PROJECT/repos/REPO/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Stash/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Stash/config_it.properties: -------------------------------------------------------------------------------- 1 | URL=URL 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/Stash/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the HTTP URL for this repository's Stash page (such as https://stash.example.com/projects/PROJECT/repos/REPO/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/TFS2013GitRepositoryBrowser/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/TFS2013GitRepositoryBrowser/config_it.properties: -------------------------------------------------------------------------------- 1 | URL\ or\ name=URL o nome 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/TFS2013GitRepositoryBrowser/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Either the name of the remote whose URL should be used, or the URL of this 3 | module in TFS (such as https://tfs.example.com/tfs/PROJECT/_git/REPO/). 4 | If empty (default), the URL of the "origin" repository is used. 5 |

If TFS is also used as the repository server, this can usually be left blank.

6 |
7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/ViewGitWeb/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/ViewGitWeb/config_it.properties: -------------------------------------------------------------------------------- 1 | ViewGit\ root\ url=Radice di ViewGit 2 | Project\ Name\ in\ ViewGit=Nome di progetto a ViewGit 3 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-projectName.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the name of the project in ViewGit (e.g. scripts, scuttle etc. from https://code.fealdia.org/viewgit/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-repoUrl.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the root URL serving this repository (such as https://git.example.com/viewgit/). 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/GitSCMExtension/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.GitSCMExtension 2 | 3 | // no configuration 4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/AuthorInChangelog/help.html: -------------------------------------------------------------------------------- 1 |
2 | The default behavior is to use the Git commit's "Committer" value in Jenkins' build changesets. 3 | If this option is selected, the Git commit's "Author" value would be used instead. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/AuthorInChangelog/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | デフォルトの振る舞いは、Gitのコミットの"コミッタ"の値をJenkinsのビルドの変更履歴画面で使用します。このオプションを選択すると、 3 | Gitのコミットの"作者"の値が代わりに使用されます。
4 | この方式を使用すると、速いgit ls-remoteによるポーリングシステムの妨げになります。 5 | そして、Force polling using workspaceを選んだ場合と同様に、 6 | ポーリングにワークスペースが必須になり、時々不要なビルドを引き起こします。 7 |
8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/BuildChooserSetting/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.BuildChooserSetting 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry() { 6 | f.dropdownDescriptorSelector(title:_("Choosing strategy"), field:"buildChooser", 7 | descriptors: descriptor.getBuildChooserDescriptors(my)) 8 | } 9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/BuildChooserSetting/config_it.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2017-, Mark Waite 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Choosing\ strategy=Strategia di scelto 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/BuildChooserSetting/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Choosing\ strategy=\u65b9\u5f0f\u306e\u9078\u629e 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/BuildChooserSetting/help.html: -------------------------------------------------------------------------------- 1 |
2 | When you are interested in using a job to build multiple heads (most typically multiple branches), 3 | you can choose how Jenkins choose what branches to build in what order. 4 | 5 |

6 | This extension point in Jenkins is used by many other plugins to control the job to build 7 | specific commits. When you activate those plugins, you may see them installing a custom strategy 8 | here. 9 |

-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/BuildChooserSetting/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 1つのジョブで複数のヘッド(たいていは、複数のブランチ)をビルドするなら、 3 | Jenkinsがどの順番でどのブランチをビルドするのかを選択する方式を、選ぶことができます。 4 | 5 |

6 | この拡張ポイントは、特定のコミットをビルドするジョブを制御するのに、 7 | 他のたくさんのプラグインに使用されます。これらのプラグインを有効にすると、 8 | カスタムの方式がここにインストールされます。 9 |

10 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/BuildSingleRevisionOnly/help.html: -------------------------------------------------------------------------------- 1 |
2 | Disable scheduling for multiple candidate revisions.
3 | If we have 3 branches:
4 | ----A--.---.--- B
5 |          \-----C
6 | jenkins would try to build (B) and (C).
7 | This behaviour disables this and only builds one of them.
8 | It is helpful to reduce the load of the Jenkins infrastructure when the 9 | SCM system like Bitbucket or GitHub should decide what commits to build. 10 |
11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/ChangelogToBranch/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.ChangelogToBranch 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.property(field:"options") 6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/ChangelogToBranch/help.html: -------------------------------------------------------------------------------- 1 |
2 | This method calculates the changelog against the specified branch. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/ChangelogToBranch/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | このメソッドは、指定したブランチの変更履歴を算出します。
3 | この拡張動作は、より速いgit ls-remoteコマンドによるポーリングの妨げになり、 4 | Force polling using workspaceを選択したかのように、ポーリングにワークスペースが必要になり、 5 | その結果、ときに不要なビルドを引き起こします。 6 |
7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CheckoutOption/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.CheckoutOption 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("Timeout (in minutes) for checkout operation"), field:"timeout") { 6 | f.number(clazz:"number", min:1, step:1) 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CheckoutOption/config_it.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2017-, Mark Waite 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Timeout\ (in\ minutes)\ for\ checkout\ operation=Tempo massimo (a minuti) per operazione checkout 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CheckoutOption/help-timeout.html: -------------------------------------------------------------------------------- 1 |
2 | Specify a timeout (in minutes) for checkout.
3 | This option overrides the default timeout of 10 minutes.
4 | You can change the global git timeout via the property org.jenkinsci.plugins.gitclient.Git.timeOut (see JENKINS-11286). 5 | Note that property should be set on both controller and agent to have effect (see JENKINS-22547). 6 |
7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CheckoutOption/help-timeout_ja.html: -------------------------------------------------------------------------------- 1 |
2 | チェックアウトのタイムアウト(分)を指定します。 3 | このオプションは、タイムアウトのデフォルトである10分を上書きします。
4 | プロパティ org.jenkinsci.plugins.gitclient.Git.timeOutを設定することで、gitのタイムアウトを変更することができます 5 | (詳細は、JENKINS-11286を参照)。
6 | また、プロパティは、マスタとスレーブの両方に設定すると効果がでます 7 | (詳細は、JENKINS-22547を参照)。 8 |
9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CleanBeforeCheckout/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.CleanBeforeCheckout 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(field: "deleteUntrackedNestedRepositories") { 6 | f.checkbox(title: _("Delete untracked nested repositories")) 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CleanBeforeCheckout/help-deleteUntrackedNestedRepositories.html: -------------------------------------------------------------------------------- 1 |
2 | Deletes untracked submodules and any other subdirectories which contain .git directories. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CleanBeforeCheckout/help.html: -------------------------------------------------------------------------------- 1 |
2 | Clean up the workspace before every checkout by deleting all untracked files and directories, 3 | including those which are specified in .gitignore. 4 | It also resets all tracked files to their versioned state. 5 | This ensures that the workspace is 6 | in the same state as if you cloned and checked out in a brand-new empty directory, and ensures 7 | that your build is not affected by the files generated by the previous build. 8 |
9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CleanBeforeCheckout/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | チェックアウトの前に、追跡していない全てのファイルやディレクトリや、 3 | .gitignoreで指定されたファイルなどを削除することで、ワークスペースを片付けます。 4 | すべての追跡しているファイルをリセットして、バージョン管理された状態に戻します。
5 | 6 | これは、ワークスペースが、まったく新しい空っぽのディレクトリに、クローンしてチェックアウトしてかのような状態になること、 7 | そして、以前のビルドが生成したファイルに影響を受けないことを保証します。 8 |
9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CleanCheckout/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.CleanCheckout 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(field: "deleteUntrackedNestedRepositories") { 6 | f.checkbox(title: _("Delete untracked nested repositories")) 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CleanCheckout/help-deleteUntrackedNestedRepositories.html: -------------------------------------------------------------------------------- 1 |
2 | Deletes untracked submodules and any other subdirectories which contain .git directories. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CleanCheckout/help.html: -------------------------------------------------------------------------------- 1 |
2 | Clean up the workspace after every checkout by deleting all untracked files and directories, 3 | including those which are specified in .gitignore. 4 | It also resets all tracked files to their versioned state. 5 | This ensures that the workspace is 6 | in the same state as if you cloned and checked out in a brand-new empty directory, and ensures 7 | that your build is not affected by the files generated by the previous build. 8 |
9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CleanCheckout/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | チェックアウトするごとに、追跡していないファイル、ディレクトリ、 4 | および.gitignoreに設定されたファイルをすべて削除することで、 5 | ワークスペースを片付けます。また、追跡しているすべてのファイルをバージョン管理されている状態にリセットします。 6 |  

7 |

8 | こうすることで、ワークスペースは、クローンしてまったく新しい空っぽのディレクトリにチェックアウトしたかのような状態であることを保証します。 9 | また、ビルドが以前のビルドによって生成されたファイルに影響を受けていないことを保証します。 10 |

11 |
12 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.CloneOption 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(field:"noTags") { 6 | f.checkbox(title:_("Fetch tags"), negative:true, checked:(instance==null||!instance.noTags)) 7 | } 8 | f.entry(field:"honorRefspec") { 9 | f.checkbox(title:_("Honor refspec on initial clone")) 10 | } 11 | 12 | f.entry(title:_("Path of the reference repo to use during clone"), field:"reference") { 13 | f.textbox() 14 | } 15 | f.entry(title:_("Timeout (in minutes) for clone and fetch operations"), field:"timeout") { 16 | f.number(clazz:"number", min:1, step:1) 17 | } 18 | 19 | f.optionalBlock(title:_("Shallow clone"), field:"shallow", inline: true) { 20 | f.entry(title:_("Shallow clone depth"), field:"depth") { 21 | f.number(clazz:"number", min:1, step:1) 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-depth.html: -------------------------------------------------------------------------------- 1 |
2 | Set shallow clone depth, so that git will only download recent history of the project, 3 | saving time and disk space when you just want to access the latest commits of a repository. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-depth_ja.html: -------------------------------------------------------------------------------- 1 |
2 | gitがプロジェクトの最近の履歴のみをダウンロードするように、shallow cloneの深さを設定することで、 3 | リポジトリの最新のバージョンにアクセスしたいだけの場合に、時間とディスク容量を節約します。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-honorRefspec.html: -------------------------------------------------------------------------------- 1 |
2 | Perform initial clone using the refspec defined for the repository. 3 | This can save time, data transfer and disk space when you only need 4 | to access the references specified by the refspec. 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-honorRefspec_ja.html: -------------------------------------------------------------------------------- 1 |
2 | そのリポジトリ用に定義されたrefspecを使用して、最初のcloneを実行します。 3 | これにより、refspecで指定された参照にアクセスするだけでいい場合に、時間、 4 | データ転送、およびディスク容量を節約できます。 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-noTags.html: -------------------------------------------------------------------------------- 1 |
2 | Deselect this to perform a clone without tags, saving time and disk space when you just want to access 3 | what is specified by the refspec. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-noTags_ja.html: -------------------------------------------------------------------------------- 1 |
2 | refspecで指定されたものにアクセスしたいときに、時間とディスク容量を節約するために、 3 | タグなしでクローンを実行します。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-reference.html: -------------------------------------------------------------------------------- 1 |
2 | Specify a folder containing a repository that will be used by Git as a reference during clone operations.
3 | This option will be ignored if the folder is not available on the controller or agent where the clone is being executed. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-reference_ja.html: -------------------------------------------------------------------------------- 1 |
2 | クローン操作中にリファレンスとしてGitに使用されるリポジトリを含むフォルダを指定します。
3 | クローンが実行されているときにマスタかスレーブでフォルダが利用できなければ、 4 | このオプションは無視されます。 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-shallow.html: -------------------------------------------------------------------------------- 1 |
2 | Perform shallow clone, so that git will not download the history of the project, 3 | saving time and disk space when you just want to access the latest version of a repository. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-shallow_ja.html: -------------------------------------------------------------------------------- 1 |
2 | gitがプロジェクトの履歴をダウンロードしないように、shallow cloneを実行することで、 3 | リポジトリの最新バージョンにのみアクセスしたい場合に、時間とディスク容量を節約します。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-timeout.html: -------------------------------------------------------------------------------- 1 |
2 | Specify a timeout (in minutes) for clone and fetch operations.
3 | This option overrides the default timeout of 10 minutes.
4 | You can change the global git timeout via the property org.jenkinsci.plugins.gitclient.Git.timeOut (see JENKINS-11286). 5 | Note that property should be set on both controller and agent to have effect (see JENKINS-22547). 6 |
7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/CloneOption/help-timeout_ja.html: -------------------------------------------------------------------------------- 1 |
2 | クローンとフェッチ操作のタイムアウト(分)を指定します。
3 | このオプションは、デフォルトの10分のタイムアウトを上書きします。
4 | property org.jenkinsci.plugins.gitclient.Git.timeOutを設定することで、gitのタイムアウトをグローバルに変更することができます 5 | (JENKINS-11286を参照)。
6 | プロパティをマスタとスレーブの両方に設定することで、効果があがることに注意してください(JENKINS-22547を参照)。 7 |
8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/DisableRemotePoll/help.html: -------------------------------------------------------------------------------- 1 |
2 | Git plugin uses git ls-remote polling mechanism by default when configured with a single branch (no wildcards!). 3 | This compares the most recently built commit SHA with the remote branch without cloning a local copy of the repo.

4 | If this option is selected, polling will require a workspace and might trigger unwanted builds (see JENKINS-10131). 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/DisableRemotePoll/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | Gitプラグインは、(ワイルドカードを使わない)1つのブランチが設定されているときは、デフォルトでgit ls-remoteポーリング方式を使用します。 3 | これにより、リポジトリのローカルコピーを複製せずに、最新ビルドのコミットのSHAとリモートブランチを比較します。

4 | 5 | このオプションを選択すると、ポーリングはワークスペースを必要とし、不必要なビルドを引き起こします 6 | (詳細は、JENKINS-10131を参照)。 7 |
8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/FirstBuildChangelog/help.html: -------------------------------------------------------------------------------- 1 |
2 | First builds will populate the changelog with the latest commit, if any, to allow Pipelines to check and test for file changes. 3 | By default, no changelog is generated for the first build because the first build has no predecessor build for comparison. 4 | When the first build changelog option is enabled, the most recent commit on the branch will be used as the changelog of the first build. 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/GitLFSPull/help.html: -------------------------------------------------------------------------------- 1 |
2 | Enable git large file support for the workspace by pulling large files after the checkout completes. 3 | Requires that the controller and each agent performing an LFS checkout have installed `git lfs`. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/IgnoreNotifyCommit/help.html: -------------------------------------------------------------------------------- 1 |
2 | If checked, this repository will be ignored when the notifyCommit-URL is accessed regardless of if the repository 3 | matches or not. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/IgnoreNotifyCommit/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | リポジトリが一致しているかどうかにかかわらず、notifyCommit-URLにアクセスすると、 3 | このリポジトリは無視されます。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/LocalBranch/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.LocalBranch 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("Branch name"), field:"localBranch") { 6 | f.textbox() 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/LocalBranch/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Branch\ name=\u30d6\u30e9\u30f3\u30c1\u540d 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/LocalBranch/help.html: -------------------------------------------------------------------------------- 1 |
2 | If given, checkout the revision to build as HEAD on this branch. 3 |

4 | If selected, and its value is an empty string or "**", then the branch 5 | name is computed from the remote branch without the origin. In that 6 | case, a remote branch origin/master will be checked out to a local 7 | branch named master, and a remote branch origin/develop/new-feature 8 | will be checked out to a local branch named develop/newfeature. 9 |

10 | Please note that this has not been tested with submodules. 11 |

12 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/LocalBranch/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | リビジョンをチェックアウトして、このブランチのヘッドとしてビルドします。 3 |

4 | 空文字や"**"を設定すると、ブランチ名はoriginを含まないリモートのブランチから算出します。その場合、 5 | リモートブランチorigin/masterは、ローカルブランチmasterにチェックアウトされ、 6 | リモートブランチorigin/develop/new-featureは、 7 | ローカルブランチdevelop/new-featureにチェックアウトされます。 8 |

9 | サブモジュールではテストされていないことに注意してください。 10 |

11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/MessageExclusion/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.MessageExclusion 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("Excluded Messages"), field:"excludedMessage") { 6 | f.textbox() 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/MessageExclusion/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Excluded\ Messages=\u5bfe\u8c61\u5916\u30e1\u30c3\u30bb\u30fc\u30b8 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/MessageExclusion/help-excludedMessage.html: -------------------------------------------------------------------------------- 1 |
2 | If set, and Jenkins is set to poll for changes, Jenkins will ignore any revisions committed with message matched to 3 | Pattern when determining 4 | if a build needs to be triggered. This can be used to exclude commits done by the build itself from triggering another build, 5 | assuming the build server commits the change with a distinct message. 6 |

Exclusion uses Pattern 7 | matching 8 |

9 |

.*\[maven-release-plugin\].*
10 | The example above illustrates that if only revisions with "[maven-release-plugin]" message in first comment line 11 | have been committed to the SCM a build will not occur. 12 |

13 | You can create more complex patterns using embedded flag expressions. 14 |

(?s).*FOO.*
15 | This example will search FOO message in all comment lines. 16 |
17 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/MessageExclusion/help-excludedMessage_ja.html: -------------------------------------------------------------------------------- 1 |
2 | Jenkinsは、変更をポーリングするように設定され、ビルドするかどうか決定する時に、 3 | パターンに合致するメッセージでコミットされた、リビジョンを無視します。 4 | これは、ビルドサーバが別のメッセージで変更をコミットすると仮定して、 5 | ビルド自体が行ったコミットが、別のビルドを引き起こさないように使われます。 6 | 7 |

8 | 対象外メッセージは、パターン 9 | マッチングを使用する。 10 |

11 | 12 |

.*\[maven-release-plugin\].*
13 | 上記に示す例は、コメントの最初の行に"[maven-release-plugin]"メッセージとリビジョンだけが、 14 | SCMにコミットされた場合、ビルドは行われません。 15 |

16 | 埋め込みフラグを使用して、より複雑なパターンを作ることもできます。 17 | 18 |

(?s).*FOO.*
19 | この例は、コメント行すべてから、"FOO"を検索します。 20 |
21 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/Messages.properties: -------------------------------------------------------------------------------- 1 | Advanced.clone.behaviours=Advanced clone behaviours 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PathRestriction/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.PathRestriction 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("Included Regions"), field:"includedRegions") { 6 | f.textarea() 7 | } 8 | f.entry(title:_("Excluded Regions"), field:"excludedRegions") { 9 | f.textarea() 10 | } 11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PathRestriction/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Included\ Regions=\u5bfe\u8c61\u7bc4\u56f2 24 | Excluded\ Regions=\u5bfe\u8c61\u5916\u7bc4\u56f2 25 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PathRestriction/help-excludedRegions.html: -------------------------------------------------------------------------------- 1 |
2 | Each exclusion uses java regular expression pattern matching, 3 | and must be separated by a new line. 4 |

5 |

 6 |     myapp/src/main/web/.*\.html
 7 |     myapp/src/main/web/.*\.jpeg
 8 |     myapp/src/main/web/.*\.gif
 9 |   
10 | The example above illustrates that if only html/jpeg/gif files have been committed to 11 | the SCM a build will not occur. 12 |
13 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PathRestriction/help-excludedRegions_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 対象外範囲は、Javaの正規表現のパターンマッチングを使用し、 3 | 改行で区切られています。 4 |

5 |

 6 |     myapp/src/main/web/.*\.html
 7 |     myapp/src/main/web/.*\.jpeg
 8 |     myapp/src/main/web/.*\.gif
 9 |   
10 | 上記の例は、html/jpeg/gifファイルがSCMにコミットされた場合のみ、ビルドが行われないことを示しています。 11 |
12 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PathRestriction/help-includedRegions.html: -------------------------------------------------------------------------------- 1 |
2 | Each inclusion uses java regular expression pattern matching, 3 | and must be separated by a new line. 4 | An empty list implies that everything is included. 5 |

6 |

 7 |     myapp/src/main/web/.*\.html
 8 |     myapp/src/main/web/.*\.jpeg
 9 |     myapp/src/main/web/.*\.gif
10 |   
11 | The example above illustrates that a build will only occur, if html/jpeg/gif files 12 | have been committed to the SCM. Exclusions take precedence over inclusions, if there is 13 | an overlap between included and excluded regions. 14 |
15 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PathRestriction/help-includedRegions_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 対象範囲は、Javaの正規表現パターンマッチングを使用し、改行で区切られています。 3 | 空行は、すべてを含むことを意味します。 4 |

5 |

 6 |     myapp/src/main/web/.*\.html
 7 |     myapp/src/main/web/.*\.jpeg
 8 |     myapp/src/main/web/.*\.gif
 9 |   
10 | 上記の例は、html/jpeg/gifファイルがSCMにコミットされた場合のみ、 11 | ビルドが行われることを示しています。 12 | 対象範囲と対象外範囲の間に重複がある場合、対象外範囲が対象範囲よりも優先されます。 13 |
14 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PathRestriction/help.html: -------------------------------------------------------------------------------- 1 |
2 | If set, and Jenkins is set to poll for changes, Jenkins will pay attention to included and/or excluded files and/or 3 | folders when determining if a build needs to be triggered. 4 |

5 | Using this behaviour will preclude the faster git ls-remote polling mechanism, forcing polling to require a workspace thus sometimes triggering unwanted builds, as if you had selected the Force polling using workspace extension as well. 6 |

7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PathRestriction/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | Jenkinsは変更をポーリングするように設定され、ビルドを行うかどうか判断する時に、 3 | ファイルやフォルダを含むか、含まないかに注意を払います。 4 |

5 | この処理を使用すると、速いgit ls-remoteを使ったポーリングシステムの妨げになります。 6 | そして、Force polling using workspaceを選択したかのように、 7 | ポーリングにはワークスペースを必要とし、ときどき、不要なビルドを引き起こすこともあります。 8 |

9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PerBuildTag/help.html: -------------------------------------------------------------------------------- 1 |
2 | Create a tag in the workspace for every build to unambiguously mark the commit that was built. 3 | You can combine this with Git publisher to push the tags to the remote repository. 4 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PerBuildTag/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | ビルド毎にワークスペースにタグを作成して、ビルドされたコミットに印をつけます。 3 | Git Publisherと組み合わせて、リモートリポジトリにそのタグをプッシュすることができます。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PreBuildMerge/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.PreBuildMerge 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.property(field:"options") 6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PreBuildMerge/help.html: -------------------------------------------------------------------------------- 1 |
2 | These options allow you to perform a merge to a particular branch before building. 3 | For example, you could specify an integration branch to be built, and to merge to master. 4 | In this scenario, on every change of integration, Jenkins will perform a merge with the master branch, 5 | and try to perform a build if the merge is successful. 6 | It then may push the merge back to the remote repository if the Git Push post-build action is selected. 7 |
8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PreBuildMerge/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | これらのオプションを使うことで、ビルドする前に特定のブランチにマージを実行することができます。 4 | 例えば、ビルドするインテグレーションブランチを指定することができますし、 5 | マスタにマージすることも指定できます。 6 |

7 |

8 | このシナリオでは、インテグレーションの変更ごとに、Jenkinsはマスタブランチとマージを実行します。 9 | そして、マージが成功したら、ビルドを実行しようとします。 10 | そして、ビルド後の処理でGit Publisherが選択されていれば、マージした結果をリモートのリポジトリにプッシュするでしょう。 11 |

12 |
13 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PruneStaleBranch/help.html: -------------------------------------------------------------------------------- 1 |
2 | Run "git remote prune" for each remote, to prune obsolete local branches. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/PruneStaleBranch/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | "git remote prune"を各リモートごとに起動し、手元の使用されていないローカルブランチを削除します。 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/RelativeTargetDirectory/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.RelativeTargetDirectory 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("Local subdirectory for repo"), field:"relativeTargetDir") { 6 | f.textbox() 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/RelativeTargetDirectory/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Local\ subdirectory\ for\ repo=\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/RelativeTargetDirectory/help-relativeTargetDir.html: -------------------------------------------------------------------------------- 1 |
2 | Specify a local directory (relative to the workspace root) 3 | where the Git repository will be checked out. If left empty, the workspace root itself 4 | will be used. 5 |

6 | This extension should not be used in Jenkins Pipeline (either declarative or scripted). 7 | Jenkins Pipeline already provides standard techniques for checkout to a subdirectory. 8 | Use ws and 9 | dir 10 | in Jenkins Pipeline rather than this extension. 11 |

12 |
13 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/RelativeTargetDirectory/help-relativeTargetDir_ja.html: -------------------------------------------------------------------------------- 1 |
2 | Gitリポジトリがチェックアウトされるローカルなディレクトリ(ワークスペースのルートからの相対パス)を指定します。 3 | 指定しない場合、ワークスペースのルートを使用します。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/ScmName/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.ScmName 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("Unique SCM name"), field:"name") { 6 | f.textbox() 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/ScmName/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Unique\ SCM\ name=SCM\u306e\u540d\u524d 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/ScmName/help.html: -------------------------------------------------------------------------------- 1 |
2 |

Unique name for this SCM. Needed when using Git within the Multi SCM plugin.

3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/ScmName/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

このSCMのユニークな名前です。Multi SCMプラグインでGitを使用する場合に必要です。

3 |
-------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SparseCheckoutPath/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SparseCheckoutPath/config_it.properties: -------------------------------------------------------------------------------- 1 | Path=Percorso del file 2 | Delete\ Path=Rimuovi percorso del file 3 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SparseCheckoutPath/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Path=\u30d1\u30b9 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SparseCheckoutPaths/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SparseCheckoutPaths/help.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | Specify the paths that you'd like to sparse checkout. This may be used for saving space (Think about a reference repository). 4 | Be sure to use a recent version of Git, at least above 1.7.10 5 |

6 |
7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SparseCheckoutPaths/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | sparse checkoutしたいパスを指定します。これはディスクスペースを節約するために使用することができます(リファレンスリポジトリを思い出してください)。 4 | 少なくとも1.7.10より新しいバージョンのGitを必ず使用してください。 5 |

6 |
7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.SubmoduleOption 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(field:"disableSubmodules") { 6 | f.checkbox(title:_("Disable submodules processing")) 7 | } 8 | f.entry(field:"recursiveSubmodules") { 9 | f.checkbox(title:_("Recursively update submodules")) 10 | } 11 | f.entry(field:"trackingSubmodules") { 12 | f.checkbox(title:_("Update tracking submodules to tip of branch")) 13 | } 14 | f.entry(field:"parentCredentials") { 15 | f.checkbox(title:_("Use credentials from default remote of parent repository")) 16 | } 17 | 18 | f.entry(title:_("Path of the reference repo to use during submodule update"), field:"reference") { 19 | f.textbox() 20 | } 21 | f.entry(title:_("Timeout (in minutes) for submodules operations"), field:"timeout") { 22 | f.number(clazz:"number", min:1, step:1) 23 | } 24 | f.entry(title:_("Number of threads to use when updating submodules"), field:"threads") { 25 | f.number(clazz:"number", min:1, step:1) 26 | } 27 | 28 | f.optionalBlock(title:_("Shallow clone"), field:"shallow", inline: true) { 29 | f.entry(title:_("Shallow clone depth"), field:"depth") { 30 | f.number(clazz:"number", min:1, step:1) 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-depth.html: -------------------------------------------------------------------------------- 1 |
2 | Set shallow clone depth, so that git will only download recent history of the project, 3 | saving time and disk space when you just want to access the latest commits of a repository. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-depth_ja.html: -------------------------------------------------------------------------------- 1 |
2 | gitがプロジェクトの最近の履歴のみをダウンロードするように、shallow cloneの深さを設定することで、 3 | リポジトリの最新のバージョンにアクセスしたいだけの場合に、時間とディスク容量を節約します。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-disableSubmodules.html: -------------------------------------------------------------------------------- 1 |
2 | By disabling support for submodules you can still keep using basic 3 | git plugin functionality and just have Jenkins to ignore submodules 4 | completely as if they didn't exist. 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-disableSubmodules_ja.html: -------------------------------------------------------------------------------- 1 |
2 | サブモジュールへのサポートを無効にしても、Gitプラグインの基本的な機能を使い続けることができるので、 3 | 最初から存在しないかのように、Jenkinsにサブモジュールを完璧に無視させます。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-parentCredentials.html: -------------------------------------------------------------------------------- 1 |
2 | Use credentials from the default remote of the parent project. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-parentCredentials_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 親プロジェクトのデフォルトのリモートからの認証情報を使用します。 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-recursiveSubmodules.html: -------------------------------------------------------------------------------- 1 |
2 | Retrieve all submodules recursively 3 | 4 | (uses '--recursive' option which requires git>=1.6.5) 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-recursiveSubmodules_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 再帰的に、すべてのサブモジュールを取得します。
3 | (git >= 1.6.5で、'--recursive'オプションを使用します) 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-reference.html: -------------------------------------------------------------------------------- 1 |
2 | Specify a folder containing a repository that will be used by Git as a reference during clone operations.
3 | This option will be ignored if the folder is not available on the controller or agent where the clone is being executed.
4 | To prepare a reference folder with multiple subprojects, create a bare git repository and add all the remote urls then perform a fetch:
5 |
 6 |   git init --bare
 7 |   git remote add SubProject1 https://gitrepo.com/subproject1
 8 |   git remote add SubProject2 https://gitrepo.com/subproject2
 9 |   git fetch --all
10 |   
11 |
12 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-reference_ja.html: -------------------------------------------------------------------------------- 1 |
2 | クローン中にリファレンスとしてGitが使用するリポジトリを含むパスを指定してください。
3 | クローンが行われるマスタかスレーブ上で、そのパスを利用できない場合、このオプションは無視されます。
4 |  複数サブプロジェクトを持つリファレンスを用意するには、ベアリポジトリを作成して、 5 | リモートのURLを追加して、フェッチします。
6 |
 7 |   git init --bare
 8 |   git remote add SubProject1 https://gitrepo.com/subproject1
 9 |   git remote add SubProject2 https://gitrepo.com/subproject2
10 |   git fetch --all
11 |   
12 |
13 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-shallow.html: -------------------------------------------------------------------------------- 1 |
2 | Perform shallow clone, so that git will not download the history of the project, 3 | saving time and disk space when you just want to access the latest version of a repository. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-shallow_ja.html: -------------------------------------------------------------------------------- 1 |
2 | gitがプロジェクトの履歴をダウンロードしないように、shallow cloneを実行することで、 3 | リポジトリの最新バージョンにのみアクセスしたい場合に、時間とディスク容量を節約します。 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-threads.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the number of threads that will be used to update submodules.
3 | If unspecified, the command line git default thread count is used.
4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-timeout.html: -------------------------------------------------------------------------------- 1 |
2 | Specify a timeout (in minutes) for submodules operations.
3 | This option overrides the default timeout of 10 minutes.
4 | You can change the global git timeout via the property org.jenkinsci.plugins.gitclient.Git.timeOut (see JENKINS-11286). 5 | Note that property should be set on both controller and agent to have effect (see JENKINS-22547). 6 |
7 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-timeout_ja.html: -------------------------------------------------------------------------------- 1 |
2 | サブモジュールの操作のタイムアウト(分)を指定します。このオプションは、デフォルトの10分を上書きします。 3 | プロパティorg.jenkinsci.plugins.gitclient.Git.timeOutを使用して、gitのグローバルなタイムアウトを変更することができます。
4 | (詳細は、JENKINS-11286を参照してください。)
5 | 注意:プロパティは、効果がでるように、マスタとスレーブの両方に設定すべきです。
6 | (詳細は、JENKINS-22547を参照してください。) 7 |
8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-trackingSubmodules.html: -------------------------------------------------------------------------------- 1 |
2 | Retrieve the tip of the configured branch in .gitmodules 3 | 4 | (Uses '--remote' option which requires git>=1.8.2) 5 |
6 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/SubmoduleOption/help-trackingSubmodules_ja.html: -------------------------------------------------------------------------------- 1 |
2 | .gitmodulesに設定されたブランチの先頭を取得します。
3 | (git>1.8.2で、'--remote'オプションを使用します。) 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserExclusion/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.UserExclusion 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("Excluded Users"), field:"excludedUsers") { 6 | f.textarea() 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserExclusion/config_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Excluded\ Users=\u5bfe\u8c61\u5916\u30e6\u30fc\u30b6\u30fc 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserExclusion/help-excludedUsers.html: -------------------------------------------------------------------------------- 1 |
2 | If set, and Jenkins is set to poll for changes, Jenkins will ignore any revisions committed by users in this list when determining if a build needs to be triggered. This can be used to exclude commits done by the build itself from triggering another build, assuming the build server commits the change with a distinct SCM user. 3 |

4 | Using this behaviour will preclude the faster git ls-remote polling mechanism, forcing polling to require a workspace thus sometimes triggering unwanted builds, as if you had selected the Force polling using workspace extension as well. 5 |

Each exclusion uses exact string comparison and must be separated by a new line. 6 | User names are only excluded if they exactly match one of the names in this list. 7 |

8 |

auto_build_user
9 | The example above illustrates that if only revisions by "auto_build_user" have been committed to the SCM a build will not occur. 10 |
11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserExclusion/help-excludedUsers_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | Jenkinsが変更をポーリングするように設定されると、ビルドを実行する必要があるかどうか決定するときに、 4 | Jenkinsはこのリストにあるユーザーによるコミットを無視します。これは、ビルド自身が行ったコミットが、 5 | 別のビルドを引き起こすのを避けるために使用できます。ビルドサーバが変更を異なるSCMユーザーでコミットすると仮定する場合ですが。 6 |

7 |

8 | この機能は、より速いgit ls-remoteを使用したポーリングの仕組みを妨げます。 9 | そして、Force polling using workspaceを選択したかのように、ポーリングにワークスペースが必要になり、 10 | 時々不要なビルドを引き起こします。 11 |

12 |

13 |  対象外ユーザーは、文字通りパターンマッチングを使用して、改行で分離されなければなりません。 14 |

15 | 16 |
auto_build_user
17 |

18 | "auto_build_user"によって、SCMにコミットされたリビジョンだけは、ビルドは起動しません。 19 |

20 |
21 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserIdentity/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl.UserIdentity 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.entry(title:_("user.name"), field:"name") { 6 | f.textbox() 7 | } 8 | f.entry(title:_("user.email"), field:"email") { 9 | f.textbox() 10 | } 11 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserIdentity/help-email.html: -------------------------------------------------------------------------------- 1 |
2 |

If given, "GIT_COMMITTER_EMAIL=[this]" and "GIT_AUTHOR_EMAIL=[this]" are set for builds. This overrides whatever is in the global settings.

3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserIdentity/help-email_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

ビルドの前に"git config user.email [this]"が呼ばれます。 3 | これは、システムの設定のグローバルな設定値を上書きします。

4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserIdentity/help-name.html: -------------------------------------------------------------------------------- 1 |
2 |

If given, "GIT_COMMITTER_NAME=[this]" and "GIT_AUTHOR_NAME=[this]" are set for builds. This overrides whatever is in the global settings.

3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/UserIdentity/help-name_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

ビルドの前に"git config user.name [this]"が呼ばれます。 3 | これは、システムの設定のグローバルな設定値を上書きします。

4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/WipeWorkspace/help.html: -------------------------------------------------------------------------------- 1 |
2 | Delete the contents of the workspace before building, ensuring a fully fresh workspace. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/extensions/impl/WipeWorkspace/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 | 完全に新しいワークスペースを提供するために、ビルドの前にワークスペースの内容を削除します。 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/util/AncestryBuildChooser/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.util.AncestryBuildChooser 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.description { 6 | raw(_("maximum_age_of_commit_blurb")) 7 | } 8 | 9 | f.entry(title:_("Maximum Age of Commit"), field:"maximumAgeInDays") { 10 | f.number(clazz:"number", min:0, step:1) 11 | } 12 | 13 | f.description { 14 | raw(_("commit_in_ancestry_blurb")) 15 | } 16 | 17 | f.entry(title:_("Commit in Ancestry"), field:"ancestorCommitSha1") { 18 | f.textbox() 19 | } 20 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/util/BuildChooser/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.util.BuildChooser 2 | 3 | // no configuration 4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/util/BuildData/index_it.properties: -------------------------------------------------------------------------------- 1 | Git\ Build\ Data=Dati del progetto git 2 | Revision=Revisione 3 | Built\ Branches=Rami costruitti 4 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/util/BuildData/summary.jelly: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | ${%Revision}: ${it.lastBuiltRevision.sha1.name()} 8 |
${%SCM}: ${it.scmName}
9 | 10 | 11 | 12 |
${%Repository}: ${remoteUrl} 13 |
14 | 15 |
${%Repository}: ${remoteUrl} 16 |
17 |
18 |
19 |
    20 | 21 | 22 |
  • ${branch.name}
  • 23 |
    24 |
    25 |
26 | 27 | 28 |
29 |
30 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/util/BuildData/summary_it.properties: -------------------------------------------------------------------------------- 1 | Revision=Revisione 2 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/util/BuildData/summary_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | Revision=\u30ea\u30d3\u30b8\u30e7\u30f3 24 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/util/InverseBuildChooser/config.groovy: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.util.InverseBuildChooser 2 | 3 | def f = namespace(lib.FormTagLib) 4 | 5 | f.description { 6 | raw(_("blurb")) 7 | } 8 | -------------------------------------------------------------------------------- /src/main/resources/hudson/plugins/git/util/InverseBuildChooser/config.properties: -------------------------------------------------------------------------------- 1 | blurb=Build all branches except for those which match the branch specifiers configure above. \ 2 | This is useful, for example, when you have jobs building your master and various \ 3 | release branches and you want a second job which builds all new feature branches — \ 4 | i.e. branches which do not match these patterns — without redundantly building \ 5 | master and the release branches again each time they change. -------------------------------------------------------------------------------- /src/main/resources/images/symbols/git-icon.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/main/resources/index.jelly: -------------------------------------------------------------------------------- 1 | 2 |
3 | This plugin integrates Git with Jenkins. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitSCMSource/config-detail_en.properties: -------------------------------------------------------------------------------- 1 | Behaviours=Behaviours 2 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitSCMSource/config-detail_en_US.properties: -------------------------------------------------------------------------------- 1 | Behaviours=Behaviors 2 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitSCMSource/config-detail_it.properties: -------------------------------------------------------------------------------- 1 | Project\ Repository=Deposito del progetto 2 | Credentials=Credenziali 3 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitStep/config_it.properties: -------------------------------------------------------------------------------- 1 | Repository\ URL=URL deposito 2 | Branch=Ramo 3 | Credentials=Credenziali 4 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitStep/help-branch.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | Branch to be checked out in the workspace. 4 | Default is 'master'. 5 |

6 |

7 | Note that this must be a local branch name like 'master' or 'develop'. 8 | Remote branch names like 'origin/master' and 'origin/develop' are not supported as the branch argument. 9 | Tag names are not supported as the branch argument. 10 | SHA-1 hashes are not supported as the branch argument. 11 | Remote branch names, tag names, and SHA-1 hashes are supported by the general purpose checkout step with the scmGit parameter. 12 |

13 |
14 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitStep/help-changelog.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | Compute changelog for this job. Default is 'true'. 4 |

5 |

6 | If changelog is false, then the changelog will not be computed for this job. 7 | If changelog is true or is not set, then the changelog will be computed. 8 |

9 |
10 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitStep/help-credentialsId.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | Identifier of the credential used to access the remote git repository. Default is '<empty>'. 4 |

5 |

6 | The credential must be a private key credential if the remote git repository is accessed with the ssh protocol. 7 | The credential must be a username / password credential if the remote git repository is accessed with http or https protocol. 8 |

9 |
10 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitStep/help-poll.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | Poll remote repository for changes. Default is 'true'. 4 |

5 |

6 | If poll is false, then the remote repository will not be polled for changes. 7 | If poll is true or is not set, then the remote repository will be polled for changes. 8 |

9 |
10 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitStep/help-url.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | URL of the repository to be checked out in the workspace. Required parameter. 4 |

5 |

6 | Repository URL's should follow the git URL guidelines. 7 | Git steps to access a secured repository should provide a Jenkins credential with the credentialsId argument rather than embedding credentials in the URL. 8 | Credentials embedded in a repository URL may be visible in console logs or in other log files. 9 |

10 |
11 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitStep/help_ja.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | Gitステップです。 指定したリポジトリからクローンを実行します。 4 |

5 |

6 | このステップは、一般的なSCMのステップである 7 |

 8 | checkout scmGit(branches: [[name: 'main']],
 9 |     userRemoteConfigs: [[url: 'https://git-server/user/repository.git']])
10 | 
11 |   の短縮形です。  12 |

13 |
14 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitUsernamePasswordBinding/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitUsernamePasswordBinding/help-credentialsId.html: -------------------------------------------------------------------------------- 1 |
2 | Set the git username / password credential for HTTP and HTTPS protocols. 3 | 4 |

5 | Shell example 6 |

 7 | withCredentials([gitUsernamePassword(credentialsId: 'my-credentials-id',
 8 |                  gitToolName: 'git-tool')]) {
 9 |   sh 'git fetch --all'
10 | }
11 | 
12 |

13 | 14 |

15 | Batch example 16 |

17 | withCredentials([gitUsernamePassword(credentialsId: 'my-credentials-id',
18 |                  gitToolName: 'git-tool')]) {
19 |   bat 'git submodule update --init --recursive'
20 | }
21 | 
22 |

23 | 24 |

25 | Powershell example 26 |

27 | withCredentials([gitUsernamePassword(credentialsId: 'my-credentials-id',
28 |                  gitToolName: 'git-tool')]) {
29 |   powershell 'git push'
30 | }
31 | 
32 |

33 | 34 |
35 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/GitUsernamePasswordBinding/help-gitToolName.html: -------------------------------------------------------------------------------- 1 |
2 |

3 | Specify the Git tool installation name 4 |

5 |
-------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/Messages_ja.properties: -------------------------------------------------------------------------------- 1 | # The MIT License 2 | # 3 | # Copyright (c) 2016-, Seiji Sogabe 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy 6 | # of this software and associated documentation files (the "Software"), to deal 7 | # in the Software without restriction, including without limitation the rights 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | # copies of the Software, and to permit persons to whom the Software is 10 | # furnished to do so, subject to the following conditions: 11 | # 12 | # The above copyright notice and this permission notice shall be included in 13 | # all copies or substantial portions of the Software. 14 | # 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | # THE SOFTWARE. 22 | 23 | GitSCMSource.DisplayName=Git 24 | GitStep.git=Git 25 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/BranchDiscoveryTrait/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/BranchDiscoveryTrait/help.html: -------------------------------------------------------------------------------- 1 |
2 | Discovers branches on the repository. 3 |
4 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/DiscoverOtherRefsTrait/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/DiscoverOtherRefsTrait/help-nameMapping.html: -------------------------------------------------------------------------------- 1 |

2 | Mapping for how the ref can be named in for example the @Library.
3 | Example: test-@{1}
4 | Where @{1} replaces the first wildcard in the ref when discovered. 5 |

6 |

7 | By default it will be "namespace_before_wildcard-@{1}". E.g. if ref is "test/*/merged" the default mapping would be 8 | "test-@{1}". 9 |

-------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/DiscoverOtherRefsTrait/help-ref.html: -------------------------------------------------------------------------------- 1 |

2 | The pattern under /refs on the remote repository to discover, can contain a wildcard.
3 | Example: test/*/merged 4 |

-------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/DiscoverOtherRefsTrait/help.html: -------------------------------------------------------------------------------- 1 |
2 | Discovers other specified refs on the repository. 3 |
-------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/LocalBranchTrait/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/Messages.properties: -------------------------------------------------------------------------------- 1 | BranchDiscoveryTrait.authorityDisplayName=Trust branches 2 | BranchDiscoveryTrait.displayName=Discover branches 3 | TagDiscoveryTrait.authorityDisplayName=Trust tags 4 | TagDiscoveryTrait.displayName=Discover tags 5 | DiscoverOtherRefsTrait.displayName=Discover other refs 6 | 7 | Advanced.clone.behaviours=Advanced clone behaviours 8 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/RefSpecsSCMSourceTrait/RefSpecTemplate/help-value.html: -------------------------------------------------------------------------------- 1 |
2 | A ref spec to fetch. Any occurrences of @{remote} will be replaced by the remote name 3 | (which defaults to origin) before use. 4 |
5 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/TagDiscoveryTrait/config.jelly: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/main/resources/jenkins/plugins/git/traits/TagDiscoveryTrait/help.html: -------------------------------------------------------------------------------- 1 |
2 | Discovers tags on the repository. 3 |
4 | -------------------------------------------------------------------------------- /src/main/webapp/extraRepo.html: -------------------------------------------------------------------------------- 1 |
2 | Specify extra repositories that will be fetched. You can use this to add references to all the git repos of all 3 | your team members, and the Jenkins build will fetch from them as well as from the 'central' repo. 4 |
5 | -------------------------------------------------------------------------------- /src/main/webapp/gitPublisher.html: -------------------------------------------------------------------------------- 1 |
2 | Optionally push merge results, tags, and/or branches to remote repositories. 3 |
-------------------------------------------------------------------------------- /src/main/webapp/gitPublisher_ja.html: -------------------------------------------------------------------------------- 1 |
2 | オプションで、リモートリポジトリに、マージした結果やタグ、およびブランチをプッシュします。 3 |
4 | -------------------------------------------------------------------------------- /src/main/webapp/sparseCheckoutPaths.html: -------------------------------------------------------------------------------- 1 |
2 | Specify the paths that you'd like to sparse checkout. This may be used for saving space (Think about a reference repository) 3 | Be sure to use a recent version of Git, at least above 1.7.10 4 |
5 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/CliGitSCMTriggerLocalPollTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git; 2 | 3 | import hudson.plugins.git.extensions.GitClientType; 4 | import hudson.plugins.git.extensions.impl.EnforceGitClient; 5 | 6 | public class CliGitSCMTriggerLocalPollTest extends SCMTriggerTest 7 | { 8 | 9 | @Override 10 | protected EnforceGitClient getGitClient() 11 | { 12 | return new EnforceGitClient().set(GitClientType.GITCLI); 13 | } 14 | 15 | @Override 16 | protected boolean isDisableRemotePoll() 17 | { 18 | return true; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/CliGitSCMTriggerRemotePollTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git; 2 | 3 | import hudson.plugins.git.extensions.GitClientType; 4 | import hudson.plugins.git.extensions.impl.EnforceGitClient; 5 | 6 | /** 7 | * Remote polling and local polling behave differently due to bugs in productive 8 | * code which probably cannot be fixed without serious compatibility problems. 9 | * The isChangeExpected() method adjusts the tests to the difference between 10 | * local and remote polling. 11 | */ 12 | public class CliGitSCMTriggerRemotePollTest extends SCMTriggerTest { 13 | 14 | @Override 15 | protected EnforceGitClient getGitClient() 16 | { 17 | return new EnforceGitClient().set(GitClientType.GITCLI); 18 | } 19 | 20 | @Override 21 | protected boolean isDisableRemotePoll() 22 | { 23 | return false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/JGitSCMTriggerLocalPollTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git; 2 | 3 | import hudson.plugins.git.extensions.GitClientType; 4 | import hudson.plugins.git.extensions.impl.EnforceGitClient; 5 | 6 | public class JGitSCMTriggerLocalPollTest extends SCMTriggerTest 7 | { 8 | 9 | @Override 10 | protected EnforceGitClient getGitClient() 11 | { 12 | return new EnforceGitClient().set(GitClientType.JGIT); 13 | } 14 | 15 | @Override 16 | protected boolean isDisableRemotePoll() 17 | { 18 | return true; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/JGitSCMTriggerRemotePollTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git; 2 | 3 | import hudson.plugins.git.extensions.GitClientType; 4 | import hudson.plugins.git.extensions.impl.EnforceGitClient; 5 | 6 | /** 7 | * Remote polling and local polling behave differently due to bugs in productive 8 | * code which probably cannot be fixed without serious compatibility problems. 9 | * The isChangeExpected() method adjusts the tests to the difference between 10 | * local and remote polling. 11 | */ 12 | public class JGitSCMTriggerRemotePollTest extends SCMTriggerTest 13 | { 14 | @Override 15 | protected EnforceGitClient getGitClient() 16 | { 17 | return new EnforceGitClient().set(GitClientType.JGIT); 18 | } 19 | 20 | @Override 21 | protected boolean isDisableRemotePoll() 22 | { 23 | return false; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/AuthorInChangelogTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | import static org.hamcrest.MatcherAssert.assertThat; 7 | import static org.hamcrest.Matchers.is; 8 | 9 | public class AuthorInChangelogTest { 10 | 11 | @Test 12 | public void equalsContract() { 13 | EqualsVerifier.forClass(AuthorInChangelog.class) 14 | .usingGetClass() 15 | .verify(); 16 | } 17 | 18 | @Test 19 | public void checkToString() { 20 | AuthorInChangelog setting = new AuthorInChangelog(); 21 | assertThat(setting.toString(), is("AuthorInChangelog{}")); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/ChangelogToBranchTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import hudson.plugins.git.ChangelogToBranchOptions; 4 | 5 | import org.junit.Test; 6 | 7 | import static org.hamcrest.MatcherAssert.assertThat; 8 | import static org.hamcrest.Matchers.containsString; 9 | import static org.junit.Assert.assertThrows; 10 | 11 | public class ChangelogToBranchTest { 12 | @Test 13 | public void checkConstructorIllegalArgument() { 14 | ChangelogToBranchOptions nullOptions = null; 15 | IllegalArgumentException e = assertThrows(IllegalArgumentException.class, 16 | () -> new ChangelogToBranch(nullOptions)); 17 | assertThat(e.getMessage(), containsString("options may not be null")); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/CleanBeforeCheckoutTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import nl.jqno.equalsverifier.Warning; 5 | import org.junit.Test; 6 | 7 | public class CleanBeforeCheckoutTest { 8 | 9 | @Test 10 | public void equalsContract() { 11 | EqualsVerifier.forClass(CleanBeforeCheckout.class) 12 | .usingGetClass() 13 | .suppress(Warning.NONFINAL_FIELDS) 14 | .verify(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/CleanCheckoutTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import nl.jqno.equalsverifier.Warning; 5 | import org.junit.Test; 6 | 7 | import static org.hamcrest.MatcherAssert.assertThat; 8 | import static org.hamcrest.Matchers.is; 9 | 10 | public class CleanCheckoutTest { 11 | 12 | @Test 13 | public void equalsContract() { 14 | EqualsVerifier.forClass(CleanCheckout.class) 15 | .usingGetClass() 16 | .suppress(Warning.NONFINAL_FIELDS) 17 | .verify(); 18 | } 19 | 20 | @Test 21 | public void checkToStringFalse() { 22 | CleanCheckout setting = new CleanCheckout(); 23 | assertThat(setting.toString(), is("CleanCheckout{deleteUntrackedNestedRepositories=false}")); 24 | } 25 | 26 | @Test 27 | public void checkToStringTrue() { 28 | CleanCheckout setting = new CleanCheckout(); 29 | setting.setDeleteUntrackedNestedRepositories(true); 30 | assertThat(setting.toString(), is("CleanCheckout{deleteUntrackedNestedRepositories=true}")); 31 | setting.setDeleteUntrackedNestedRepositories(false); 32 | assertThat(setting.toString(), is("CleanCheckout{deleteUntrackedNestedRepositories=false}")); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/CloneOptionTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import hudson.plugins.git.extensions.GitClientType; 4 | import nl.jqno.equalsverifier.EqualsVerifier; 5 | import nl.jqno.equalsverifier.Warning; 6 | import static org.hamcrest.MatcherAssert.*; 7 | import static org.hamcrest.Matchers.*; 8 | import org.junit.Test; 9 | 10 | public class CloneOptionTest { 11 | 12 | @Test 13 | public void getRequiredClient() { 14 | CloneOption cloneOption = new CloneOption(false, "", 1); 15 | assertThat(cloneOption.getRequiredClient(), is(GitClientType.GITCLI)); 16 | } 17 | 18 | @Test 19 | public void equalsContract() { 20 | EqualsVerifier.forClass(CloneOption.class) 21 | .usingGetClass() 22 | .suppress(Warning.NONFINAL_FIELDS) 23 | .verify(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/EnforceGitClient.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import hudson.Extension; 4 | import hudson.plugins.git.extensions.FakeGitSCMExtension; 5 | import hudson.plugins.git.extensions.GitClientType; 6 | import hudson.plugins.git.extensions.GitSCMExtensionDescriptor; 7 | 8 | import org.kohsuke.stapler.DataBoundConstructor; 9 | 10 | /** 11 | * Enforce JGit Client 12 | */ 13 | public class EnforceGitClient extends FakeGitSCMExtension { 14 | 15 | GitClientType clientType = GitClientType.ANY; 16 | 17 | public EnforceGitClient set(GitClientType type) { 18 | this.clientType = type; 19 | return this; 20 | } 21 | 22 | @Override 23 | public GitClientType getRequiredClient() 24 | { 25 | return clientType; 26 | } 27 | 28 | @DataBoundConstructor 29 | public EnforceGitClient() { 30 | } 31 | 32 | @Extension 33 | public static class DescriptorImpl extends GitSCMExtensionDescriptor { 34 | @Override 35 | public String getDisplayName() { 36 | return "Enforce JGit Client"; 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/GitLFSPullTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | public class GitLFSPullTest { 7 | 8 | @Test 9 | public void equalsContract() { 10 | EqualsVerifier.forClass(GitLFSPull.class) 11 | .usingGetClass() 12 | .verify(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/IgnoreNotifyCommitTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | public class IgnoreNotifyCommitTest { 7 | 8 | @Test 9 | public void equalsContract() { 10 | EqualsVerifier.forClass(IgnoreNotifyCommit.class) 11 | .usingGetClass() 12 | .verify(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/LocalBranchTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | import static org.hamcrest.MatcherAssert.assertThat; 7 | import static org.hamcrest.Matchers.is; 8 | 9 | public class LocalBranchTest { 10 | 11 | @Test 12 | public void equalsContract() { 13 | EqualsVerifier.forClass(LocalBranch.class) 14 | .usingGetClass() 15 | .verify(); 16 | } 17 | 18 | @Test 19 | public void checkToString() { 20 | LocalBranch setting = new LocalBranch("branch-name"); 21 | assertThat(setting.toString(), is("LocalBranch{localBranch='branch-name'}")); 22 | } 23 | 24 | @Test 25 | public void checkToStringNull() { 26 | LocalBranch setting = new LocalBranch(null); 27 | assertThat(setting.toString(), is("LocalBranch{same-as-remote}")); 28 | } 29 | 30 | @Test 31 | public void checkToStringWildcards() { 32 | LocalBranch setting = new LocalBranch("**"); 33 | assertThat(setting.toString(), is("LocalBranch{same-as-remote}")); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/PruneStaleBranchTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | public class PruneStaleBranchTest { 7 | 8 | @Test 9 | public void equalsContract() { 10 | EqualsVerifier.forClass(PruneStaleBranch.class) 11 | .usingGetClass() 12 | .verify(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/hudson/plugins/git/extensions/impl/SparseCheckoutPathTest.java: -------------------------------------------------------------------------------- 1 | package hudson.plugins.git.extensions.impl; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | public class SparseCheckoutPathTest { 7 | 8 | @Test 9 | public void equalsContract() { 10 | EqualsVerifier.forClass(SparseCheckoutPath.class) 11 | .usingGetClass() 12 | .verify(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/jenkins/plugins/git/GitJCasCCompatibilityTest.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git; 2 | 3 | import hudson.plugins.git.GitSCM; 4 | import hudson.scm.SCM; 5 | import io.jenkins.plugins.casc.misc.RoundTripAbstractTest; 6 | import org.hamcrest.CoreMatchers; 7 | import org.jenkinsci.plugins.workflow.libs.GlobalLibraries; 8 | import org.jenkinsci.plugins.workflow.libs.LibraryRetriever; 9 | import org.jenkinsci.plugins.workflow.libs.SCMRetriever; 10 | import org.jvnet.hudson.test.RestartableJenkinsRule; 11 | 12 | 13 | import static org.hamcrest.MatcherAssert.assertThat; 14 | 15 | public class GitJCasCCompatibilityTest extends RoundTripAbstractTest { 16 | @Override 17 | protected void assertConfiguredAsExpected(RestartableJenkinsRule restartableJenkinsRule, String s) { 18 | LibraryRetriever retriever = GlobalLibraries.get().getLibraries().get(0).getRetriever(); 19 | assertThat(retriever, CoreMatchers.instanceOf(SCMRetriever.class)); 20 | SCM scm = ((SCMRetriever) retriever).getScm(); 21 | assertThat(scm, CoreMatchers.instanceOf(GitSCM.class)); 22 | } 23 | 24 | @Override 25 | protected String stringInLogExpected() { 26 | return "Setting class hudson.plugins.git.GitSCM.extensions = [cleanCheckout, lfs, {checkoutOption={}}, {userIdentity={}}, {preBuildMerge={}}]"; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/test/java/jenkins/plugins/git/GitRemoteHeadRefActionTest.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | public class GitRemoteHeadRefActionTest { 7 | 8 | @Test 9 | public void equalsContract() { 10 | EqualsVerifier.forClass(GitRemoteHeadRefAction.class) 11 | .usingGetClass() 12 | .verify(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/jenkins/plugins/git/GitSCMSourceContextTest.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | public class GitSCMSourceContextTest { 7 | 8 | @Test 9 | public void equalsContract_RefNameMapping() { 10 | EqualsVerifier.forClass(GitSCMSourceContext.RefNameMapping.class) 11 | .usingGetClass() 12 | .verify(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/jenkins/plugins/git/GitSCMSourceDefaultsTest.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git; 2 | 3 | import nl.jqno.equalsverifier.EqualsVerifier; 4 | import org.junit.Test; 5 | 6 | public class GitSCMSourceDefaultsTest { 7 | 8 | @Test 9 | public void equalsContract() { 10 | EqualsVerifier.forClass(GitSCMSourceDefaults.class) 11 | .usingGetClass() 12 | .verify(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test/java/jenkins/plugins/git/RandomOrder.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git; 2 | 3 | import org.junit.runner.manipulation.Ordering; 4 | 5 | import java.util.Random; 6 | 7 | public class RandomOrder implements Ordering.Factory { 8 | private static final long SEED = new Random().nextLong(); 9 | @Override 10 | public Ordering create(Ordering.Context context) { 11 | return Ordering.shuffledBy(new Random(SEED)); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/jenkins/plugins/git/junit/jupiter/GitSampleRepoExtensionClassTest.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git.junit.jupiter; 2 | 3 | import org.junit.jupiter.api.Assertions; 4 | import org.junit.jupiter.api.Test; 5 | 6 | import jenkins.plugins.git.GitSampleRepoRule; 7 | 8 | @WithGitSampleRepo 9 | class GitSampleRepoExtensionClassTest { 10 | 11 | @Test 12 | void gitSampleRepoIsInjected(GitSampleRepoRule rule) throws Exception { 13 | Assertions.assertNotNull(rule); 14 | // somehow testing initialization 15 | var root = rule.getRoot(); 16 | Assertions.assertNotNull(root); 17 | rule.init(); 18 | Assertions.assertNotNull(rule.head()); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/jenkins/plugins/git/junit/jupiter/GitSampleRepoExtensionMethodTest.java: -------------------------------------------------------------------------------- 1 | package jenkins.plugins.git.junit.jupiter; 2 | 3 | import org.junit.jupiter.api.Assertions; 4 | import org.junit.jupiter.api.Test; 5 | 6 | import jenkins.plugins.git.GitSampleRepoRule; 7 | 8 | class GitSampleRepoExtensionMethodTest { 9 | 10 | @WithGitSampleRepo 11 | @Test 12 | void gitSampleRepoIsInjected(GitSampleRepoRule rule) throws Exception { 13 | Assertions.assertNotNull(rule); 14 | // somehow testing initialization 15 | var root = rule.getRoot(); 16 | Assertions.assertNotNull(root); 17 | rule.init(); 18 | Assertions.assertNotNull(rule.head()); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/test/java/org/jenkinsci/plugins/gitclient/TestJGitAPIImpl.java: -------------------------------------------------------------------------------- 1 | package org.jenkinsci.plugins.gitclient; 2 | 3 | import hudson.model.TaskListener; 4 | import jenkins.plugins.git.AbstractGitSCMSourceTest; 5 | import org.jenkinsci.plugins.gitclient.jgit.PreemptiveAuthHttpClientConnectionFactory; 6 | 7 | import java.io.File; 8 | 9 | /** 10 | * This is just here to make the constructors public 11 | * @see AbstractGitSCMSourceTest#when_commits_added_during_discovery_we_do_not_crash() 12 | */ 13 | public class TestJGitAPIImpl extends JGitAPIImpl { 14 | public TestJGitAPIImpl(File workspace, TaskListener listener) { 15 | super(workspace, listener); 16 | } 17 | 18 | public TestJGitAPIImpl(File workspace, TaskListener listener, PreemptiveAuthHttpClientConnectionFactory httpConnectionFactory) { 19 | super(workspace, listener, httpConnectionFactory); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/test/resources/hudson/plugins/git/browser/rawchangelog: -------------------------------------------------------------------------------- 1 | commit 396fc230a3db05c427737aa5c2eb7856ba72b05d 2 | tree 196333547f8b9a5fcc8b1fffe4accb01da42c5a6 3 | parent f28f125f4cc3e5f6a32daee6a26f36f7b788b8ff 4 | author Mirko Friedenhagen 1277411790 +0200 5 | committer Mirko Friedenhagen 1277411790 +0200 6 | 7 | Github seems to have no URL for deleted files, so just return a difflink instead. 8 | 9 | :100644 100644 3f28ad75f5ecd5e0ea9659362e2eef18951bd451 2e0756cd853dccac638486d6aab0e74bc2ef4041 M src/main/java/hudson/plugins/git/browser/GithubWeb.java 10 | :100644 100644 019d377767702b6c572fa4ae97c982e02dcd76ff 7c89764ba7a51c23e809b24376d90d7d06337434 M src/test/java/hudson/plugins/git/browser/GithubWebTest.java 11 | :000000 100644 0000000000000000000000000000000000000000 885ce99421b3ae3a413a5c7fb0cdf9ec477d3f64 A src/test/resources/hudson/plugins/git/browser/rawchangelog-with-deleted-file 12 | -------------------------------------------------------------------------------- /src/test/resources/hudson/plugins/git/browser/rawchangelog-with-deleted-file: -------------------------------------------------------------------------------- 1 | commit fc029da233f161c65eb06d0f1ed4f36ae81d1f4f 2 | tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 3 | parent b547aa10c3f06710c6fdfcdb2a9149c81662923b 4 | author Mirko Friedenhagen 1277410107 +0200 5 | committer Mirko Friedenhagen 1277410107 +0200 6 | 7 | Delete file 8 | 9 | :100644 000000 257cc5642cb1a054f08cc83f2d943e56fd3ebe99 0000000000000000000000000000000000000000 D bar 10 | -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/GitBranchSCMHeadTest/testMigrationNoBuildStorm.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/src/test/resources/jenkins/plugins/git/GitBranchSCMHeadTest/testMigrationNoBuildStorm.zip -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/GitBranchSCMHeadTest/testMigrationNoBuildStorm_repositories.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/src/test/resources/jenkins/plugins/git/GitBranchSCMHeadTest/testMigrationNoBuildStorm_repositories.zip -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/GitSCMSourceTraitsTest/cleancheckout_v1_extension.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/GitSCMSourceTraitsTest/cleancheckout_v1_trait.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/GitSCMSourceTraitsTest/cleancheckout_v2_extension.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | 6 | 7 | true 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/GitSCMSourceTraitsTest/cleancheckout_v2_trait.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | true 6 | 7 | 8 | 9 | 10 | true 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/GitSCMSourceTraitsTest/modern.xml: -------------------------------------------------------------------------------- 1 | 2 | 5b061c87-da5c-4d69-b9d5-b041d065c945 3 | git://git.test/example.git 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/gitscm-casc.yaml: -------------------------------------------------------------------------------- 1 | unclassified: 2 | scmGit: 3 | allowSecondFetch: true 4 | createAccountBasedOnEmail: true 5 | globalConfigEmail: "me@mail.com" 6 | globalConfigName: "user_name" 7 | hideCredentials: true 8 | addGitTagAction: true 9 | showEntireCommitSummaryInChanges: true 10 | useExistingAccountWithSameEmail: false 11 | -------------------------------------------------------------------------------- /src/test/resources/jenkins/plugins/git/tool-casc.yaml: -------------------------------------------------------------------------------- 1 | tool: 2 | git: 3 | installations: 4 | - home: "git" 5 | name: "Default" 6 | properties: 7 | - installSource: 8 | installers: 9 | - command: 10 | command: "install git" 11 | label: "git command" 12 | toolHome: "/my/path/1" 13 | - zip: 14 | label: "git zip" 15 | subdir: "/my/path/2" 16 | url: "http://fake.com" 17 | - batchFile: 18 | command: "run batch command" 19 | label: "git batch" 20 | toolHome: "/my/path/3" 21 | -------------------------------------------------------------------------------- /src/test/resources/namespaceBranchRepo.ls-remote: -------------------------------------------------------------------------------- 1 | 86e6eeccc0b3a5e1c8034ff51718b8843a755789 HEAD 2 | 1aeaf8635d2e419a6e9587fd1ed1ddcd445845d9 refs/heads/a_tests/b_namespace1/master 3 | 3e73b26f220d8ad3e517858ffbe83b837d7f04c5 refs/heads/a_tests/b_namespace2/master 4 | 73d4779eae7b6aed8191635f5debc2b37ad083d0 refs/heads/a_tests/b_namespace3/feature3 5 | d940b841b7a5488ab42772f263b107a58eba2621 refs/heads/a_tests/b_namespace3/master 6 | 74ae8c24eb2783794d969e7f1df7260a8aa06d6b refs/heads/b_namespace3/feature4 7 | 0b97e49ddbf699cf7b6deb31982d9d568d5e30f4 refs/heads/b_namespace3/master 8 | b00d0c59cf79da494640788cb23453a0315b9c41 refs/heads/branchForTagA 9 | dde47cb9b577cb6b50597931cdead4255669f322 refs/heads/branchForTagBAnnotated 10 | 86e6eeccc0b3a5e1c8034ff51718b8843a755789 refs/heads/master 11 | b00d0c59cf79da494640788cb23453a0315b9c41 refs/tags/TagA 12 | a388aa2e007106f77416e48f0aa3536d89c660ff refs/tags/TagBAnnotated 13 | dde47cb9b577cb6b50597931cdead4255669f322 refs/tags/TagBAnnotated^{} 14 | -------------------------------------------------------------------------------- /src/test/resources/namespaceBranchRepo.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/src/test/resources/namespaceBranchRepo.zip -------------------------------------------------------------------------------- /src/test/resources/specialBranchRepo.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jenkinsci/git-plugin/ba7687fc24ba1f0abb58b64643afbe2c548e0d1c/src/test/resources/specialBranchRepo.zip -------------------------------------------------------------------------------- /src/test/resources/ssh-keys/id_rsa.pub: -------------------------------------------------------------------------------- 1 | ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDY6lWdKJGT4PGhF+uCr0cA1HDfujBVOmEKWc+p7U/Heu/dCv05XXsQKE3G4hf2XkYbRDoD+IxKOhl2BpsFALfYjmsouC5weA7D/mcXq/Tcqb6LoqE7LtI6Qd1UH1WTTFP6bCpcYAfRBVMjhtCpHjGt2Y7lwRdHQSUtBNiX4iisJjQlubc7YWojWwm0BqqP9hWpk4ua/7bC+lLv1mcvQbdKu4l+hShbDF8wN684xCDTUYqfjsnqxX8f4RlHGrGZXmWhkH3iy014acK8gl2nj5Y6remHiXaZ45q4H5Kw1ciNtSi1wLPm0ogqLprdkAGZl4jhnNcPLvzWG7O2hRQR6iWUseSn/iNNzUeAB2SA/v0XEJG+1tvljUtHVCBbP+u2WJQSSGQx4CP3Gja2QjjBnrg+f/K0VSK3G4yc12FE0hdmOr0hBSoeEDvwm0JBtChqFsH6/pNTRefEoxwkfzpHwHzPYdPkpswRqxt+9lalRza/WCtccZI+ekbSiSHSiKM0dytmdwJxwZYqvkdxKVQUa36wt24pTttzvlamZGQQVb6zFUkYzgKWKSsWbhun6fHte+KruGJmF/ceiejPwFQprZaRme/93NFHc8w73Ewrz082R5V8ew7DKRUPdzUvkN8BkBconle/V3hYqWYa4vbNhq0ZA67ejgTYeH3Dy5PmGAi68Q== foo@foo.com 2 | --------------------------------------------------------------------------------