the parameters are not being recognised
pipeline fails with null pointer exception
Failed because of java.lang.NullPointerException: Cannot invoke method trim() on null object
command used was
java -jar jenkins_2.235.2/jenkins-cli.jar -s https://jenkins :port/ -auth / build ‘Testing Job’ -p BU=ABC
poddingue
(Bruno Verachten)
June 27, 2024, 7:43am
2
Hello and welcome to this community, @pridesai .
The command you’re using seems to be missing the authentication token after -auth
. As far as I know, the -auth
option should be followed by a username
and token
in the format username:token
.
Hi @poddingue ,
thanks for reply
I am using auth - here I did not pasted
it is triggering the pipeline with correct parameters
but once pipeline starts it fails with null pointer exception
thanks
Priya
poddingue
(Bruno Verachten)
June 27, 2024, 8:54am
4
I’m afraid we would need some more logs to try and help.
mawinter69
(Markus Winter)
June 27, 2024, 12:01pm
5
Have you passed all parameters that are defined in the job to the cli command?