Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit d8b439a

Browse files
authored
Merge pull request #642 from rumpl/fossa-on-change
Only run FOSSA scan if we changed deps
2 parents 5d97b59 + 77ec01e commit d8b439a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Jenkinsfile.baguette

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ pipeline {
5757
}
5858
}
5959
stage("License Scan") {
60+
when {
61+
anyOf {
62+
changeset "Gopkg.lock"
63+
branch "master"
64+
}
65+
}
6066
agent {
6167
label 'ubuntu-1604-aufs-edge'
6268
}
@@ -313,7 +319,7 @@ def release(repo) {
313319

314320
def tag() {
315321
if (env.TAG_NAME != null) {
316-
return env.TAG_NAME
322+
return env.TAG_NAME
317323
} else {
318324
return env.BUILD_TAG
319325
}

0 commit comments

Comments
 (0)