fastlane existing file at resultBundlePath - fastlane

When I run my fast lane build it fails with
xcodebuild: error: Existing file at -resultBundlePath "/Users/dude/workspace/testMe/output/testMe.result"
My lane actions are
setup_jenkins
clean_build_artifacts
increment_build_number
match
gym
pilot
reset_git_repo
I know I can just add an action to delete this file specifically, but it seems more likely that I'm doing something wrong.

I had the same problem until I browsed fastlane code and found a workaround. Setting result_bundle to false helped in my case, e.g.
desc "Submit a new build to App Store"
lane :production do
setup_jenkins(result_bundle: false)
gym(...)
deliver(...)
end

Related

ng serve command suddenly stopped working

I've got this angular (12.2.12) app. Everything was working fine until today. When i tried ng serve --live-reload=false the process just failed. Browser application bundle generation completed successfully but right after that i've got this error message:
× 「wdm」: Error: invalid argument
at pathToArray (app_path\node_modules\memory-fs\lib\MemoryFileSystem.js:44:10)
at MemoryFileSystem.readdirSync (app_path\node_modules\memory-fs\lib\MemoryFileSystem.js:122:13)
at MemoryFileSystem.<computed> [as readdir] (app_path\node_modules\memory-fs\lib\MemoryFileSystem.js:279:34)
at app_path\node_modules\webpack\lib\CleanPlugin.js:65:7
at symbolIterator (app_path\node_modules\neo-async\async.js:3482:9)
at timesSync (app_path\node_modules\neo-async\async.js:2297:7)
at Object.eachLimit (app_path\node_modules\neo-async\async.js:3463:5)
at getDiffToFs (app_path\node_modules\webpack\lib\CleanPlugin.js:61:11)
at app_path\node_modules\webpack\lib\CleanPlugin.js:352:6
at Hook.eval [as callAsync] (eval at create (app_path\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:12:1)
I didn't change anything beisdes changing value for build / outputPath in angular.json (changing it back to previous value did not help to solve the problem). Any ideas what may be the problem?
One more thing: ng build works without any problems
Ok i apologize even tho i said i changed the outputPath back to it's previous value the opposite was true and i did not save the angular.json after changing it back.
Changing the value back and saving angular.json did actually resolve the issue. The problem happened because i changed the value of outputPath to shared network folder. This change caused ng serve to stop working.
(Not sure wheather to delete the question or keep it up with this answer)

Rundeck won't start after patching (RHEL 7.8 latest patches added today)

Here is my error. Comes with a stacktrace but guessing this will be good enough. This project worked fine before the patches.
[2020-07-28T10:20:45,262] WARN services.ProjectManagerService - Discovered filesystem project RossNapOISOperations, importing...
[2020-07-28T10:20:45,824] ERROR boot.SpringApplication - Application run failed
grails.validation.ValidationException: Validation Error(s) occurred during save():
Field error in object 'rundeck.Project' on field 'description': rejected value [Build/Deploy/Maintenance on ROSS, NAP, and OIS Projects]; codes [rundeck.Project.description.matches.error.rundeck.Project.description,rundeck.Project.description.matches.error.description,rundeck.Project.description.matches.error.java.lang.String,rundeck.Project.description.matches.error,project.description.matches.error.rundeck.Project.description,project.description.matches.error.description,project.description.matches.error.java.lang.String,project.description.matches.error,rundeck.Project.description.matches.invalid.rundeck.Project.description,rundeck.Project.description.matches.invalid.description,rundeck.Project.description.matches.invalid.java.lang.String,rundeck.Project.description.matches.invalid,project.description.matches.invalid.rundeck.Project.description,project.description.matches.invalid.description,project.description.matches.invalid.java.lang.String,project.description.matches.invalid,matches.invalid.rundeck.Project.description,matches.invalid.description,matches.invalid.java.lang.String,matches.invalid]; arguments [description,class rundeck.Project,Build/Deploy/Maintenance on ROSS, NAP, and OIS Projects,^[a-zA-Z0-9\p{L}\p{M}\s.,()_-]+$]; default message [Property [{0}] of class [{1}] with value [{2}] does not match the required pattern [{3}]]
That's related to how Rundeck 3.3.X interprets the project description after an instance upgrade, a good way to solve it is back to rundeck 3.2.X, edit the projects descriptions without "special characters" and update to Rundeck 3.3.1 again. You can add your issue to this GitHub thread.

rundeck git-plugin failed with error "No such property: op for class: com.rundeck.plugin.GitCloneWorkflowStep"

I want to use this plugin: git-plugin -> https://github.com/rundeck-plugins/git-plugin
but i'm face to an issue. When i use it, it failed with that error:
Workflow result: , step failures: {1=PluginFailed: No such property: op for class: com.rundeck.plugin.GitCloneWorkflowStep
However, the installation is quite easy and straight forward.
Just download .jar and put it in /var/lib/rundeck/libext folder with good rights.
I have already used it with success in another instance of rundeck.
But here, i don't know why it doesn't work.
Any tips or advice ?
regards
I reproduced the issue:
[2020-04-07 09:15:48.511] ERROR ExecutionUtilService --- [eduler_Worker-7] Execution failed: 8 in project ProjectGITHUB: [Workflow result: , step failures: {1=PluginFailed: No such property: op for class: com.rundeck.plugin.GitCloneWorkflowStep}, status: failed]
You need to put the path of your repo (Git URL textbox) on the Git Clone workflow step in this way (i used HTTPS way to connect):
https://user#github.com/user/test.git
Instead of:
https://user#github.com/user
(or an inexistent URL address)
Here you can see how to configure it. And here a Related thread.

Fastlane plugin app center giving Provided app_name: 'helloworldtest" is not in a valid format

I am having problem with uploading the ipa in app center using fastlane app center plugin.
When I run fastlane test_autocreation --verbose, I am getting this error:
Provided app_name: 'helloworldtest" is not in a valid format.Please ensure no special characters or spaces in the app_name.
Here's the lane that is responsible in doing it:
lane :test_autocreation do
appcenter_upload(
api_token: "******",
owner_type: "organization",
owner_name: "*****",
app_os: "ios",
app_name: "helloworldtest",
ipa: "./build_Dev/helloworldtest.ipa",
destinations: "*"
)
end
Is there something that I may have missed?
The error message might be poorly worded (my bad!), as this could be due a problem in the org name too. Please use the org name as seen in the App Center URL. For example for my test app in org "JP Org", I have to use owner_name: "JP-Org":
https://appcenter.ms/orgs/JP-Org/apps/TestOrgApp
I hope this helps. If the problem persists, please open an Issue on GitHub.

Error: "XXX" Requires a provisioning profile

so boggling with Fastlane for 1 week now i got nothing but errors.
By opening XCode and setting the Profile manually makes the build succeed. But there isn't much point to automation if there are manual steps.
My Fastfile looks like this:
default_platform(:ios)
platform :ios do
desc "Build project"
lane :beta do
update_info_plist(
plist_path: "./info.plist",
app_identifier: "com.skinke.app"
)
cert
sigh(adhoc:true)
gym(
export_options:{
method:"ad-hoc",
provisioningProfiles:{
#"com.skinke.app" => "AdHoc_com.skinke.app.mobileprovision" ## nope
"com.skinke.app" => "com.skinke.app AdHoc" ## also nope
}
}
)
end
end
So I've had no luck getting Gym to pick up the provisioningprofile. I suspect the error actually originates from XCode, but gym should have injected it right?
My intention is once this is successful i need to automate pushing to a USB connected iPad.
As a side question: There doesn't happen to be a dedicated tech support somewhere?