Don't remove $WORKSPACE on propsal jobs
These jobs used to run on a long-lived node, and we needed to periodically clean out the jenkins home dir of workspaces or the disk would fill. Now they run on single-use nodes and we don't. Moreover, removing everything in the homedir also removes the prepared git repos in v3, which makes the jobs fail. Change-Id: I86bc40885abea73bb90aee3998c1938e26f6e1f8
This commit is contained in:
parent
3cc327b1e4
commit
45ea4ecf3a
@ -8,16 +8,6 @@
|
||||
path: '{{ ansible_user_dir }}/workspace'
|
||||
state: directory
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
cd /
|
||||
rm -rf `dirname $WORKSPACE`/*
|
||||
mkdir $WORKSPACE
|
||||
cd $WORKSPACE
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -x
|
||||
|
@ -8,16 +8,6 @@
|
||||
path: '{{ ansible_user_dir }}/workspace'
|
||||
state: directory
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
cd /
|
||||
rm -rf `dirname $WORKSPACE`/*
|
||||
mkdir $WORKSPACE
|
||||
cd $WORKSPACE
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -x
|
||||
|
@ -8,16 +8,6 @@
|
||||
path: '{{ ansible_user_dir }}/workspace'
|
||||
state: directory
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
cd /
|
||||
rm -rf `dirname $WORKSPACE`/*
|
||||
mkdir $WORKSPACE
|
||||
cd $WORKSPACE
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -x
|
||||
|
@ -7,16 +7,6 @@
|
||||
path: '{{ ansible_user_dir }}/workspace'
|
||||
state: directory
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
cd /
|
||||
rm -rf `dirname $WORKSPACE`/*
|
||||
mkdir $WORKSPACE
|
||||
cd $WORKSPACE
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -x
|
||||
|
@ -7,16 +7,6 @@
|
||||
path: '{{ ansible_user_dir }}/workspace'
|
||||
state: directory
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
cd /
|
||||
rm -rf `dirname $WORKSPACE`/*
|
||||
mkdir $WORKSPACE
|
||||
cd $WORKSPACE
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -x
|
||||
|
@ -7,16 +7,6 @@
|
||||
path: '{{ ansible_user_dir }}/workspace'
|
||||
state: directory
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
cd /
|
||||
rm -rf `dirname $WORKSPACE`/*
|
||||
mkdir $WORKSPACE
|
||||
cd $WORKSPACE
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -x
|
||||
|
@ -7,16 +7,6 @@
|
||||
path: '{{ ansible_user_dir }}/workspace'
|
||||
state: directory
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
cd /
|
||||
rm -rf `dirname $WORKSPACE`/*
|
||||
mkdir $WORKSPACE
|
||||
cd $WORKSPACE
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||
|
||||
- shell:
|
||||
cmd: |
|
||||
set -x
|
||||
|
Loading…
x
Reference in New Issue
Block a user