We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef496c1 commit 3ca21f5Copy full SHA for 3ca21f5
Jenkinsfile
@@ -68,10 +68,10 @@ pipeline
68
echo "env.TARGET_REF: ${env.TARGET_REF}"
69
echo "env.STORE_BUILD: ${env.STORE_BUILD}"
70
71
- if(env.TARGET_REF != null)
+ if(env.TARGET_REF != null && env.TARGET_REF != '')
72
TARGET_REF = env.TARGET_REF
73
74
- if(env.STORE_BUILD != null)
+ if(env.STORE_BUILD != null && env.STORE_BUILD != '')
75
STORE_BUILD = env.STORE_BUILD.toBoolean()
76
77
echo "Displaying Webhook Variables:"
0 commit comments