Woodpecker Next: could not parse as int value #2

Closed
opened 2023-07-05 09:37:33 +02:00 by philipkozeny · 1 comment

Hi,

we are using woodpecker next and your plugins since some time now. With one of the latest updates of woodpecker next (last weeks) our pipeline now always fails at the mail step with

time="2023-07-05T07:34:37Z" level=fatal msg="could not parse  as int value for flag pullRequest: strconv.ParseInt: parsing \"\": invalid syntax" 

This happens to several repos and different pipelines.

Here is one of the configs

  mail:
    image: deblan/woodpecker-email
    settings:
      from:
        from_secret: email_user
      from.name:
        from_secret: email_user
      host:
        from_secret: email_host
      username:
        from_secret: email_user
      password:
        from_secret: email_password
      evaluate: 'CI_STEP_STATUS == "failure" || CI_PREV_PIPELINE_STATUS == "failure"'
    when:
      - status: [ success, failure ]
      - event: [ push, pull_request, tag, deployment, cron, manual ]

Thanks for your help.

Hi, we are using woodpecker next and your plugins since some time now. With one of the latest updates of woodpecker next (last weeks) our pipeline now always fails at the mail step with ``` time="2023-07-05T07:34:37Z" level=fatal msg="could not parse as int value for flag pullRequest: strconv.ParseInt: parsing \"\": invalid syntax" ``` This happens to several repos and different pipelines. Here is one of the configs ``` mail: image: deblan/woodpecker-email settings: from: from_secret: email_user from.name: from_secret: email_user host: from_secret: email_host username: from_secret: email_user password: from_secret: email_password evaluate: 'CI_STEP_STATUS == "failure" || CI_PREV_PIPELINE_STATUS == "failure"' when: - status: [ success, failure ] - event: [ push, pull_request, tag, deployment, cron, manual ] ``` Thanks for your help.
deblan added the
bug
reproduced
labels 2023-07-10 09:43:25 +02:00
Owner

Should be fixed in docker tags: 1.0.1-wp and latest

Should be fixed in docker tags: `1.0.1-wp` and `latest`
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: deblan/woodpecker-email#2
No description provided.