Remove warden support from Jenkinsfile

Change-Id: Idce8c8a45e77f81ed1ab154a3412892f0037077b
This commit is contained in:
Bharath Thiruveedula 2017-08-29 00:48:37 +05:30 committed by Brian O'Connor
parent 3929cc8e3b
commit d9ce42a404

25
Jenkinsfile vendored
View File

@ -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
'''
}
}
}