-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from sbesson/SPACENAME
Remove usage of SPACEBRANCH
- Loading branch information
Showing
11 changed files
with
21 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
---|---|---|
|
@@ -23,12 +23,6 @@ | |
</a> | ||
</choices> | ||
</hudson.model.ChoiceParameterDefinition> | ||
<hudson.model.StringParameterDefinition> | ||
<name>PUSH_BRANCH</name> | ||
<description></description> | ||
<defaultValue>SPACEBRANCH_merge_trigger</defaultValue> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.StringParameterDefinition> | ||
<name>BASE_BRANCH</name> | ||
<description></description> | ||
|
@@ -38,7 +32,7 @@ | |
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
</properties> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="git@3.9.1"> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="git@4.0.0-rc"> | ||
<configVersion>2</configVersion> | ||
<userRemoteConfigs> | ||
<hudson.plugins.git.UserRemoteConfig> | ||
|
@@ -94,7 +88,7 @@ git submodule update --remote --recursive | |
|
||
echo "Merge all submodules using repository configuration:" | ||
cat "scripts/repositories.yml" | ||
scc merge "--repository-config=$(pwd)/scripts/repositories.yml" $MERGE_OPTIONS --update-gitmodules --push $PUSH_BRANCH master | ||
scc merge "--repository-config=$(pwd)/scripts/repositories.yml" $MERGE_OPTIONS --update-gitmodules --push $MERGE_PUSH_BRANCH master | ||
|
||
echo "Update maven component versions" | ||
update-versions | ||
|
@@ -105,13 +99,13 @@ git submodule foreach "git commit -m 'Update component versions' | |
|
||
echo "Push all branches" | ||
user=$(git config github.user) | ||
git submodule foreach "git push -f [email protected]:$user/"'${path}.git'" HEAD:$PUSH_BRANCH" | ||
git submodule foreach "git push -f [email protected]:$user/"'${path}.git'" HEAD:$MERGE_PUSH_BRANCH" | ||
|
||
echo "Commit all component version changes" | ||
git add -u | ||
git commit -m 'Update component versions' || true | ||
|
||
git push -f [email protected]:$user/bio-formats-build.git HEAD:$PUSH_BRANCH</command> | ||
git push -f [email protected]:$user/bio-formats-build.git HEAD:$MERGE_PUSH_BRANCH</command> | ||
</hudson.tasks.Shell> | ||
<hudson.tasks.Shell> | ||
<command># TODO: move to Jenkinsfile | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
<hudson.model.StringParameterDefinition> | ||
<name>MERGE_COMMAND</name> | ||
<description></description> | ||
<defaultValue>merge SPACEBRANCH --no-ask --reset --shallow</defaultValue> | ||
<defaultValue>merge develop --no-ask --reset --shallow</defaultValue> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.ChoiceParameterDefinition> | ||
|
@@ -23,12 +23,6 @@ | |
</a> | ||
</choices> | ||
</hudson.model.ChoiceParameterDefinition> | ||
<hudson.model.StringParameterDefinition> | ||
<name>PUSH_BRANCH</name> | ||
<description></description> | ||
<defaultValue>SPACEBRANCH_merge_trigger</defaultValue> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
</properties> | ||
|
@@ -104,7 +98,7 @@ echo "$line" >> etc/omero.properties | |
|
||
cat $WORKSPACE/version.properties >> etc/omero.properties | ||
git commit -a -m "Add version.properties to etc/omero.properties" | ||
git push -f [email protected]:$user/openmicroscopy.git HEAD:$PUSH_BRANCH</command> | ||
git push -f [email protected]:$user/openmicroscopy.git HEAD:refs/heads/$MERGE_PUSH_BRANCH</command> | ||
</hudson.tasks.Shell> | ||
</builders> | ||
<publishers/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters