Jenkins
Build great things at any scale
The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.DocumentationDownload
Download and run Jenkins
- Download Jenkins.
- Open up a terminal in the download directory.
- Run
java -jar jenkins.war --httpPort=8080
. - Browse to
http://localhost:8080
. - Follow the instructions to complete the installation.
https://www.vogella.com/tutorials/JenkinsAndroid/article.html
https://github.com/shadowmanpat/NewJenkinsProject
Build step 'Invoke Gradle script' changed build result to SUCCESS Finished: SUCCESS
Started by user unknown or anonymous Building in workspace /home/sm/.jenkins/workspace/Myfirstproject No credentials specified > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/shadowmanpat/NewJenkinsProject.git # timeout=10 Fetching upstream changes from https://github.com/shadowmanpat/NewJenkinsProject.git > git --version # timeout=10 > git fetch --tags --progress https://github.com/shadowmanpat/NewJenkinsProject.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision a68181ec05c5e5a5fe8949f61629acc78d6099a4 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f a68181ec05c5e5a5fe8949f61629acc78d6099a4 Commit message: "Initial commit" > git rev-list --no-walk a68181ec05c5e5a5fe8949f61629acc78d6099a4 # timeout=10 [Gradle] - Launching build. [Myfirstproject] $ /home/sm/.jenkins/tools/hudson.plugins.gradle.GradleInstallation/gradle_5.1.1/bin/gradle build --stacktrace Starting a Gradle Daemon (subsequent builds will be faster) > Configure project :app File /home/sm/.android/repositories.cfg could not be loaded. Checking the license for package Android SDK Build-Tools 28.0.3 in /home/sm/Documents/android-sdk-linux/licenses License for package Android SDK Build-Tools 28.0.3 accepted. Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)". "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready. Installing Android SDK Build-Tools 28.0.3 in /home/sm/Documents/android-sdk-linux/build-tools/28.0.3 "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete. "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished. Checking the license for package Android SDK Platform 28 in /home/sm/Documents/android-sdk-linux/licenses License for package Android SDK Platform 28 accepted. Preparing "Install Android SDK Platform 28 (revision: 6)". "Install Android SDK Platform 28 (revision: 6)" ready. Installing Android SDK Platform 28 in /home/sm/Documents/android-sdk-linux/platforms/android-28 "Install Android SDK Platform 28 (revision: 6)" complete. "Install Android SDK Platform 28 (revision: 6)" finished. Checking the license for package Android SDK Platform-Tools in /home/sm/Documents/android-sdk-linux/licenses License for package Android SDK Platform-Tools accepted. Preparing "Install Android SDK Platform-Tools (revision: 28.0.3)". "Install Android SDK Platform-Tools (revision: 28.0.3)" ready. Installing Android SDK Platform-Tools in /home/sm/Documents/android-sdk-linux/platform-tools "Install Android SDK Platform-Tools (revision: 28.0.3)" complete. "Install Android SDK Platform-Tools (revision: 28.0.3)" finished. > Task :app:preBuild UP-TO-DATE > Task :app:preDebugBuild > Task :app:compileDebugAidl NO-SOURCE > Task :app:compileDebugRenderscript NO-SOURCE > Task :app:checkDebugManifest > Task :app:generateDebugBuildConfig > Task :app:mainApkListPersistenceDebug > Task :app:generateDebugResValues > Task :app:generateDebugResources > Task :app:mergeDebugResources > Task :app:createDebugCompatibleScreenManifests > Task :app:processDebugManifest > Task :app:processDebugResources > Task :app:compileDebugKotlin > Task :app:prepareLintJar > Task :app:generateDebugSources > Task :app:javaPreCompileDebug > Task :app:compileDebugJavaWithJavac > Task :app:compileDebugSources > Task :app:mergeDebugShaders > Task :app:compileDebugShaders > Task :app:generateDebugAssets > Task :app:mergeDebugAssets > Task :app:checkDebugDuplicateClasses > Task :app:mergeExtDexDebug > Task :app:mergeLibDexDebug > Task :app:transformClassesWithDexBuilderForDebug > Task :app:mergeProjectDexDebug > Task :app:validateSigningDebug > Task :app:signingConfigWriterDebug > Task :app:mergeDebugJniLibFolders > Task :app:transformNativeLibsWithMergeJniLibsForDebug > Task :app:processDebugJavaRes NO-SOURCE > Task :app:transformResourcesWithMergeJavaResForDebug > Task :app:packageDebug > Task :app:assembleDebug > Task :app:preReleaseBuild > Task :app:compileReleaseAidl NO-SOURCE > Task :app:compileReleaseRenderscript NO-SOURCE > Task :app:checkReleaseManifest > Task :app:generateReleaseBuildConfig > Task :app:mainApkListPersistenceRelease > Task :app:generateReleaseResValues > Task :app:generateReleaseResources > Task :app:mergeReleaseResources > Task :app:createReleaseCompatibleScreenManifests > Task :app:processReleaseManifest > Task :app:processReleaseResources > Task :app:compileReleaseKotlin > Task :app:generateReleaseSources > Task :app:javaPreCompileRelease > Task :app:compileReleaseJavaWithJavac > Task :app:compileReleaseSources > Task :app:lintVitalRelease SKIPPED > Task :app:checkReleaseDuplicateClasses > Task :app:mergeExtDexRelease > Task :app:transformClassesWithDexBuilderForRelease > Task :app:mergeDexRelease > Task :app:mergeReleaseShaders > Task :app:compileReleaseShaders > Task :app:generateReleaseAssets > Task :app:mergeReleaseAssets > Task :app:signingConfigWriterRelease > Task :app:mergeReleaseJniLibFolders > Task :app:transformNativeLibsWithMergeJniLibsForRelease > Task :app:processReleaseJavaRes NO-SOURCE > Task :app:transformResourcesWithMergeJavaResForRelease > Task :app:packageRelease > Task :app:assembleRelease > Task :app:assemble > Task :app:lint Calling mockable JAR artifact transform to create file: /home/sm/.gradle/caches/transforms-2/files-2.1/33a3a40161dc5c47411a46ce6cd46ffb/android.jar with input /home/sm/Documents/android-sdk-linux/platforms/android-28/android.jar Ran lint on variant debug: 2 issues found Ran lint on variant release: 2 issues found Wrote HTML report to file:///home/sm/.jenkins/workspace/Myfirstproject/app/build/reports/lint-results.html Wrote XML report to file:///home/sm/.jenkins/workspace/Myfirstproject/app/build/reports/lint-results.xml > Task :app:compileDebugUnitTestKotlin > Task :app:generateDebugUnitTestSources > Task :app:preDebugUnitTestBuild UP-TO-DATE > Task :app:javaPreCompileDebugUnitTest > Task :app:compileDebugUnitTestJavaWithJavac NO-SOURCE > Task :app:processDebugUnitTestJavaRes NO-SOURCE > Task :app:testDebugUnitTest > Task :app:compileReleaseUnitTestKotlin > Task :app:generateReleaseUnitTestSources > Task :app:preReleaseUnitTestBuild UP-TO-DATE > Task :app:javaPreCompileReleaseUnitTest > Task :app:compileReleaseUnitTestJavaWithJavac NO-SOURCE > Task :app:processReleaseUnitTestJavaRes NO-SOURCE > Task :app:testReleaseUnitTest > Task :app:test > Task :app:check > Task :app:build Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 7m 38s 58 actionable tasks: 58 executed Build step 'Invoke Gradle script' changed build result to SUCCESS Finished: SUCCESS