Ubuntu Pastebin

Paste from powersj at Fri, 16 Jun 2017 15:43:32 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
node('metal-amd64') {
  stage ('Checkout') {
    deleteDir()
    git url: 'https://git.launchpad.net/cloud-init', branch: 'master'
  }

  stage ('Unit & Style Tests') {
    sh 'tox'
    sh 'tox -e tip-pycodestyle'
    sh 'tox -e tip-pyflakes'
    sh 'tox -e tip-pylint'
  }

  stage ('Ubuntu LTS: Build') {
    sh 'git checkout .'
    sh './packages/bddeb -S'
    sh 'sbuild --nolog --verbose --dist=xenial cloud-init_*.dsc'
  }

  stage ('Ubuntu LTS: Integration') {
    sh 'python3 -m tests.cloud_tests run --verbose --os-name xenial --test modules/apt_configure_sources_list.yaml --test modules/ntp_servers --test modules/set_password_list --test modules/user_groups --deb cloud-init_*_all.deb'
  }
  
  stage ('CentOS 6 & 7: Build & Test') {
    sh 'http_proxy="http://squid.internal:3128" ./tools/run-centos -r -u 6'
    sh 'http_proxy="http://squid.internal:3128" ./tools/run-centos -r -u 7'
  }
}
Download as text