[JIRA] (JENKINS-56869) Conditionals allOf anyOf and not behaving backwards

0 views
Skip to first unread message

rtyler@brokenco.de (JIRA)

unread,
Apr 3, 2019, 3:08:01 PM4/3/19
to jenkinsc...@googlegroups.com
R. Tyler Croy moved an issue
 
Jenkins / Bug JENKINS-56869
Conditionals allOf anyOf and not behaving backwards
Change By: R. Tyler Croy
Project: Infrastructure Jenkins
Key: INFRA JENKINS - 2067 56869
Workflow: classic default workflow JNJira + In-Review
Component/s: pipeline
Component/s: pipeline-library
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

rtyler@brokenco.de (JIRA)

unread,
Apr 3, 2019, 3:09:02 PM4/3/19
to jenkinsc...@googlegroups.com
R. Tyler Croy assigned an issue to Andrew Bayer
 

These types of tickets are best suited for the JENKINS project in Jira.

INFRA is for project infrastructure only, I've moved this over and re-assigned it

Change By: R. Tyler Croy
Assignee: R. Tyler Croy Andrew Bayer

robin.bjorklin@gmail.com (JIRA)

unread,
Feb 14, 2020, 2:57:03 PM2/14/20
to jenkinsc...@googlegroups.com
Robin Björklin commented on Bug JENKINS-56869
 
Re: Conditionals allOf anyOf and not behaving backwards

Zack Nunez the behavior seems correct too me. You're negating the results with the "not" keyword which is a bit confusing.

 

anyOf is logical OR and what you're doing in the first example is stating the following: !true || !true to get it to skip the step which is correct.

 

allOf is logical AND and what you're doing in the second example is stating the following: !true && !false which will cause the steps to be skipped.

 

Both of these are correct and this issue can be closed.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages