PortAllocator: Persist reservations
Speed up improve random port generation.
Update unit tests and add them to CI/CD.
Change-Id: Ia77f0b4cbccfdce86e6c3cedc68afe6796ca8bf4
diff --git a/Jenkinsfile b/Jenkinsfile
index 375983c..b800f63 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -13,7 +13,7 @@
}
}
stages {
- stage('installer auth') {
+ stage('build/test') {
steps {
container('golang') {
dir('core/installer') {
@@ -26,6 +26,11 @@
sh 'go build *.go'
sh 'go test ./...'
}
+ dir('core/port-allocator') {
+ sh 'go mod tidy'
+ sh 'go build *.go'
+ sh 'go test ./...'
+ }
}
}
}