Created
July 11, 2018 15:22
-
-
Save psturc/4fca515fbf202268bea735b0694cbc43 to your computer and use it in GitHub Desktop.
test build android sdk
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
| Started by user Jenkins Admin | |
| Replayed #36 | |
| [Pipeline] node | |
| Still waiting to schedule task | |
| All nodes of label ‘circleci’ are offline | |
| Running on jenkins-slave-circleci-cxlvb in /tmp/workspace/test-pipeline | |
| [Pipeline] { | |
| [Pipeline] sh | |
| [test-pipeline] Running shell script | |
| + git clone https://github.com/psturc/aerogear-android-sdk | |
| Cloning into 'aerogear-android-sdk'... | |
| [Pipeline] dir | |
| Running in /tmp/workspace/test-pipeline/aerogear-android-sdk | |
| [Pipeline] { | |
| [Pipeline] sh | |
| [aerogear-android-sdk] Running shell script | |
| + circleci trigger psturc/aerogear-android-sdk | |
| + jq .build_num | |
| [Pipeline] sh | |
| [aerogear-android-sdk] Running shell script | |
| + circleci await psturc/aerogear-android-sdk 17 | |
| { | |
| "compare": null, | |
| "previous_successful_build": { | |
| "build_num": 16, | |
| "status": "success", | |
| "build_time_millis": 184484 | |
| }, | |
| "build_parameters": {}, | |
| "oss": true, | |
| "all_commit_details_truncated": false, | |
| "committer_date": "2018-07-10T19:48:16Z", | |
| "steps": [ | |
| { | |
| "name": "Spin up Environment", | |
| "actions": [ | |
| { | |
| "truncated": false, | |
| "index": 0, | |
| "parallel": true, | |
| "failed": null, | |
| "infrastructure_fail": null, | |
| "name": "Spin up Environment", | |
| "bash_command": null, | |
| "status": "success", | |
| "timedout": null, | |
| "continue": null, | |
| "end_time": "2018-07-11T14:43:32.184Z", | |
| "type": "test", | |
| "allocation_id": "5b4617903c9b3b0014d6d5e6-0-build/133AD163", | |
| "output_url": "https://circle-production-action-output.s3.amazonaws.com/0b63ca1000257644297164b5-psturc-aerogear-android-sdk-0-0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180711T144633Z&X-Amz-SignedHeaders=host&X-Amz-Expires=431999&X-Amz-Credential=AKIAIJNI6FA5RIAFFQ7Q%2F20180711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=0f3f8a7a1a9ad20a54b36a572acde9f144023e19372bc825a7043735d179e843", | |
| "start_time": "2018-07-11T14:43:30.798Z", | |
| "background": false, | |
| "exit_code": null, | |
| "insignificant": false, | |
| "canceled": null, | |
| "step": 0, | |
| "run_time_millis": 1386, | |
| "has_output": true | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Checkout code", | |
| "actions": [ | |
| { | |
| "truncated": false, | |
| "index": 0, | |
| "parallel": true, | |
| "failed": null, | |
| "infrastructure_fail": null, | |
| "name": "Checkout code", | |
| "bash_command": "#!/bin/sh\nset -e\n\n# Workaround old docker images with incorrect $HOME\n# check https://github.com/docker/docker/issues/2968 for details\nif [ \"${HOME}\" = \"/\" ]\nthen\n export HOME=$(getent passwd $(id -un) | cut -d: -f6)\nfi\n\nmkdir -p ~/.ssh\n\necho 'github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==\nbitbucket.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==\n' >> ~/.ssh/known_hosts\n\n(umask 077; touch ~/.ssh/id_rsa)\nchmod 0600 ~/.ssh/id_rsa\n(cat <<EOF > ~/.ssh/id_rsa\n$CHECKOUT_KEY\nEOF\n)\n\n# use git+ssh instead of https\ngit config --global url.\"ssh://git@github.com\".insteadOf \"https://github.com\" || true\n\nif [ -e /home/circleci/code/.git ]\nthen\n cd /home/circleci/code\n git remote set-url origin \"$CIRCLE_REPOSITORY_URL\" || true\nelse\n mkdir -p /home/circleci/code\n cd /home/circleci/code\n git clone \"$CIRCLE_REPOSITORY_URL\" .\nfi\n\nif [ -n \"$CIRCLE_TAG\" ]\nthen\n git fetch --force origin \"refs/tags/${CIRCLE_TAG}\"\nelse\n git fetch --force origin \"master:remotes/origin/master\"\nfi\n\n\nif [ -n \"$CIRCLE_TAG\" ]\nthen\n git reset --hard \"$CIRCLE_SHA1\"\n git checkout -q \"$CIRCLE_TAG\"\nelif [ -n \"$CIRCLE_BRANCH\" ]\nthen\n git reset --hard \"$CIRCLE_SHA1\"\n git checkout -q -B \"$CIRCLE_BRANCH\"\nfi\n\ngit reset --hard \"$CIRCLE_SHA1\"", | |
| "status": "success", | |
| "timedout": null, | |
| "continue": null, | |
| "end_time": "2018-07-11T14:43:33.030Z", | |
| "type": "test", | |
| "allocation_id": "5b4617903c9b3b0014d6d5e6-0-build/133AD163", | |
| "output_url": "https://circle-production-action-output.s3.amazonaws.com/4b63ca1000257644497164b5-psturc-aerogear-android-sdk-101-0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180711T144633Z&X-Amz-SignedHeaders=host&X-Amz-Expires=431999&X-Amz-Credential=AKIAIJNI6FA5RIAFFQ7Q%2F20180711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=569f85f19ca40fd366201d0870216b8b96aee4bea855c5bd02fe5534b6d0fee2", | |
| "start_time": "2018-07-11T14:43:32.314Z", | |
| "background": false, | |
| "exit_code": 0, | |
| "insignificant": false, | |
| "canceled": null, | |
| "step": 101, | |
| "run_time_millis": 716, | |
| "has_output": true | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Restoring Cache", | |
| "actions": [ | |
| { | |
| "truncated": false, | |
| "index": 0, | |
| "parallel": true, | |
| "failed": null, | |
| "infrastructure_fail": null, | |
| "name": "Restoring Cache", | |
| "bash_command": null, | |
| "status": "success", | |
| "timedout": null, | |
| "continue": null, | |
| "end_time": "2018-07-11T14:43:42.873Z", | |
| "type": "test", | |
| "allocation_id": "5b4617903c9b3b0014d6d5e6-0-build/133AD163", | |
| "output_url": "https://circle-production-action-output.s3.amazonaws.com/6b63ca1000257644597164b5-psturc-aerogear-android-sdk-102-0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180711T144633Z&X-Amz-SignedHeaders=host&X-Amz-Expires=431999&X-Amz-Credential=AKIAIJNI6FA5RIAFFQ7Q%2F20180711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=00348560e12b977acbc4fbb8b68eb1f8e63953982528bed706f464ca4e2cae3f", | |
| "start_time": "2018-07-11T14:43:33.037Z", | |
| "background": false, | |
| "exit_code": null, | |
| "insignificant": false, | |
| "canceled": null, | |
| "step": 102, | |
| "run_time_millis": 9836, | |
| "has_output": true | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Chmod permissions", | |
| "actions": [ | |
| { | |
| "truncated": false, | |
| "index": 0, | |
| "parallel": true, | |
| "failed": null, | |
| "infrastructure_fail": null, | |
| "name": "Chmod permissions", | |
| "bash_command": "#!/bin/bash -eo pipefail\nsudo chmod +x ./gradlew", | |
| "status": "success", | |
| "timedout": null, | |
| "continue": null, | |
| "end_time": "2018-07-11T14:43:42.896Z", | |
| "type": "test", | |
| "allocation_id": "5b4617903c9b3b0014d6d5e6-0-build/133AD163", | |
| "start_time": "2018-07-11T14:43:42.878Z", | |
| "background": false, | |
| "exit_code": 0, | |
| "insignificant": false, | |
| "canceled": null, | |
| "step": 103, | |
| "run_time_millis": 18, | |
| "has_output": false | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Download Dependencies", | |
| "actions": [ | |
| { | |
| "truncated": false, | |
| "index": 0, | |
| "parallel": true, | |
| "failed": null, | |
| "infrastructure_fail": null, | |
| "name": "Download Dependencies", | |
| "bash_command": "#!/bin/bash -eo pipefail\n./gradlew androidDependencies", | |
| "status": "success", | |
| "timedout": null, | |
| "continue": null, | |
| "end_time": "2018-07-11T14:43:53.925Z", | |
| "type": "test", | |
| "allocation_id": "5b4617903c9b3b0014d6d5e6-0-build/133AD163", | |
| "output_url": "https://circle-production-action-output.s3.amazonaws.com/ad63ca1000257644e97164b5-psturc-aerogear-android-sdk-104-0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180711T144633Z&X-Amz-SignedHeaders=host&X-Amz-Expires=431999&X-Amz-Credential=AKIAIJNI6FA5RIAFFQ7Q%2F20180711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=f636fdb42fe90c85a2a12366e1d6c56ca41cccc4ccc197933f4dfce16be0afa5", | |
| "start_time": "2018-07-11T14:43:42.904Z", | |
| "background": false, | |
| "exit_code": 0, | |
| "insignificant": false, | |
| "canceled": null, | |
| "step": 104, | |
| "run_time_millis": 11021, | |
| "has_output": true | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Saving Cache", | |
| "actions": [ | |
| { | |
| "truncated": false, | |
| "index": 0, | |
| "parallel": true, | |
| "failed": null, | |
| "infrastructure_fail": null, | |
| "name": "Saving Cache", | |
| "bash_command": null, | |
| "status": "success", | |
| "timedout": null, | |
| "continue": null, | |
| "end_time": "2018-07-11T14:43:53.993Z", | |
| "type": "test", | |
| "allocation_id": "5b4617903c9b3b0014d6d5e6-0-build/133AD163", | |
| "output_url": "https://circle-production-action-output.s3.amazonaws.com/a073ca10002576449a7164b5-psturc-aerogear-android-sdk-105-0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180711T144633Z&X-Amz-SignedHeaders=host&X-Amz-Expires=431999&X-Amz-Credential=AKIAIJNI6FA5RIAFFQ7Q%2F20180711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=9d2dd25b19bebe9aced3cdf14b4cde7127500bc39259c1ac2b3e488255a007e3", | |
| "start_time": "2018-07-11T14:43:53.930Z", | |
| "background": false, | |
| "exit_code": null, | |
| "insignificant": false, | |
| "canceled": null, | |
| "step": 105, | |
| "run_time_millis": 63, | |
| "has_output": true | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Run Tests", | |
| "actions": [ | |
| { | |
| "truncated": false, | |
| "index": 0, | |
| "parallel": true, | |
| "failed": null, | |
| "infrastructure_fail": null, | |
| "name": "Run Tests", | |
| "bash_command": "#!/bin/bash -eo pipefail\n./gradlew lint testDebug --tests *.UnitTestSuite spotlessCheck", | |
| "status": "success", | |
| "timedout": null, | |
| "continue": null, | |
| "end_time": "2018-07-11T14:45:52.506Z", | |
| "type": "test", | |
| "allocation_id": "5b4617903c9b3b0014d6d5e6-0-build/133AD163", | |
| "output_url": "https://circle-production-action-output.s3.amazonaws.com/b073ca10002576449a7164b5-psturc-aerogear-android-sdk-106-0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180711T144633Z&X-Amz-SignedHeaders=host&X-Amz-Expires=431999&X-Amz-Credential=AKIAIJNI6FA5RIAFFQ7Q%2F20180711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=c792febf3cdf51a742b4cfeb84aefdd575adfb3421d19d88f614e75d5fe6c435", | |
| "start_time": "2018-07-11T14:43:53.997Z", | |
| "background": false, | |
| "exit_code": 0, | |
| "insignificant": false, | |
| "canceled": null, | |
| "step": 106, | |
| "run_time_millis": 118509, | |
| "has_output": true | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Generate Maven Artifacts", | |
| "actions": [ | |
| { | |
| "truncated": false, | |
| "index": 0, | |
| "parallel": true, | |
| "failed": null, | |
| "infrastructure_fail": null, | |
| "name": "Generate Maven Artifacts", | |
| "bash_command": "#!/bin/bash -eo pipefail\n./gradlew install", | |
| "status": "success", | |
| "timedout": null, | |
| "continue": null, | |
| "end_time": "2018-07-11T14:46:28.233Z", | |
| "type": "test", | |
| "allocation_id": "5b4617903c9b3b0014d6d5e6-0-build/133AD163", | |
| "output_url": "https://circle-production-action-output.s3.amazonaws.com/2a83ca1000257644028164b5-psturc-aerogear-android-sdk-107-0?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20180711T144633Z&X-Amz-SignedHeaders=host&X-Amz-Expires=431999&X-Amz-Credential=AKIAIJNI6FA5RIAFFQ7Q%2F20180711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=0773d643b4bad186c36064c8a89bdaa7c2e6accd40f942c7320803669470ba53", | |
| "start_time": "2018-07-11T14:45:52.514Z", | |
| "background": false, | |
| "exit_code": 0, | |
| "insignificant": false, | |
| "canceled": null, | |
| "step": 107, | |
| "run_time_millis": 35719, | |
| "has_output": true | |
| } | |
| ] | |
| } | |
| ], | |
| "body": "Exposing http client", | |
| "usage_queued_at": "2018-07-11T14:43:28.695Z", | |
| "fail_reason": null, | |
| "retry_of": null, | |
| "reponame": "aerogear-android-sdk", | |
| "ssh_users": [], | |
| "build_url": "https://circleci.com/gh/psturc/aerogear-android-sdk/17", | |
| "parallel": 1, | |
| "failed": false, | |
| "branch": "master", | |
| "username": "psturc", | |
| "author_date": "2018-07-10T19:48:16Z", | |
| "why": "api", | |
| "user": { | |
| "is_user": true, | |
| "login": "psturc", | |
| "avatar_url": "https://avatars1.githubusercontent.com/u/4881144?v=4", | |
| "name": "Pavel Šturc", | |
| "vcs_type": "github", | |
| "id": 4881144 | |
| }, | |
| "vcs_revision": "a359ff692fd0b8a199d86d91dedb6debc83d972e", | |
| "owners": [ | |
| "psturc" | |
| ], | |
| "vcs_tag": null, | |
| "pull_requests": [], | |
| "build_num": 17, | |
| "infrastructure_fail": false, | |
| "committer_email": "noreply@github.com", | |
| "has_artifacts": true, | |
| "previous": { | |
| "build_num": 16, | |
| "status": "success", | |
| "build_time_millis": 184484 | |
| }, | |
| "status": "success", | |
| "committer_name": "GitHub", | |
| "retries": null, | |
| "subject": "Merge pull request #260 from secondsun/AEROGEAR-7542_expose_ok_http", | |
| "vcs_type": "github", | |
| "timedout": false, | |
| "dont_build": null, | |
| "lifecycle": "finished", | |
| "no_dependency_cache": false, | |
| "stop_time": "2018-07-11T14:46:28.251Z", | |
| "ssh_disabled": true, | |
| "build_time_millis": 177491, | |
| "picard": { | |
| "build_agent": { | |
| "image": null, | |
| "properties": { | |
| "build_agent": "0.0.7311-9d6510a3", | |
| "executor": "docker" | |
| } | |
| }, | |
| "resource_class": { | |
| "cpu": 2, | |
| "ram": 4096, | |
| "class": "medium" | |
| }, | |
| "executor": "docker" | |
| }, | |
| "circle_yml": { | |
| "string": "version: 2\njobs:\n build:\n working_directory: ~/code\n docker:\n - image: circleci/android:api-27-alpha\n environment:\n JVM_OPTS: -Xmx3200m\n steps:\n - checkout\n - restore_cache:\n key: jars-{{ checksum \"build.gradle\" }}\n - run:\n name: Chmod permissions\n command: sudo chmod +x ./gradlew\n - run:\n name: Download Dependencies\n command: ./gradlew androidDependencies\n - save_cache:\n paths:\n - ~/.gradle\n key: jars-{{ checksum \"build.gradle\" }}\n - run:\n name: Run Tests\n command: ./gradlew lint testDebug --tests *.UnitTestSuite spotlessCheck\n - run:\n name: Generate Maven Artifacts\n command: ./gradlew install\n \n release_nexus:\n working_directory: ~/code\n docker:\n - image: circleci/android:api-27-alpha\n environment:\n JVM_OPTS: -Xmx3200m\n steps:\n - checkout\n - restore_cache:\n key: jars-{{ checksum \"build.gradle\" }}\n - run:\n name: Chmod permissions\n command: sudo chmod +x ./gradlew\n - run:\n name: Download Dependencies\n command: ./gradlew androidDependencies\n - save_cache:\n paths:\n - ~/.gradle\n key: jars-{{ checksum \"build.gradle\" }}\n - run:\n name: Create GPG Secret Key file from environment variable\n command: echo $GPG_SECRING_BASE64 | base64 --decode >> ~/secring.gpg\n - run:\n name: Create Gradle Proprerties config file from environment variable\n command: echo $GRADLE_SIGNING_PROPERTIES_BASE64 | base64 --decode >> ~/.gradle/gradle.properties\n - run:\n name: Validate the release tags and version numbers\n command: TAG=$CIRCLE_TAG ./scripts/validateRelease.sh\n - run:\n name: Release to Nexus\n command: ./gradlew clean build -x test uploadArchives -PNEXUS_USERNAME=$NEXUS_USERNAME -PNEXUS_PASSWORD=$NEXUS_PASSWORD\n\nworkflows:\n version: 2\n build_and_release:\n jobs:\n - build:\n filters:\n tags:\n only: /.*/\n - release_nexus:\n requires:\n - build\n filters:\n tags:\n only: /../ /./ # allow anything because tag syntax is validated as part of validateRelease.sh\n branches:\n ignore: /.*/\n\n" | |
| }, | |
| "messages": [], | |
| "is_first_green_build": false, | |
| "job_name": null, | |
| "start_time": "2018-07-11T14:43:30.760Z", | |
| "canceler": null, | |
| "all_commit_details": [ | |
| { | |
| "committer_date": "2018-07-10T19:48:16Z", | |
| "body": "Exposing http client", | |
| "author_date": "2018-07-10T19:48:16Z", | |
| "committer_email": "noreply@github.com", | |
| "commit": "a359ff692fd0b8a199d86d91dedb6debc83d972e", | |
| "committer_login": "web-flow", | |
| "committer_name": "GitHub", | |
| "subject": "Merge pull request #260 from secondsun/AEROGEAR-7542_expose_ok_http", | |
| "commit_url": "https://github.com/psturc/aerogear-android-sdk/commit/a359ff692fd0b8a199d86d91dedb6debc83d972e", | |
| "author_login": "danielpassos", | |
| "author_name": "Daniel Passos", | |
| "author_email": "daniel@passos.me" | |
| } | |
| ], | |
| "platform": "2.0", | |
| "outcome": "success", | |
| "vcs_url": "https://github.com/psturc/aerogear-android-sdk", | |
| "author_name": "Daniel Passos", | |
| "node": null, | |
| "queued_at": "2018-07-11T14:43:28.719Z", | |
| "canceled": false, | |
| "author_email": "daniel@passos.me" | |
| } | |
| [Pipeline] } | |
| [Pipeline] // dir | |
| [Pipeline] } | |
| [Pipeline] // node | |
| [Pipeline] End of Pipeline | |
| Finished: SUCCESS |
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
| node ('circleci') { | |
| sh "git clone https://github.com/psturc/aerogear-android-sdk" | |
| dir('aerogear-android-sdk') { | |
| def build_number = sh(script: "circleci trigger psturc/aerogear-android-sdk | jq '.build_num'", returnStdout: true).trim() | |
| sh "circleci await psturc/aerogear-android-sdk ${build_number}" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment