Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Version:
- Jenkins ver. 2.46.1
- Pipeline: Input Step 2.7
- Pipeline: 2.5
- Blue Ocean 1.1.2
Actually this worked before in Blue Ocean, but recently it did not work anymore, I do not know which version introduce this issue. Below is my pipeline code, It is ok when you approve this request, but it does not work when you abort this:
```
steps {
hipchatSend([
color: "YELLOW",
message: """hello""",
notify: true,
room: "alert",
textFormat: true
])
timeout(time: 5, unit: "DAYS") {
input message: "Do you want to approve this?", ok: "OK", submitter:"bob"
}
}
post {
success {
hipchatSend([
color: "GREEN",
message: "@all Approve",
notify: true,
room: "alert"
])
}
failure {
hipchatSend([
color: "GREEN",
message: "@all Deny",
notify: true,
room: "alert"
])
}
}
```
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
Version: * Jenkins ver. 2.46.1 * Pipeline: Input Step 2.7 * Pipeline: 2.5 * Blue Ocean 1.1.2 Actually this worked before, but recently it did work anymore, I do not know which version introduce this issue. Below is my pipeline code: ``` steps \{ hipchatSend([ color: "YELLOW", message: """hello""", notify: true, room: "alert", textFormat: true ]) timeout(time: 5, unit: "DAYS") \{ input message: "Do you want to approve this?", ok: "OK", submitter:"bob" } } post \{ success \{ hipchatSend([ color: "GREEN", message: "@all Approve", notify: true, room: "alert" ]) } failure \{ hipchatSend([ color: "GREEN", message: "@all Deny", notify: true, room: "alert" ]) } } ``` |
Version: * Jenkins ver. 2.46.1 * Pipeline: Input Step 2.7 * Pipeline: 2.5 * Blue Ocean 1.1.2 Actually this worked before, but recently it did not work anymore, I do not know which version introduce this issue. Below is my pipeline code: ``` steps \{ hipchatSend([ color: "YELLOW", message: """hello""", notify: true, room: "alert", textFormat: true ]) timeout(time: 5, unit: "DAYS") \{ input message: "Do you want to approve this?", ok: "OK", submitter:"bob" } } post \{ success \{ hipchatSend([ color: "GREEN", message: "@all Approve", notify: true, room: "alert" ]) } failure \{ hipchatSend([ color: "GREEN", message: "@all Deny", notify: true, room: "alert" ]) } } ``` |
Description |
Version: * Jenkins ver. 2.46.1 * Pipeline: Input Step 2.7 * Pipeline: 2.5 * Blue Ocean 1.1.2 Actually this worked before, but recently it did not work anymore, I do not know which version introduce this issue. Below is my pipeline code: ``` steps \{ hipchatSend([ color: "YELLOW", message: """hello""", notify: true, room: "alert", textFormat: true ]) timeout(time: 5, unit: "DAYS") \{ input message: "Do you want to approve this?", ok: "OK", submitter:"bob" } } post \{ success \{ hipchatSend([ color: "GREEN", message: "@all Approve", notify: true, room: "alert" ]) } failure \{ hipchatSend([ color: "GREEN", message: "@all Deny", notify: true, room: "alert" ]) } } ``` |
Version: * Jenkins ver. 2.46.1 * Pipeline: Input Step 2.7 * Pipeline: 2.5 * Blue Ocean 1.1.2 Actually this worked before in Blue Ocean, but recently it did not work anymore, I do not know which version introduce this issue. Below is my pipeline code: ``` steps \{ hipchatSend([ color: "YELLOW", message: """hello""", notify: true, room: "alert", textFormat: true ]) timeout(time: 5, unit: "DAYS") \{ input message: "Do you want to approve this?", ok: "OK", submitter:"bob" } } post \{ success \{ hipchatSend([ color: "GREEN", message: "@all Approve", notify: true, room: "alert" ]) } failure \{ hipchatSend([ color: "GREEN", message: "@all Deny", notify: true, room: "alert" ]) } } ``` |
Description |
Version: * Jenkins ver. 2.46.1 * Pipeline: Input Step 2.7 * Pipeline: 2.5 * Blue Ocean 1.1.2 Actually this worked before in Blue Ocean, but recently it did not work anymore, I do not know which version introduce this issue. Below is my pipeline code: ``` steps \{ hipchatSend([ color: "YELLOW", message: """hello""", notify: true, room: "alert", textFormat: true ]) timeout(time: 5, unit: "DAYS") \{ input message: "Do you want to approve this?", ok: "OK", submitter:"bob" } } post \{ success \{ hipchatSend([ color: "GREEN", message: "@all Approve", notify: true, room: "alert" ]) } failure \{ hipchatSend([ color: "GREEN", message: "@all Deny", notify: true, room: "alert" ]) } } ``` |
Version: * Jenkins ver. 2.46.1 * Pipeline: Input Step 2.7 * Pipeline: 2.5 * Blue Ocean 1.1.2 Actually this worked before in Blue Ocean, but recently it did not work anymore, I do not know which version introduce this issue. Below is my pipeline code, It is ok when you approve this request, but it does not work when you abort this: ``` steps \{ hipchatSend([ color: "YELLOW", message: """hello""", notify: true, room: "alert", textFormat: true ]) timeout(time: 5, unit: "DAYS") \{ input message: "Do you want to approve this?", ok: "OK", submitter:"bob" } } post \{ success \{ hipchatSend([ color: "GREEN", message: "@all Approve", notify: true, room: "alert" ]) } failure \{ hipchatSend([ color: "GREEN", message: "@all Deny", notify: true, room: "alert" ]) } } ``` |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Not sure what you mean in re: Blue Ocean - is it not visualizing right? Or is the failure block not executing? That wouldn't shock me - try changing from failure to aborted?