mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-04 19:56:49 +02:00
Remove warden support from Jenkinsfile
Change-Id: Idce8c8a45e77f81ed1ab154a3412892f0037077b
This commit is contained in:
parent
3929cc8e3b
commit
d9ce42a404
25
Jenkinsfile
vendored
25
Jenkinsfile
vendored
@ -7,10 +7,7 @@ pipeline {
|
||||
stages {
|
||||
stage('pull') {
|
||||
steps {
|
||||
sh 'which warden-client && sum `which warden-client`'
|
||||
sh 'warden-client list'
|
||||
git url: 'https://gerrit.onosproject.org/onos'
|
||||
sh 'warden-client --reqId CI-${BUILD_NUMBER} --timeout 5 --duration 10 --nodes 1 reserve'
|
||||
}
|
||||
}
|
||||
|
||||
@ -48,32 +45,10 @@ pipeline {
|
||||
docker build -t onosproject/onos-test-docker .
|
||||
'''
|
||||
},
|
||||
"stc": {
|
||||
timeout(10) {
|
||||
sh '''#!/bin/bash -l
|
||||
export stcColor=false
|
||||
ONOS_ROOT=`pwd`
|
||||
source tools/build/envDefaults
|
||||
onos-package-test
|
||||
echo "Waiting for cell..."
|
||||
warden-client --reqId CI-${BUILD_NUMBER} status > cell.txt
|
||||
source cell.txt
|
||||
rm -f cell.txt
|
||||
proxy-stc
|
||||
'''
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
sh '''#!/bin/bash -l
|
||||
warden-client --reqId CI-${BUILD_NUMBER} return
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user