aboutsummaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-workspaces.yaml
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-03-07 10:49:29 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2019-03-11 10:08:46 +0000
commit6f02d54e1f5ee305e6e1aeaeb838802291bb5698 (patch)
tree9a2654d217cdc115e8e62d9b2922c0c60fa30d61 /tcwg-cleanup-stale-workspaces.yaml
parent1c22f340b8aac5cc404af216f9b501b6f8835678 (diff)
tcwg-cleanup-stale-workspaces: Convert to freestyle
Change-Id: I10649550d967873b375e7c86f7fdcbc8c86b91e9
Diffstat (limited to 'tcwg-cleanup-stale-workspaces.yaml')
-rw-r--r--tcwg-cleanup-stale-workspaces.yaml54
1 files changed, 10 insertions, 44 deletions
diff --git a/tcwg-cleanup-stale-workspaces.yaml b/tcwg-cleanup-stale-workspaces.yaml
index 3d8fa16375..38cf412ccf 100644
--- a/tcwg-cleanup-stale-workspaces.yaml
+++ b/tcwg-cleanup-stale-workspaces.yaml
@@ -1,6 +1,6 @@
- job:
name: tcwg-cleanup-stale-workspaces
- project-type: matrix
+ project-type: freestyle
defaults: global
properties:
- authorization:
@@ -23,6 +23,13 @@
block-level: 'NODE'
queue-scanning: 'ALL'
parameters:
+ - label:
+ name: node_list
+ default: tcwg-apm_64-build || tcwg-apm_64-test || tcwg-coordinator || tcwg-d05-01 || tcwg-sq_64-build || tcwg-thx1-01 || tcwg-tk1 || tcwg-tx1 || tcwg-x86_64-build || tcwg-x86_64-cam
+ all-nodes: true
+ matching-label: 'allCases'
+ node-eligibility: 'ignore-offline'
+ description: 'Machines to run on'
- string:
name: days
default: '3'
@@ -39,10 +46,10 @@
name: scripts_branch
default: master
description: 'Scripts branch to use'
- disabled: true
+ disabled: false
node: tcwg-coordinator
concurrent: false
- display-name: 'DELETE ME'
+ display-name: 'TCWG CCC Cleanup stale workspaces'
triggers:
- timed: '@daily'
scm:
@@ -56,51 +63,10 @@
wipe-workspace: false
clean:
before: true
- axes:
- - axis:
- type: slave
- name: label
- values:
- - tcwg-apm-01
- - tcwg-apm-02
- - tcwg-apm-03
- - tcwg-apm-04
- - tcwg-d05-01
- - tcwg-sq-01
- - tcwg-sq-02
- - tcwg-thx1-01
- - tcwg-tk1-01
- - tcwg-tk1-02
- - tcwg-tk1-03
- - tcwg-tk1-04
- - tcwg-tk1-09
- - tcwg-tx1-01
- - tcwg-tx1-02
- - tcwg-tx1-03
- - tcwg-tx1-04
- - tcwg-tx1-05
- - tcwg-x86_64-build-01
- - tcwg-x86_64-build-02
- - tcwg-x86_64-build-03
- - tcwg-x86_64-build-04
- - tcwg-x86_64-build-05
- - tcwg-x86_64-build-06
- - tcwg-x86_64-build-07
- - tcwg-x86_64-build-08
- - tcwg-x86_64-build-09
- - tcwg-x86_64-build-10
- - tcwg-x86_64-dev-01
- - tcwg-x86_64-dev-02
- execution-strategy:
- sequential: false
wrappers:
- timeout:
timeout: 600
- timestamps
- - ssh-agent-credentials:
- # tcwg-buildslave user id
- users:
- - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
- build-name:
name: '#${BUILD_NUMBER}'
builders: