> Task :app:dataBindingTriggerDebug UP-TO-DATE > Task :app:dataBindingGenBaseClassesDebug UP-TO-DATE > Task :app:mergeDebugResources UP-TO-DATE > Task :app:generateDebugResources UP-TO-DATE > Task :app:generateDebugResValues UP-TO-DATE > Task :app:dataBindingMergeDependencyArtifactsDebug UP-TO-DATE > Task :app:compileDebugRenderscript NO-SOURCE Daemon will be stopped at the end of the build To honour the JVM settings for this build a single-use Daemon process will be forked. Failed fetching git branch from git directory: D:\Jenkins\workspace\ce05e7e74e92430\.git Executing command: cmd /c git log -pretty=format:%s -1 $ cmd.exe /C "D:\Jenkins\workspace\ce05e7e74e92430\gradlew.bat =86 =robo =develop -init-script testDebug artifactoryPublish -b adle & exit %%ERRORLEVEL%%" SystemProperty("", "true") Robolectric & Android Version I've tried to turn on logging with the following but I don't seem to get any additional logging Any suggestions on how to proceed would be greatly appreciated. I've been unable to find a solution, so I'm seeking your guidance on how to resolve this issue.Īt the very least, I'd like to enable more detailed logging for Robolectric to see the exact calls being made to Maven. It seems that I haven't configured Robolectric to properly communicate with Artifactory in the Jenkins environment. However, when I push the code to Jenkins it recompiles the code and reruns the tests, and all the Robolectric tests fail because they can't download the dependencies for Robolectric. When I run the unit tests locally through a VPN, everything works fine. The downside is its non-standard date-format and the fact that it has to be downloaded separately along with the huge Xcode developer tools from Apple.ĭoes anyone know if it can be downloaded on its own, or if Apple allows redistributing it on its own? If I succeed in completing my script I'd like to share it with others, and as such it shouldn't be a huge hassle for most people to install.Īre there ways to embed terminal commands like these into a script of some sort so that people don't have to download an install a bunch of additional tools as well?īy the way, in case anyone's interested (apparently, according to lots of forum discussions on the matter, changing the creation date seems to be one of those things which are hard/impossible to do), here's the syntax I used to change a file's (a JPG in the example below) creation date to Jan 31st 2014, 13:21.// Robolectric repo config for artifactory: This may or may not be a problem for my task, but in the meantime I just found another command called setfile and it appears to do what I want (change just the creator date/time). I believe that didn't apply with earlier versions of OSX. Perhaps there are better ways to do this.Īfter several tests I found out you can't change the creation date to anything later than the already existing creation date, only earlier. With my limited experience in scripting I'm thinking that the time/date value EXIFtool finds (using a terminal command in a "Run shell script" action) could be passed on as a variable to whatever can write the creation date. Unfortunately EXIFtool doesn't have the ability to write system-related stuff like that, so I need to look into other tools for that specific job. I'll be using the command-line tool EXIFtool to read an image-file's time/date tag inside its EXIF header, then write that date back to the same file's creation date (because certain image software messes with the creation date, so fetching it back from the EXIF header will fix that). I should have mentioned this initially, but do you know if it could be used to create an Automator application where the actual date to be changed to is determined by the results of another tool? It seems to be limited to the following two options:ġ) change date created to: current date and time
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |