-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
redhat linux 6, running under tomcat
I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build.
We are using LDAP authentication via Atlassian crowd for our regular users.
After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it.
I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest&token=test
This results in a nullpointer exception. I've verified that the anonymous user has read and build permissions.
I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate)
curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest&token=test'
[JENKINS-18733] Null pointer exception when trying to use build-token-root
Description |
Original:
I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build. We are using LDAP authentication via Atlassian crowd for our regular users. After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it. I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest/ This results in a nullpointer exception. I've verified that the anonymous user has read and build (just. I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate) curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest' |
New:
I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build. We are using LDAP authentication via Atlassian crowd for our regular users. After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it. I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest/ This results in a nullpointer exception. I've verified that the anonymous user has read and build permissions. I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate) curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest' |
Description |
Original:
I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build. We are using LDAP authentication via Atlassian crowd for our regular users. After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it. I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest/ This results in a nullpointer exception. I've verified that the anonymous user has read and build permissions. I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate) curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest' |
New:
I am new to jenkins and trying to test the "trigger build remotely" feature for some of our jobs. Upon further research I found that I need to use this plugin in order to have "Anonymous" kick off the build. We are using LDAP authentication via Atlassian crowd for our regular users. After installing the plugin I created a simple job that only has an "execute shell" build step that has a simple "echo 'test succesful'" inside it. I use the url https://servername.domainname.com/ops-deploy/buildbyToken/build?jobname=joshtest&token=test This results in a nullpointer exception. I've verified that the anonymous user has read and build permissions. I'm trying to access it via the following manner (the --insecure is to ignore the self signed certificate) curl -i --insecure 'https://servername.domainname.com/ops-deploy/buildByToken/build?jobname=joshtest&token=test' |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 150081 ] | New: JNJira + In-Review [ 193415 ] |
it's just job - not jobname like I saw on some examples online it seems. Sorry!