forked from jenkinsci/scm-sync-configuration-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add two more test cases for adding/deleting/renaming a job with blanks in the name. Ignored because of maven-scm bug SCM-772.[1] [1] https://issues.apache.org/jira/browse/SCM-772
- Loading branch information
Showing
6 changed files
with
180 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...sources/expected-scm-hierarchies/HudsonExtensionsTest.testAddJobNameWithBlanks/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson> | ||
<version>1.339</version> | ||
<numExecutors>2</numExecutors> | ||
<mode>NORMAL</mode> | ||
<useSecurity>true</useSecurity> | ||
<authorizationStrategy class="hudson.security.FullControlOnceLoggedInAuthorizationStrategy"/> | ||
<securityRealm class="hudson.security.HudsonPrivateSecurityRealm"> | ||
<disableSignup>true</disableSignup> | ||
</securityRealm> | ||
<systemMessage>Welcome !</systemMessage> | ||
<jdks /> | ||
<clouds/> | ||
<slaves/> | ||
<quietPeriod>5</quietPeriod> | ||
<scmCheckoutRetryCount>0</scmCheckoutRetryCount> | ||
<views> | ||
<hudson.model.AllView> | ||
<owner class="hudson" reference="../../.."/> | ||
<name>All</name> | ||
<filterExecutors>false</filterExecutors> | ||
<filterQueue>false</filterQueue> | ||
</hudson.model.AllView> | ||
</views> | ||
<primaryView>All</primaryView> | ||
<slaveAgentPort>0</slaveAgentPort> | ||
<label></label> | ||
<nodeProperties/> | ||
<globalNodeProperties/> | ||
<disabledAdministrativeMonitors/> | ||
</hudson> |
5 changes: 5 additions & 0 deletions
5
...cted-scm-hierarchies/HudsonExtensionsTest.testAddJobNameWithBlanks/hudson.tasks.Shell.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson.tasks.Shell_-DescriptorImpl> | ||
<helpRedirect/> | ||
<shell>/bin/bash</shell> | ||
</hudson.tasks.Shell_-DescriptorImpl> |
21 changes: 21 additions & 0 deletions
21
...ted-scm-hierarchies/HudsonExtensionsTest.testAddJobNameWithBlanks/jobs/fakeJob/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<maven2-moduleset> | ||
<actions/> | ||
<description></description> | ||
<keepDependencies>false</keepDependencies> | ||
<properties/> | ||
<scm class="hudson.scm.NullSCM"/> | ||
<canRoam>true</canRoam> | ||
<disabled>false</disabled> | ||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | ||
<triggers class="vector"/> | ||
<concurrentBuild>false</concurrentBuild> | ||
<aggregatorStyleBuild>true</aggregatorStyleBuild> | ||
<incrementalBuild>false</incrementalBuild> | ||
<usePrivateRepository>false</usePrivateRepository> | ||
<ignoreUpstremChanges>false</ignoreUpstremChanges> | ||
<archivingDisabled>false</archivingDisabled> | ||
<reporters/> | ||
<publishers/> | ||
<buildWrappers/> | ||
</maven2-moduleset> |
21 changes: 21 additions & 0 deletions
21
...cm-hierarchies/HudsonExtensionsTest.testAddJobNameWithBlanks/jobs/new fake Job/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<maven2-moduleset> | ||
<actions/> | ||
<description></description> | ||
<keepDependencies>false</keepDependencies> | ||
<properties/> | ||
<scm class="hudson.scm.NullSCM"/> | ||
<canRoam>true</canRoam> | ||
<disabled>true</disabled> | ||
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> | ||
<triggers class="vector"/> | ||
<concurrentBuild>false</concurrentBuild> | ||
<aggregatorStyleBuild>true</aggregatorStyleBuild> | ||
<incrementalBuild>false</incrementalBuild> | ||
<usePrivateRepository>true</usePrivateRepository> | ||
<ignoreUpstremChanges>false</ignoreUpstremChanges> | ||
<archivingDisabled>false</archivingDisabled> | ||
<reporters/> | ||
<publishers/> | ||
<buildWrappers/> | ||
</maven2-moduleset> |
5 changes: 5 additions & 0 deletions
5
...-scm-hierarchies/HudsonExtensionsTest.testAddJobNameWithBlanks/scm-sync-configuration.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<hudson.plugins.scm__sync__configuration.ScmSyncConfigurationPlugin version="1"> | ||
<scmRepositoryUrl>scm:svn:https://myrepo/synchronizedDirectory/</scmRepositoryUrl> | ||
<scm class="hudson.plugins.scm_sync_configuration.scms.ScmSyncSubversionSCM"/> | ||
</hudson.plugins.scm__sync__configuration.ScmSyncConfigurationPlugin> |