mirror of https://github.com/docker/compose.git
We don't use FOSSA anymore
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
dd889b990b
commit
c5c287db5c
|
@ -1,20 +0,0 @@
|
||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
stages {
|
|
||||||
stage("License Scan") {
|
|
||||||
agent {
|
|
||||||
label 'ubuntu-1604-aufs-edge'
|
|
||||||
}
|
|
||||||
|
|
||||||
steps {
|
|
||||||
withCredentials([
|
|
||||||
string(credentialsId: 'fossa-api-key', variable: 'FOSSA_API_KEY')
|
|
||||||
]) {
|
|
||||||
checkout scm
|
|
||||||
sh "FOSSA_API_KEY='${FOSSA_API_KEY}' BRANCH_NAME='${env.BRANCH_NAME}' make -f script/fossa.mk fossa-analyze"
|
|
||||||
sh "FOSSA_API_KEY='${FOSSA_API_KEY}' make -f script/fossa.mk fossa-test"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,16 +0,0 @@
|
||||||
# Variables for Fossa
|
|
||||||
BUILD_ANALYZER?=docker/fossa-analyzer
|
|
||||||
FOSSA_OPTS?=--option all-tags:true --option allow-unresolved:true
|
|
||||||
|
|
||||||
fossa-analyze:
|
|
||||||
docker run --rm -e FOSSA_API_KEY=$(FOSSA_API_KEY) \
|
|
||||||
-v $(CURDIR)/$*:/go/src/github.com/docker/compose \
|
|
||||||
-w /go/src/github.com/docker/compose \
|
|
||||||
$(BUILD_ANALYZER) analyze ${FOSSA_OPTS} --branch ${BRANCH_NAME}
|
|
||||||
|
|
||||||
# This command is used to run the fossa test command
|
|
||||||
fossa-test:
|
|
||||||
docker run -i -e FOSSA_API_KEY=$(FOSSA_API_KEY) \
|
|
||||||
-v $(CURDIR)/$*:/go/src/github.com/docker/compose \
|
|
||||||
-w /go/src/github.com/docker/compose \
|
|
||||||
$(BUILD_ANALYZER) test
|
|
Loading…
Reference in New Issue