Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Only run FOSSA scan if we changed deps
Browse files Browse the repository at this point in the history
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
  • Loading branch information
rumpl committed Sep 26, 2019
1 parent 5d97b59 commit 3c780d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile.baguette
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ pipeline {
}
}
stage("License Scan") {
when {
changeset "Gopkg.lock"
}
agent {
label 'ubuntu-1604-aufs-edge'
}
Expand Down Expand Up @@ -313,7 +316,7 @@ def release(repo) {

def tag() {
if (env.TAG_NAME != null) {
return env.TAG_NAME
return env.TAG_NAME
} else {
return env.BUILD_TAG
}
Expand Down

0 comments on commit 3c780d7

Please sign in to comment.