aloisdeniel / vsts-flutter-tasks Goto Github PK
View Code? Open in Web Editor NEWFlutter build tasks for Azure DevOps Pipelines/TFS.
Home Page: https://marketplace.visualstudio.com/items?itemName=aloisdeniel.flutter
Flutter build tasks for Azure DevOps Pipelines/TFS.
Home Page: https://marketplace.visualstudio.com/items?itemName=aloisdeniel.flutter
When I run the flutter install step in Azure, it didn´t find the right file (it looks for .zip instead of .tar.xz):
Instead of creating the url by using the following line:
I think it´s better to use base_url and archive from the releases${arch}.json_ file.
D:\a_tasks\FlutterInstall_fca8d27d-85f4-4d5d-a519-8d7a7edf15d7\0.2.30\node_modules\bent\src\nodejs.js:82
res.json = async () => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (D:\a_tasks\FlutterInstall_fca8d27d-85f4-4d5d-a519-8d7a7edf15d7\0.2.30\index.js:14:14)
##[error]Exit code 1 returned from process: file name 'C:\agents\2.166.4\externals\node\bin\node.exe', arguments '"D:\a_tasks\FlutterInstall_fca8d27d-85f4-4d5d-a519-8d7a7edf15d7\0.2.30\index.js"'.
Finishing: Flutter Install
Hi
Why your flutter build command is :
flutter build ios --no-codesign
and is not
flutter build ios --release --no-codesign
It would be nice to have master branch as well
As for now, I have an issue, and fix available only on master channel, and I cannot create build using CI(only stable, beta and release branches available)
Is it possible to add 'master'?
On May 6 2020, Google update the flutter SDK version to 1.17, of which the download link is
https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_1.17.0-stable.zip.
However, the download link generated by the script is
https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_v.17.0-stable.zip.
And this made my build task keep failing, I have overcome the problem by using custom flutter version, but still hope that the problem can be fixed.
The Install task contains a function "findLatestSdkVersion" and that function removes the first character from the version, expecting it to be a "v"...
return current.version.substring(1); // removing leading 'v'
It appears that, with version 1.17.0 of Flutter, they stopped putting that v into the json document at https://storage.googleapis.com/flutter_infra/releases/releases_(platform).json. The task cannot then find the flutter zip to download because it has mistakenly removed the leading "1" from the version. I think it should be possible to override this using the "customVersion" parameter, but thought I should raise the issue anyway because builds are broken right now.
Update: this is more serious than I thought - it cannot be fixed using the "customVersion" parameter because the function "downloadAndCacheSdk" will always insert a "v" into the download URL which should not be there from v1.17.0.
Hi. Thanks for putting in the effort of creating this project.
I was able to successfully build my flutter app on azure devops with it and setup a CD pipline to testflight. However, once in a while my builds keep on running and time out after the default 60 minute limit. It seems that the iOS build step seems to be stuck and loops infinitely until the timeout.
my build step:
#Your build pipeline references an undefined variable named BuildID. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972
steps:
task: aloisdeniel.flutter.flutter-build.FlutterBuild@0
displayName: 'Flutter Build ios'
inputs:
target: ios
buildName: '1.0.$(BuildID)'
iosCodesign: false
condition: succeededOrFailed()
build-output:
Starting: Flutter Build ios
==============================================================================
Task : Flutter Build
Description : Build a Flutter application project.
Version : 0.2.21
Author : Aloïs Deniel
Help : [More Information](https://github.com/aloisdeniel/vsts-flutter-tasks)
==============================================================================
/Users/runner/hostedtoolcache/Flutter/1.9.1/macos/flutter/bin/flutter build ios --no-codesign --build-name=1.0.$(BuildID) --build-number=164634
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building com.rydoo.mobile for device (ios-release)...
##[error]The operation was canceled.
Finishing: Flutter Build ios
It would be nice if we could specify a build flavour debug
, release
.
the simulator also cant be built in release mode
I created this branch with the change https://github.com/JoelBrenstrum/vsts-flutter-tasks/tree/build-flavour
Please expose the entry point command line parameter.
This is the -t
option to define a starting point other than lib/main.dart.
I'll make a PR when I've had a look at the extension structure.
Thanks
It would be really helpful if we could run the dart analyzer
.
https://flutter.dev/docs/testing/debugging#the-dart-analyzer
Thank you!
This plugin is great but is missing the ability to publish packages using
"flutter packages pub publish"
Dry run option would also be useful to test release before hand.
I may be missing something here. I was really pleased to find this add on so thanks :) but could do with some guidance. When building my APK I am receiving the following error.
Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;28.0.3 Android SDK Build-Tools 28.0.3
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Using Android SDK: C:\Program Files (x86)\Android\android-sdk
I know how to do this locally, I run flutter-doctor --android-licenses but not sure how I would run this in pipelines. I thought about a script task but don't know how to accept them all without havign to keep typing "y".
Perhaps I am missing something really obvious.
Error: Unable to locate executable file: '\flutter'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
I am planing to use existing SDK which is already configured on machine.
Please advice
Add task flutter format .
Our Flutter build tasks were running without problem and then suddenly started to fail.
The command that was causing the error was:
/Users/runner/hostedtoolcache/Flutter/1.18.0-11.1.pre-beta/macos/flutter/bin/flutter build apk --target-platform=android-arm --build-number=20200611.1
The error was:
buildNumber: 20200611.1 was not a valid integer value.
OK, makes sense - 20200611.1 is certainly not an integer.
This is not an error with the vsts-flutter-tasks - it is an error from the Android gradle build task. I'm adding it here in case others encounter the same problem.
The solution is the change how Azure names each pipeline run by adding a 'name' to your pipline yaml.
I chose to use the BuildID
pipeline variable which is "an internal immutable ID that is also referred to as the Run ID. It is unique across the organization"
name: $(BuildID)
stages:
- stage: Build
....
The Flutter Build task uses the buildNumber
pipeline variable and then passes this as the --build-number to the Android build.
The default value for the buildNumber
assigned by the Azure Pipeline is $(Date:yyyyMMdd).$(Rev:r)
- See the docs..
This is not an integer.
To change the value of the buildNumber, we set a 'name' in the pipeline yaml.
(Yeah, it's a nice bit of MS inconsistency that seems to be everywhere in Azure...)
Configuring the build number also changes the 'name' of the pipeline run that is displayed in the Azure UI. (Not the name of the pipeline itself, just the identifier of an individual run of the pipeline.) See the docs.
I still don't know why the pipeline build was working and then suddenly stopped working. It's a little hard to know the exact details of machines running the pipelines and the Android SDK versions being used - maybe that changed....
Hello
I think you will need to add new parameters sames as Xamarin build task which will pass the Certificate and Provisioning profile to XCode.
I am trying to sign the apk using key file and configuration is stored in key.properties
for some reason play store always rejects apk with error below.
Failed with message: Error: APK has not been signed with the upload certificate..
Any inputs much appreciated.
Thanks
Vinay
Good morning,
after the fix of issue #46, the pipeline install SDK process has been restored and now works perfectly.
But it seems that something broke the build process when using the stable
channel with all
platform selected param. Now it seems that the build task try to compile also for web
in the stable channel, but as we know it is not already supported.
I think the problem can be simply solved starting to build tasks: one for iOS and one for Android.
Is it an expected behaviour?
Is it better to update README.md
on order to indicate that?
2020-05-08T17:50:28.6375620Z ##[section]Starting: FlutterBuild
2020-05-08T17:50:28.6387030Z ==============================================================================
2020-05-08T17:50:28.6387390Z Task : Flutter Build
2020-05-08T17:50:28.6387680Z Description : Build a Flutter application project.
2020-05-08T17:50:28.6388020Z Version : 0.2.32
2020-05-08T17:50:28.6388280Z Author : Aloïs Deniel
2020-05-08T17:50:28.6388750Z Help : Don't forget to insert a 'Flutter Install' task before. [More Information](https://github.com/aloisdeniel/vsts-flutter-tasks)
2020-05-08T17:50:28.6389270Z ==============================================================================
2020-05-08T17:50:28.8062310Z [command]/Users/runner/hostedtoolcache/Flutter/1.17.0-stable/macos/flutter/bin/flutter build ios --no-codesign --build-number=20200508.2
2020-05-08T17:50:28.8157560Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8158420Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8159480Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8160230Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8160980Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8161670Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8162400Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8163110Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8163790Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8164500Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8165610Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:28.8166300Z (node:2248) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-05-08T17:50:30.8689540Z
2020-05-08T17:50:30.8731120Z ╔����������������������������������������������������������������������������╗
2020-05-08T17:50:30.8732360Z â•‘ Welcome to Flutter! - https://flutter.dev â•‘
2020-05-08T17:50:30.8733160Z â•‘ â•‘
2020-05-08T17:50:30.8733960Z â•‘ The Flutter tool uses Google Analytics to anonymously report feature usage â•‘
2020-05-08T17:50:30.8734720Z â•‘ statistics and basic crash reports. This data is used to help improve â•‘
2020-05-08T17:50:30.8735460Z â•‘ Flutter tools over time. â•‘
2020-05-08T17:50:30.8736240Z â•‘ â•‘
2020-05-08T17:50:30.8737020Z â•‘ Flutter tool analytics are not sent on the very first run. To disable â•‘
2020-05-08T17:50:30.8737910Z â•‘ reporting, type 'flutter config --no-analytics'. To display the current â•‘
2020-05-08T17:50:30.8738650Z â•‘ setting, type 'flutter config'. If you opt out of analytics, an opt-out â•‘
2020-05-08T17:50:30.8739540Z â•‘ event will be sent, and then no further information will be sent by the â•‘
2020-05-08T17:50:30.8740270Z â•‘ Flutter tool. â•‘
2020-05-08T17:50:30.8741010Z â•‘ â•‘
2020-05-08T17:50:30.8741820Z â•‘ By downloading the Flutter SDK, you agree to the Google Terms of Service. â•‘
2020-05-08T17:50:30.8742560Z â•‘ Note: The Google Privacy Policy describes how data is handled in this â•‘
2020-05-08T17:50:30.8743300Z â•‘ service. â•‘
2020-05-08T17:50:30.8744110Z â•‘ â•‘
2020-05-08T17:50:30.8744920Z â•‘ Moreover, Flutter includes the Dart SDK, which may send usage metrics and â•‘
2020-05-08T17:50:30.8745670Z â•‘ crash reports to Google. â•‘
2020-05-08T17:50:30.8747170Z â•‘ â•‘
2020-05-08T17:50:30.8748010Z â•‘ Read about data we send with crash reports: â•‘
2020-05-08T17:50:30.8748810Z â•‘ https://flutter.dev/docs/reference/crash-reporting â•‘
2020-05-08T17:50:30.8749640Z â•‘ â•‘
2020-05-08T17:50:30.8750400Z â•‘ See Google's privacy policy: â•‘
2020-05-08T17:50:30.8751150Z â•‘ https://policies.google.com/privacy â•‘
2020-05-08T17:50:30.8752010Z ╚�����������������������������������������������������������������������������
2020-05-08T17:50:30.8752320Z
2020-05-08T17:50:43.7730190Z Running "flutter pub get" in s... 12.8s
2020-05-08T17:50:53.5975140Z Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
2020-05-08T17:50:53.6039400Z Building com.example.myapp for device (ios-release)...
2020-05-08T17:51:18.9069460Z Running pod install... 19.1s
2020-05-08T17:53:50.5058860Z Running Xcode build...
2020-05-08T17:53:50.5062710Z Xcode build done. 151.6s
2020-05-08T17:53:54.8671940Z Built /Users/runner/runners/2.166.4/work/1/s/build/ios/iphoneos/Runner.app.
2020-05-08T17:53:54.9237940Z [command]/Users/runner/hostedtoolcache/Flutter/1.17.0-stable/macos/flutter/bin/flutter build apk --target-platform=android-arm --build-number=20200508.2
2020-05-08T17:56:54.7792210Z Running Gradle task 'assembleRelease'...
2020-05-08T17:56:54.7798870Z Note: Some input files use or override a deprecated API.
2020-05-08T17:56:54.7899750Z
2020-05-08T17:56:54.8052830Z Note: Recompile with -Xlint:deprecation for details.
2020-05-08T17:56:54.8158980Z
2020-05-08T17:56:54.8206380Z Note: Some input files use unchecked or unsafe operations.
2020-05-08T17:56:54.8219110Z
2020-05-08T17:56:54.8220490Z Note: Recompile with -Xlint:unchecked for details.
2020-05-08T17:57:03.3967220Z
2020-05-08T17:57:03.3967910Z
2020-05-08T17:57:03.3974300Z Note: Some input files use unchecked or unsafe operations.
2020-05-08T17:57:03.3975680Z Note: Recompile with -Xlint:unchecked for details.
2020-05-08T17:57:06.3704700Z
2020-05-08T17:57:06.3843580Z Note: /Users/runner/hostedtoolcache/Flutter/1.17.0-stable/macos/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-5.4.5/android/src/main/java/io/flutter/plugins/urllauncher/WebViewActivity.java uses or overrides a deprecated API.
2020-05-08T17:57:06.3844810Z
2020-05-08T17:57:06.3906920Z Note: Recompile with -Xlint:deprecation for details.
2020-05-08T17:57:58.2390950Z Running Gradle task 'assembleRelease'... 241.1s (!)
2020-05-08T17:57:58.4937050Z ✓ Built build/app/outputs/apk/release/app-release.apk (9.6MB).
2020-05-08T17:57:58.6175710Z [command]/Users/runner/hostedtoolcache/Flutter/1.17.0-stable/macos/flutter/bin/flutter build appbundle --build-number=20200508.2
2020-05-08T17:58:54.4853300Z Running Gradle task 'bundleRelease'...
2020-05-08T17:58:54.4889520Z Removed unused resources: Binary resource data reduced from 501KB to 473KB: Removed 5%
2020-05-08T17:59:00.5572570Z Running Gradle task 'bundleRelease'... 59.2s
2020-05-08T17:59:00.5690460Z ✓ Built build/app/outputs/bundle/release/app-release.aab (23.8MB).
2020-05-08T17:59:00.6696930Z [command]/Users/runner/hostedtoolcache/Flutter/1.17.0-stable/macos/flutter/bin/flutter build web
2020-05-08T17:59:02.5402090Z Downloading Web SDK... 0.9s
2020-05-08T17:59:04.3581670Z "build web" is not currently supported.
2020-05-08T17:59:04.4747220Z ##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/1.17.0-stable/macos/flutter/bin/flutter' failed with exit code 1
2020-05-08T17:59:04.4778200Z ##[section]Finishing: FlutterBuild
Thank you
Where is the ipad file? May you please add commands that releases ipa file.
##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/1.20.2-stable/macos/flutter/bin/flutter' failed with exit code 1
Hi @aloisdeniel, first of all thanks for the precious work! You saved me a lot of time configuring my Flutter pipeline.
But from about 1 months my pipeline seems stuck with this error:
2020-03-04T20:29:00.9983960Z ##[section]Starting: FlutterBuild
2020-03-04T20:29:00.9997670Z ==============================================================================
2020-03-04T20:29:00.9998200Z Task : Flutter Build
2020-03-04T20:29:00.9998630Z Description : Build a Flutter application project.
2020-03-04T20:29:00.9999050Z Version : 0.2.21
2020-03-04T20:29:00.9999420Z Author : Aloïs Deniel
2020-03-04T20:29:00.9999970Z Help : [More Information](https://github.com/aloisdeniel/vsts-flutter-tasks)
2020-03-04T20:29:01.0000680Z ==============================================================================
2020-03-04T20:29:01.1628720Z [command]/Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/bin/flutter build ios --no-codesign --build-number=20200304.2
2020-03-04T20:29:01.1736420Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1737350Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1738220Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1739320Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1740130Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1740860Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1742370Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1743270Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1744070Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1745020Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1746150Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:01.1747200Z (node:2119) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-03-04T20:29:03.0038670Z
2020-03-04T20:29:03.0088320Z ╔����������������������������������������������������������������������������╗
2020-03-04T20:29:03.0089450Z â•‘ Welcome to Flutter! - https://flutter.dev â•‘
2020-03-04T20:29:03.0090400Z â•‘ â•‘
2020-03-04T20:29:03.0091530Z â•‘ The Flutter tool uses Google Analytics to anonymously report feature usage â•‘
2020-03-04T20:29:03.0092810Z â•‘ statistics and basic crash reports. This data is used to help improve â•‘
2020-03-04T20:29:03.0093670Z â•‘ Flutter tools over time. â•‘
2020-03-04T20:29:03.0094440Z â•‘ â•‘
2020-03-04T20:29:03.0095260Z â•‘ Flutter tool analytics are not sent on the very first run. To disable â•‘
2020-03-04T20:29:03.0096090Z â•‘ reporting, type 'flutter config --no-analytics'. To display the current â•‘
2020-03-04T20:29:03.0096880Z â•‘ setting, type 'flutter config'. If you opt out of analytics, an opt-out â•‘
2020-03-04T20:29:03.0097970Z â•‘ event will be sent, and then no further information will be sent by the â•‘
2020-03-04T20:29:03.0099090Z â•‘ Flutter tool. â•‘
2020-03-04T20:29:03.0100260Z â•‘ â•‘
2020-03-04T20:29:03.0101070Z â•‘ By downloading the Flutter SDK, you agree to the Google Terms of Service. â•‘
2020-03-04T20:29:03.0101920Z â•‘ Note: The Google Privacy Policy describes how data is handled in this â•‘
2020-03-04T20:29:03.0102790Z â•‘ service. â•‘
2020-03-04T20:29:03.0103690Z â•‘ â•‘
2020-03-04T20:29:03.0104480Z â•‘ Moreover, Flutter includes the Dart SDK, which may send usage metrics and â•‘
2020-03-04T20:29:03.0105350Z â•‘ crash reports to Google. â•‘
2020-03-04T20:29:03.0106140Z â•‘ â•‘
2020-03-04T20:29:03.0107420Z â•‘ Read about data we send with crash reports: â•‘
2020-03-04T20:29:03.0108330Z â•‘ https://github.com/flutter/flutter/wiki/Flutter-CLI-crash-reporting â•‘
2020-03-04T20:29:03.0109120Z â•‘ â•‘
2020-03-04T20:29:03.0110000Z â•‘ See Google's privacy policy: â•‘
2020-03-04T20:29:03.0110890Z â•‘ https://www.google.com/intl/en/policies/privacy/ â•‘
2020-03-04T20:29:03.0111750Z ╚�����������������������������������������������������������������������������
2020-03-04T20:29:03.0112030Z
2020-03-04T20:29:13.0682110Z Running "flutter pub get" in s... 10.0s
2020-03-04T20:29:16.0633860Z Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
2020-03-04T20:29:16.0717480Z Building com.example.wamiiApp for device (ios-release)...
2020-03-04T20:29:44.3976010Z Running pod install... 15.9s
2020-03-04T20:30:18.1656530Z Running Xcode build...
2020-03-04T20:30:18.1658770Z Xcode build done. 33.7s
2020-03-04T20:30:19.9660480Z Failed to build iOS app
2020-03-04T20:30:19.9660870Z Error output from Xcode build:
2020-03-04T20:30:19.9662030Z ↳
2020-03-04T20:30:19.9662250Z ** BUILD FAILED **
2020-03-04T20:30:19.9662420Z
2020-03-04T20:30:19.9662530Z
2020-03-04T20:30:19.9663010Z Xcode's output:
2020-03-04T20:30:19.9663450Z ↳
2020-03-04T20:30:19.9667860Z /Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/.pub-cache/hosted/pub.dartlang.org/qr_code_scanner-0.0.12/ios/Classes/QRView.swift:47:25: warning: variable 'arguments' was never mutated; consider changing to 'let' constant
2020-03-04T20:30:19.9668740Z var arguments = call.arguments as! Dictionary<String, Double>
2020-03-04T20:30:19.9669220Z ~~~ ^
2020-03-04T20:30:19.9669460Z let
2020-03-04T20:30:19.9670680Z /Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/.pub-cache/hosted/pub.dartlang.org/qr_code_scanner-0.0.12/ios/Classes/QRViewFactory.swift:20:13: warning: variable 'dictionary' was never mutated; consider changing to 'let' constant
2020-03-04T20:30:19.9671990Z var dictionary = args as! Dictionary<String, Double>
2020-03-04T20:30:19.9672280Z ~~~ ^
2020-03-04T20:30:19.9672460Z let
2020-03-04T20:30:19.9673630Z /Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/.pub-cache/hosted/pub.dartlang.org/qr_code_scanner-0.0.12/ios/Classes/QRView.swift:47:25: warning: variable 'arguments' was never mutated; consider changing to 'let' constant
2020-03-04T20:30:19.9674430Z var arguments = call.arguments as! Dictionary<String, Double>
2020-03-04T20:30:19.9674770Z ~~~ ^
2020-03-04T20:30:19.9675020Z let
2020-03-04T20:30:19.9676170Z /Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/.pub-cache/hosted/pub.dartlang.org/qr_code_scanner-0.0.12/ios/Classes/QRViewFactory.swift:20:13: warning: variable 'dictionary' was never mutated; consider changing to 'let' constant
2020-03-04T20:30:19.9676970Z var dictionary = args as! Dictionary<String, Double>
2020-03-04T20:30:19.9677250Z ~~~ ^
2020-03-04T20:30:19.9677430Z let
2020-03-04T20:30:19.9678640Z /Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.2.1/ios/Classes/SqflitePlugin.m:2:9: warning: non-portable path to file '<fmdb/FMDB.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
2020-03-04T20:30:19.9679420Z #import <FMDB/FMDB.h>
2020-03-04T20:30:19.9679630Z ^~~~~~~~~~~~~
2020-03-04T20:30:19.9679860Z <fmdb/FMDB.h>
2020-03-04T20:30:19.9680540Z 1 warning generated.
2020-03-04T20:30:19.9681820Z /Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.2.1/ios/Classes/SqflitePlugin.m:2:9: warning: non-portable path to file '<fmdb/FMDB.h>'; specified path differs in case from file name on disk [-Wnonportable-include-path]
2020-03-04T20:30:19.9682610Z #import <FMDB/FMDB.h>
2020-03-04T20:30:19.9682870Z ^~~~~~~~~~~~~
2020-03-04T20:30:19.9683080Z <fmdb/FMDB.h>
2020-03-04T20:30:19.9683300Z 1 warning generated.
2020-03-04T20:30:19.9683960Z Building AOT snapshot in release mode (ios-release)...
2020-03-04T20:30:19.9684210Z
2020-03-04T20:30:19.9684370Z Compiler message:
2020-03-04T20:30:19.9684510Z
2020-03-04T20:30:19.9685150Z lib/main.dart:25:15: Error: No named parameter with the name 'headline6'.
2020-03-04T20:30:19.9685440Z
2020-03-04T20:30:19.9685690Z headline6: TextStyle(color: Colors.black),
2020-03-04T20:30:19.9685940Z
2020-03-04T20:30:19.9686130Z ^^^^^^^^^
2020-03-04T20:30:19.9686330Z
2020-03-04T20:30:19.9687260Z ../../../../../hostedtoolcache/Flutter/1.12.13/macos/flutter/packages/flutter/lib/src/material/text_theme.dart:109:9: Context: Found this candidate, but the arguments don't match.
2020-03-04T20:30:19.9687760Z
2020-03-04T20:30:19.9687950Z const TextTheme({
2020-03-04T20:30:19.9688090Z
2020-03-04T20:30:19.9688250Z ^^^^^^^^^
2020-03-04T20:30:19.9688390Z
2020-03-04T20:30:19.9688580Z Compiler terminated unexpectedly.
2020-03-04T20:30:19.9688890Z Failed to build /Users/runner/runners/2.165.0/work/1/s.
2020-03-04T20:30:19.9689250Z Command PhaseScriptExecution failed with a nonzero exit code
2020-03-04T20:30:19.9689550Z note: Using new build system
2020-03-04T20:30:19.9689800Z note: Planning build
2020-03-04T20:30:19.9690050Z note: Constructing build description
2020-03-04T20:30:19.9690230Z
2020-03-04T20:30:19.9713460Z
2020-03-04T20:30:19.9714800Z It appears that your application still contains the default signing identifier.
2020-03-04T20:30:19.9715680Z Try replacing 'com.example' with your signing id in Xcode:
2020-03-04T20:30:19.9715990Z open ios/Runner.xcworkspace
2020-03-04T20:30:19.9794710Z Encountered error while building for device.
2020-03-04T20:30:20.0165640Z ##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/bin/flutter' failed with exit code 1
2020-03-04T20:30:20.0181630Z ##[section]Finishing: FlutterBuild
This is my basic yaml file
trigger:
batch: 'true'
branches:
include:
- master
- develop
# Flutter build
jobs:
- job: Build_for_all_platform
pool:
vmImage: 'macOS-10.15'
steps:
- task: FlutterInstall@0
- task: FlutterBuild@0
inputs:
target: all
iosCodesign: false
Am I doing something wrong?
By me there is a false positive about com.example
error. Then it seems stucked when trying to compile qr_code_scanner
but on my local PC all works well
Thanks
Getting "Path must be a string. Received undefined" Error when build APK using local Agent.
The agent is working on a machine that already has Flutter installed. Thus, I'm using only Build task in my pipeline
Any Ideas?
Thanks!
Hello,
I was wondering what the status of this Flutter task is, I see there are are old open issues such as "IOS build - does not find provisioning profile". Does it work at all for iOS, can it build and sign a iOS IPA?
If so, how is this done? I have these tasks confireg in this order:
In my Flutter project I have opened the XCode project and set it to manual provisioning and to use the certificate/profile that I install with the tasks above, but I get "No development certificates available to code sign app for device deployment".
I have also tried with automatic provisioning, but that seems wrong because then it need to log in as me, and also it fails with "Code Signing Error: No profiles for 'XXX' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'XXX'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild."
Please could you look into this or give a status :)
Best regards
Søren
How can i run a Build Pipeline with just Web as the target Platform?
For now i have this in my yaml File
trigger:
- master
pool:
vmImage: 'macos-latest'
steps:
- task: FlutterInstall@0
inputs:
channel: 'stable'
version: 'latest'
- task: FlutterBuild@0
inputs:
target: 'web'
projectDirectory: '.'
But then i get the following Error Message:
"build web" is not currently supported.
I already tried to change the Build Task to this
- task: CmdLine@2
inputs:
script: |
$(FlutterToolPath)/flutter config --enable-web
$(FlutterToolPath)/flutter create .
$(FlutterToolPath)/flutter build web
But i get the same Error..
Everything works fine for the Android Release of the Application. I'm developing the app with Flutter, then I'm building it with Azure DevOps and finally I'm publishing it to the AppCenter.
In contrast to Android, IOS does not create an IPA file but only builds a Runner.app. So in Azure DevOps i'm getting the ipa with following code:
mkdir -p Payload
mv ./build/ios/iphoneos/Runner.app Payload
zip -r -y Payload.zip Payload/Runner.app
mv Payload.zip Payload.ipa
rm -Rf Payload
I can build it, but unfortunately when I do the same for IOS I'm getting this Error:
6851704Z ##[error]"{"status":"error","message":"Version could not be created from build. Please make sure that your .ipa file has the correct format."}"
http response code: 422
So something is wrong with my ipa. Is there any other possibility to create the ipa from the Runner.app in Azure DevOps?
On ubuntu-latest agent, I got this error when executing Flutter Install.
Starting: FlutterInstall
==============================================================================
Task : Flutter Install
Description : Install the Flutter environment.
Version : 0.2.35
Author : Aloïs Deniel
Help : For more information, take a look at the Flutter [documentation](https://flutter.io)
==============================================================================
Downloading: https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_1.17.1-stable.tar.xz
Extracting archive
/usr/bin/unzip /home/vsts/work/_temp/e606a105-28f8-4b64-9a04-8421883bf27c
Archive: /home/vsts/work/_temp/e606a105-28f8-4b64-9a04-8421883bf27c
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /home/vsts/work/_temp/e606a105-28f8-4b64-9a04-8421883bf27c or
/home/vsts/work/_temp/e606a105-28f8-4b64-9a04-8421883bf27c.zip, and cannot find /home/vsts/work/_temp/e606a105-28f8-4b64-9a04-8421883bf27c.ZIP, period.
##[error]Error: The process '/usr/bin/unzip' failed with exit code 9
Finishing: FlutterInstall
It runs normally on macos-latest. Not sure whether the linux package itself is broken or what, but I thought I should ask here first.
Thanks for the hard work of creating 'build' tasks. ❤️
Right now, the default value of build number is $(Build.BuildNumber), which is an azure pipeline predefined variable, as mentioned here, and evaluates to currentdate in {yyyymmdd}.{iteration_today} , for example: 20200308.10 --> referring to 10th build today.
This works well without issues, but I want to use build number and name from the pubspec.yaml. One way would be to export them as environment variable, but don't know how.
CmdLine is not working It's crashing after "flutter doctor" command.
I get:
'flutter' is not recognized as an internal or external command
Flutter install succeeded by the way...
Can you help me?
It would be nice if we could run integration tests using the flutter_driver
package.
https://flutter.dev/docs/cookbook/testing/integration/introduction
Great work on the plugin btw!
Receive the following error when trying to install my app from the google play store.
java.lang.RuntimeException:
at android.app.LoadedApk.makeApplication (LoadedApk.java:979)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:6032)
at android.app.ActivityThread.-wrap1 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1764)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6940)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:93)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.Instrumentation.newApplication (Instrumentation.java:1093)
at android.app.LoadedApk.makeApplication (LoadedApk.java:973)
however, no errors are being flagged using flutter -doctor and local debug works fine.
Can't figure out why this isn't working with the deployment, any assistance would be greatly appreciated!
Thanks :)
I've tried to re-run my pipeline after two months and now I'm not able to keep it working.
This is the error:
2020-02-07T17:53:25.7506660Z ##[section]Starting: FlutterBuild
2020-02-07T17:53:25.7511430Z ==============================================================================
2020-02-07T17:53:25.7511510Z Task : Flutter Build
2020-02-07T17:53:25.7511540Z Description : Build a Flutter application project.
2020-02-07T17:53:25.7511580Z Version : 0.2.21
2020-02-07T17:53:25.7511610Z Author : Aloïs Deniel
2020-02-07T17:53:25.7511660Z Help : [More Information](https://github.com/aloisdeniel/vsts-flutter-tasks)
2020-02-07T17:53:25.7511690Z ==============================================================================
2020-02-07T17:53:25.9392110Z [command]/Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/bin/flutter build ios --no-codesign --build-number=20200207.1
2020-02-07T17:53:25.9513420Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9514150Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9514790Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9515620Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9516210Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9516760Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9517270Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9517780Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9518410Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9519030Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9519630Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:25.9520250Z (node:766) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-02-07T17:53:28.1150810Z
2020-02-07T17:53:28.1199390Z ╔����������������������������������������������������������������������������╗
2020-02-07T17:53:28.1200240Z â•‘ Welcome to Flutter! - https://flutter.dev â•‘
2020-02-07T17:53:28.1201450Z â•‘ â•‘
2020-02-07T17:53:28.1202440Z â•‘ The Flutter tool uses Google Analytics to anonymously report feature usage â•‘
2020-02-07T17:53:28.1203300Z â•‘ statistics and basic crash reports. This data is used to help improve â•‘
2020-02-07T17:53:28.1204330Z â•‘ Flutter tools over time. â•‘
2020-02-07T17:53:28.1205140Z â•‘ â•‘
2020-02-07T17:53:28.1206030Z â•‘ Flutter tool analytics are not sent on the very first run. To disable â•‘
2020-02-07T17:53:28.1207010Z â•‘ reporting, type 'flutter config --no-analytics'. To display the current â•‘
2020-02-07T17:53:28.1207860Z â•‘ setting, type 'flutter config'. If you opt out of analytics, an opt-out â•‘
2020-02-07T17:53:28.1208750Z â•‘ event will be sent, and then no further information will be sent by the â•‘
2020-02-07T17:53:28.1209770Z â•‘ Flutter tool. â•‘
2020-02-07T17:53:28.1210870Z â•‘ â•‘
2020-02-07T17:53:28.1211770Z â•‘ By downloading the Flutter SDK, you agree to the Google Terms of Service. â•‘
2020-02-07T17:53:28.1212750Z â•‘ Note: The Google Privacy Policy describes how data is handled in this â•‘
2020-02-07T17:53:28.1213620Z â•‘ service. â•‘
2020-02-07T17:53:28.1214560Z â•‘ â•‘
2020-02-07T17:53:28.1215450Z â•‘ Moreover, Flutter includes the Dart SDK, which may send usage metrics and â•‘
2020-02-07T17:53:28.1216440Z â•‘ crash reports to Google. â•‘
2020-02-07T17:53:28.1217310Z â•‘ â•‘
2020-02-07T17:53:28.1218570Z â•‘ Read about data we send with crash reports: â•‘
2020-02-07T17:53:28.1219600Z â•‘ https://github.com/flutter/flutter/wiki/Flutter-CLI-crash-reporting â•‘
2020-02-07T17:53:28.1220480Z â•‘ â•‘
2020-02-07T17:53:28.1221460Z â•‘ See Google's privacy policy: â•‘
2020-02-07T17:53:28.1222450Z â•‘ https://www.google.com/intl/en/policies/privacy/ â•‘
2020-02-07T17:53:28.1223460Z ╚�����������������������������������������������������������������������������
2020-02-07T17:53:28.1224060Z
2020-02-07T17:53:30.4062740Z Running "flutter pub get" in s... 2.2s
2020-02-07T17:53:30.8204330Z Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
2020-02-07T17:53:30.8256460Z Building com.example.coinFlipApp for device (ios-release)...
2020-02-07T17:53:31.0064440Z Found "Xcode 10.1, Build version 10B61". Xcode 10.2 or greater is required to develop for iOS.
2020-02-07T17:53:31.0170730Z Encountered error while building for device.
2020-02-07T17:53:31.0524180Z ##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/1.12.13/macos/flutter/bin/flutter' failed with exit code 1
2020-02-07T17:53:31.0538830Z ##[section]Finishing: FlutterBuild
Seems that the Xcode version is too much old to build the app. Is there any type of solution or workaround that I can apply?
Hello, Flutter install fails ever since the latest changes that happened 2 hours ago. Any idea?
/Users/runner/runners/2.166.4/work/_tasks/FlutterInstall_fca8d27d-85f4-4d5d-a519-8d7a7edf15d7/0.2.30/node_modules/bent/src/nodejs.js:82
res.json = async () => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/Users/runner/runners/2.166.4/work/_tasks/FlutterInstall_fca8d27d-85f4-4d5d-a519-8d7a7edf15d7/0.2.30/index.js:14:14)
##[error]Exit code 1 returned from process: file name '/Users/runner/runners/2.166.4/externals/node/bin/node', arguments '"/Users/runner/runners/2.166.4/work/_tasks/FlutterInstall_fca8d27d-85f4-4d5d-a519-8d7a7edf15d7/0.2.30/index.js"'.
Finishing: Flutter Install
I currently have an issue with building a Flutter App on azure. I need to use Xcode 12, which is available on the azure VM Images but not as default.
https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md
There is an article how to specify the Xcode version when working with Xamarin. But I guess that Flutter won't use the same environment variables (MD_APPLE_SDK_ROOT)
So what can I do?
Good morning,
I'm trying to build my Flutter project with Azure DevOps with this beautiful extension but during the build task I receive this error:
##[section]Starting: FlutterBuild
==============================================================================
Task : Flutter Build
Description : Build a Flutter application project.
Version : 0.2.21
Author : Aloïs Deniel
Help : [More Information](https://github.com/aloisdeniel/vsts-flutter-tasks)
==============================================================================
cd: no such file or directory: /Users/vsts/agent/2.158.0/work/1/s/coin_flip_app
##[error]Error: Failed cd: cd: no such file or directory: /Users/vsts/agent/2.158.0/work/1/s/coin_flip_app
##[section]Finishing: FlutterBuild
This is my pipeline:
trigger:
- master
- develop
# Flutter build
variables:
projectDirectory: coin_flip_app
jobs:
- job: Android
pool:
vmImage: 'macOS-10.13'
steps:
- task: FlutterInstall@0
- task: FlutterBuild@0
inputs:
target: apk
projectDirectory: $(projectDirectory)
It is clear that it does not find the project folder. But for me it is not clare what is the correct value to write on projectDirectory
.
It'd be nice to have a custom argument task, or at least one per option needed.
I have a build agent and cache must be cleaned before building.
For this it'd be cool to have a proper task instead of a shell script.
Thanks
It seems that from v1.17.0-dev0.0
Flutter team has changed the SDK download url format for dev branch.
First:
https://storage.googleapis.com/flutter_infra/releases/dev/macos/flutter_macos_v1.16.3-dev.zip
Now
https://storage.googleapis.com/flutter_infra/releases/dev/macos/flutter_macos_1.17.0-dev.0.0-dev.zip
It seems that they remove the v
letter from the url. Actually if I configure pipeline to work with dev branch this error is returned
Starting: FlutterInstall
==============================================================================
Task : Flutter Install
Description : Install the Flutter environment.
Version : 0.2.15
Author : Aloïs Deniel
Help : For more information, take a look at the Flutter [documentation](https://flutter.io)
==============================================================================
(node:990) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:990) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:990) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:990) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:990) Warning: Use Cipheriv for counter mode of aes-256-ctr
(node:990) Warning: Use Cipheriv for counter mode of aes-256-ctr
Downloading: https://storage.googleapis.com/flutter_infra/releases/dev/macos/flutter_macos_v.18.0-dev.4.0-dev.zip
##[error]Error: Unexpected HTTP response: 404
Can it be an idea download SDK trying first with an url version and then with another one (first with v
and then without v
)?
It is not possible to remove the target platform architecture to build arm and arm64 in one apk.
The list is missing an empty entry.
Hi,
could you please help me :) ?
When I try a flutter build for iOS on azure DevOps I receive the followinf error:
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
Could not find an option named "track-widget-creation".
It works fine for Android...
Regarding to the latest Flutter documentation (https://flutter.dev/docs/deployment/android), it recommends running the command. Can you please add a build option split-per-abi.
flutter build apk --split-per-abi
Hey there!
Really like the plugin, helped us a lot already, and I've contributed by proposing a few improvements (see #18).
One thing that I'm still struggling with, and that I could not find a fix for: after tests are done running, the amount of tests in the report != amount of tests that were run.
For instance, I had, at one point, 267 tests, but the report would say 255 tests were run.
As I said, I've tried fixing it, but to no avail, I don't really see what's going wrong. Have you seen this issue before?
yours,
Bas
-Edit-
I'm at 303 unit tests now
This is what the report shows:
Test duration also isn't set, neither are case error messages & stack traces (had some failures before and noticed it)
As it stands using your FlutterInstall only allows us to use further Flutter(Commands) from your extension and no bash support.
The problem arises when someone has scripts that make use of flutter binary and it's not available there.
E.g. npm post install script which calls 'flutter pub get'
Is it possible to have the path set?
Hi, Anyone please add a yml file for IOS build and release.
Thanks in advance.
Since Flutter now is 1.0. We need to be able to choose the Stable channel.
Hi everyone!
I'm having a problem when I generate apk using Flutter Build.
My application have some java sdk integration, which when I generate my apk using Flutter Build these things aren't included in it. But, when I generate by using Android Studio it works fine. I've been trying everything to solve it, but I don't have more ideas.
For example, my apk generated by Android Studio have 26mb, but when it's generated by Flutter Build it have 14mb.
Sorry if I'm not clear enough, I can show you more examples if you need it.
Hi
Thanks, I used your Flutter Build in Azure Pipeline, works fine.
But when I try to export to AppCenter, I receive an error:
##[section]Starting: Deploy **/*.ipa to Visual Studio App Center
==============================================================================
Task : App Center distribute
Description : Distribute app builds to testers and users via Visual Studio App Center
Version : 2.152.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/app-center-distribute
==============================================================================
##[error]Error: Cannot find any file based on /Users/runner/runners/2.164.6/work/1/s/**/*.ipa.
(node:3595) Warning: Use Cipheriv for counter mode of aes-256-ctr
....
(node:3595) Warning: Use Cipheriv for counter mode of aes-256-ctr
##[section]Finishing: Deploy **/*.ipa to Visual Studio App Center
This is running on the newest updates from this morning.
Pool: Azure Pipelines
Image: macOS-10.14
Agent: Hosted Agent
Async Command Start: Publish test results
Async Command End: Publish test results
##[error]Unknown Test Runner.
##[debug]System.ArgumentException: Unknown Test Runner.
at Microsoft.VisualStudio.Services.Agent.Worker.LegacyTestResults.LegacyTestRunDataPublisher.GetTestResultReader(String testRunner, Boolean publishRunLevelAttachments)
at Microsoft.VisualStudio.Services.Agent.Worker.LegacyTestResults.LegacyTestRunDataPublisher.InitializePublisher(IExecutionContext context, String projectName, VssConnection connection, String testRunner, Boolean publishRunLevelAttachments)
at Microsoft.VisualStudio.Services.Agent.Worker.TestResults.PublishTestResultsCommand.PublishTestRunDataAsync(String teamProject, TestRunContext testRunContext)
at Microsoft.VisualStudio.Services.Agent.Worker.AsyncCommandContext.WaitAsync()
at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
Finishing: Run tests
I don't think repo is going to be active. The owner is a busy dev. I just checked his work. He is working on other projects. There are a lot of pending/active PR and Issues here since last year.
I needed the fix of 'v' issue ASAP as we prod builds. So, I have created my own fork and publish it to vsts if anyone want to help me keep my repo updated, PR's are welcome.
Check my fork here repo.
Here is the extension
Could you please check and provide feedback on PR's.
Selected stable channel and latest version for my build, and FlutterInstall is failing with the following error.
The same behaviour is observable for other versions:
##[section]Starting: FlutterInstall
==============================================================================
Task : Flutter Install
Description : Install the Flutter environment.
Version : 0.2.15
Author : Aloïs Deniel
Help : For more information, take a look at the Flutter documentation
==============================================================================
Downloading: https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_v1.9.1+hotfix.2-stable.zip
##[error]Error: Unexpected HTTP response: 404
##[section]Finishing: FlutterInstall
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.