This file contains hidden or 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
| <target name="checkstyle" | |
| description="Generates a report of code convention violations."> | |
| <fail | |
| message="checkstyle.home is missing. Make sure to add it as an argument." | |
| unless="checkstyle.home" /> | |
| <path id="checkstyle.path"> | |
| <fileset dir="${checkstyle.home}" includes="*.jar" /> | |
| </path> |
This file contains hidden or 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
| <target name="pmd"> | |
| <fail | |
| message="pmd.home is missing. Make sure to add it as an argument." | |
| unless="pmd.home" | |
| /> | |
| <path id="pmd.path"> | |
| <fileset dir="${pmd.home}/lib" includes="*.jar" /> | |
| </path> |
This file contains hidden or 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
| <target name="pmd"> | |
| <fail | |
| message="pmd.home is missing. Make sure to add it as an argument." | |
| unless="pmd.home" | |
| /> | |
| <path id="pmd.path"> | |
| <fileset dir="${pmd.home}/lib" includes="*.jar" /> | |
| </path> |
This file contains hidden or 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
| <target name="findbugs" description="Generate the FindBugs XML report"> | |
| <fail | |
| message="findbugs.home is missing. Make sure to add it as an argument." | |
| unless="findbugs.home" | |
| /> | |
| <path id="findbugs.jar"> | |
| <pathelement path="${findbugs.home}/lib/findbugs-ant.jar"> | |
| </pathelement> |
This file contains hidden or 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
| <target name="init-props"> | |
| <xpath input="${tested.project.dir}/AndroidManifest.xml" | |
| expression="/manifest/@package" output="tested.project.app.package"/> | |
| </target> | |
| <target name="fetch-test-report" depends="init-props"> | |
| <echo>Downloading XML test report...</echo> | |
| <mkdir dir="reports"/> | |
| <exec executable="${adb}" failonerror="true"> | |
| <arg line="${adb.device.arg}"/> |
This file contains hidden or 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
| android update test-project --path /path/project/tests --name MyProject | |
| ant -Dadb.device.arg='-s ID-dispositivo' debug install |
This file contains hidden or 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
| sudo su - jenkins | |
| cd .ssh | |
| ssh-keygen -t rsa -C "[email protected]" | |
| git config --global user.email "[email protected]" | |
| git config --global user.name "Jenkins CI" |
This file contains hidden or 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
| sdk.dir=/opt/android-sdk-linux | |
| target=android-8 |
This file contains hidden or 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
| android update project --path ./ --name MyProject |
This file contains hidden or 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
| <service | |
| android:name=".sync.SyncService" | |
| android:exported="true" > | |
| <intent-filter> | |
| <action android:name="android.content.SyncAdapter" /> | |
| </intent-filter> | |
| <meta-data | |
| android:name="android.content.SyncAdapter" | |
| android:resource="@xml/syncadapter" /> | |
| </service> |