stable
Clone or download
Read-only
Note that mentionning the token is mandatory when updating a hook. This should not really be an issue since the person updating the hook is supposed to have access to it on the Jenkins side. Closes request #27906: Token is required when using `notifyCommit` webhook endpoint Change-Id: Ia4121a3c1005aa2a32dd967e5bea299d3b7f7af9
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/hudson_git/db/install.sql | +3 | −1 | Go to diff View file |
A | plugins/hudson_git/db/mysql/updates/2022/202208020945_add_encrypted_token_jenkins_server.php | +41 | −0 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/AddController.php | +16 | −2 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServer.php | +16 | −3 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServerAdder.php | +12 | −3 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServerDao.php | +14 | −4 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/JenkinsServerFactory.php | +4 | −2 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/XML/XMLExporter.php | +7 | −1 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Git/Administration/XML/XMLImporter.php | +10 | −2 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Hook/HookController.php | +20 | −1 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Hook/HookDao.php | +6 | −6 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Hook/HookTriggerController.php | +6 | −2 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/Hook/JenkinsClient.php | +7 | −1 | Go to diff View file |
M | plugins/hudson_git/include/HudsonGit/REST/v1/GitJenkinsServersResource.php | +3 | −2 | Go to diff View file |
M | plugins/hudson_git/include/hudson_gitPlugin.php | +10 | −5 | Go to diff View file |
M | plugins/hudson_git/site-content/fr_FR/LC_MESSAGES/tuleap-hudson_git.po | +9 | −0 | Go to diff View file |
M | plugins/hudson_git/site-content/pt_BR/LC_MESSAGES/tuleap-hudson_git.po | +9 | −0 | Go to diff View file |
M | plugins/hudson_git/templates/git-administration/modal-add-jenkins-server.mustache | +8 | −1 | Go to diff View file |
M | plugins/hudson_git/templates/modal-jenkins.mustache | +6 | −1 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/AddControllerTest.php | +5 | −2 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/AdministrationControllerTest.php | +1 | −1 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/DeleteControllerTest.php | +1 | −0 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/JenkinsServerAdderTest.php | +28 | −6 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/JenkinsServerDeleterTest.php | +1 | −0 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Git/Administration/XML/XMLExporterTest.php | +11 | −4 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Hook/HookTriggerControllerTest.php | +13 | −13 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Hook/JenkinsClientTest.php | +21 | −4 | Go to diff View file |
M | plugins/hudson_git/tests/unit/HudsonGit/Log/LogCreatorTest.php | +5 | −0 | Go to diff View file |
M | src/common/xml/resources/git-definition.rnc | +1 | −0 | Go to diff View file |
M | src/common/xml/resources/project/git-definition.rng | +7 | −0 | Go to diff View file |
M | src/common/xml/resources/project/project.rng | +7 | −0 | Go to diff View file |