Bitrise Build Issue Report template
Bitrise fails to build branches with slashes â/â in the name.
Slashes in branch names are a great tool for branch organization.
Environment:
Where did the issue happen?
If on Bitrise.io: which stack?
Xamarin Stable with Xcode 8.2, on macOS 10.12 (Sierra)
Which build Step causes the issue and which version of the step?
set-android-manifest-versions@1.0.5
Reproducibility
- Does a âRebuildâ help? (You can trigger a rebuild from the Buildâs page, by clicking the âRebuildâ button in the top right corner of a finished build) : NO
-
Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : NO - If you have multiple different build configurations (workflows), does the issue affect all/more than one? : YES
- If itâs an issue which happens sporadically, whatâs the frequency? (e.g. Once a day ; about x% of the builds) : N/A
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? :
Linux/Android stack builds
Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp
directory and running the build from there with the Bitrise CLI ( https://www.bitrise.io/cli )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/ .
Other stacks
Can it be reproduced by running the build locally with our CLI ( https://www.bitrise.io/cli ), after doing a new git clone of the repository into the /tmp
directory and running the build from there with the Bitrise CLI ( https://www.bitrise.io/cli )?
Build log
Please attach the build log (you can download the build log from the buildâs page, once the build is finished, using the âDownload logâ button - floating at the bottom right corner of the log viewer), or if you canât attach the whole log then send the full log through a private channel (e.g. email - https://www.bitrise.io/contact ), with a link to the related GitHub issue.
Hereâs the part with the issue:
âŠ
(i) Provided Android Manifest path: Wolf.Android/Properties/AndroidManifest.xml
(i) Verson Code: 2822
(i) Version Name: 2.1.2.2822-andre/WOLF-4021-machine-info-analytics
Version code detected: 3
(i) Version code: 2822
Version name detected: 1.0.3
---- Set Build Version Code:
sed -i.bak âs/android:versionCode=â"${VERSIONCODE}""/android:versionCode=""${CONFIG_new_version_code}""/" ${manifest_file}
---- Set Build Version Code if it was specified:
if ! [ -z â${version_name}â ] ; then
sed -i.bak âs/android:versionName=â"${VERSIONNAME}""/android:versionName=""${version_name}""/" ${manifest_file}
fi
sed: 1: âs/android:versionName=â âŠ": bad flag in substitute command: âWâ
| |
±â±--------------------------------------------------------------±---------+
| x | set-android-manifest-versions@1.0.5 (exit code: 1) | 5.15 sec |
±â±--------------------------------------------------------------±---------+
| Issue tracker: âŠjamesmontemagno/steps-set-android-manifest-versions/issues |
| Source: âŠ://github.com/jamesmontemagno/steps-set-android-manifest-versions |
±â±--------------------------------------------------------------±---------+
âŠ