Revert one failed experiment
This commit is contained in:
parent
79f29d43b1
commit
dc4f81c24d
1 changed files with 14 additions and 12 deletions
|
@ -216,23 +216,25 @@
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
- name: install android sdk
|
- name: drop current android SDK
|
||||||
only_if: '$is_fedora'
|
only_if: '$is_fedora'
|
||||||
|
action: file state=absent path=/var/android
|
||||||
|
|
||||||
- name: drop current android SDK
|
- name: mkdir dir for android SDK
|
||||||
action: file state=absent path=/var/android
|
only_if: '$is_fedora'
|
||||||
|
action: file state=directory path=/var/android owner=jenkins_slave group=jenkins_slave
|
||||||
|
|
||||||
- name: mkdir dir for android SDK
|
- name: copy android SDK
|
||||||
action: file state=directory path=/var/android owner=jenkins_slave group=jenkins_slave
|
only_if: '$is_fedora'
|
||||||
|
action: copy src=$bigfiles/jenkins/android-sdk-with-platform-17.tar.gz dest=/var/android/ owner=jenkins_slave group=jenkins_slave
|
||||||
|
|
||||||
- name: copy android SDK
|
- name: extract android SDK
|
||||||
action: copy src=$bigfiles/jenkins/android-sdk-with-platform-17.tar.gz dest=/var/android/ owner=jenkins_slave group=jenkins_slave
|
only_if: '$is_fedora'
|
||||||
|
command: tar -xvf /var/android/android-sdk-with-platform-17.tar.gz
|
||||||
|
|
||||||
- name: extract android SDK
|
- name: delete sdk archive
|
||||||
command: tar -xvf /var/android/android-sdk-with-platform-17.tar.gz
|
only_if: '$is_fedora'
|
||||||
|
action: file state=absent path=/var/android/android-sdk-with-platform-17.tar.gz
|
||||||
- name: delete sdk archive
|
|
||||||
action: file state=absent path=/var/android/android-sdk-with-platform-17.tar.gz
|
|
||||||
|
|
||||||
- name: set the hostname to jenkins-osversion
|
- name: set the hostname to jenkins-osversion
|
||||||
action: command hostname jenkins-${dist_tag}
|
action: command hostname jenkins-${dist_tag}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue