Skip to content

slack_notify script in shared-lib not working for some pipelines #652

Answered by vj4a
vj4a asked this question in Installation
Discussion options

You must be logged in to vote

@heungheung , Thanks for the info, the typecasting was the issue. Also, in artifact upload to storage buckets, the build number is null which is to be checked further. For now, this is a workaround for the exception.

                if (buildNumber == 0)
                    env.BUILD_NUMBER = env.BUILD_NUMBER == "" ? "0" : env.BUILD_NUMBER
                    buildNumber = env.BUILD_NUMBER.toInteger()

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@vj4a
Comment options

@heungheung
Comment options

@heungheung
Comment options

@vj4a
Comment options

Answer selected by vj4a
Comment options

You must be logged in to vote
1 reply
@vj4a
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants