• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • Linux
      Jenkins ver. 1.614
      Client Browser Chrome Firefox IE

      I recently upgraded my Jenkins to version 1.614 and noticed issue with build with parameter url using post method which is loading blank and we have to reshape the url to view build status, whereas, we were able to see the build job by only triggering the remote build itself.

      Here is what we are doing to trigger the remote build :

      ~<form name=myform id=myform method=post action=http://myjenkins-server:8080/jenkins/job/Repository_Access/buildWithParameters>


      ---- hidden value in form


      <div><input type=submit id=getToken name=getToken value=Initiate></div>~

      Above action is send via email with hidden value and then admin user clicks on "initiate" button to trigger the job. It was working earlier before upgrade but after upgrade we get the URL "http://myjenkins-server:9096/jenkins/job/Repository_Access/buildWithParameters" completely blank. To access the build we have to remove "buildWithParameters" keywrod from the url and then click on build id shown at left hand side.

      I am not sure what exactly changed after the upgrade which has caused the issue. Any idea we have not changed anything in script or server.

          [JENKINS-28788] buildWithParameters url loading blank

          Daniel Beck added a comment -

          Duplicates JENKINS-22865. This is not a defect, but working as designed.

          Daniel Beck added a comment - Duplicates JENKINS-22865 . This is not a defect, but working as designed.

          Pratap Singh added a comment -

          I referred to the mentioned bug (https://issues.jenkins-ci.org/browse/JENKINS-22865) but it is still not clear how to get the build url working. We need to see the build status after triggering the build. Help me to understand how to get build status displayed after triggering the remote build.

          Here is my form with hidden value with /build url :

          ~echo "<br>" >> $temp_html ;
          echo "<form name="myform" id="myform" method="post" action=http://myjenkins-server:8080/jenkins/job/Repository_Access/build>" >> $temp_html ;
          echo "<input type="hidden" name="\"Mail_ID\"" value="\"$user_email_id\"" />" >> $temp_html ;
          echo "<input type="hidden" name="\"Access_Type\"" value="\"$Access_Type\"" />" >> $temp_html ;
          echo "<input type="hidden" name="\"Repository_List\"" value="\"$Repository_List\"" />" >> $temp_html ;
          echo "<div><input type="submit" id="getToken" name="getToken" value="Initiate"></div>" >> $temp_html ;
          echo "</form>" >> $temp_html ;
          echo "<br>Only <b>Admin</b> has the rights to click on this Initiate button.<br>" >> $temp_html ;~

          Pratap Singh added a comment - I referred to the mentioned bug ( https://issues.jenkins-ci.org/browse/JENKINS-22865 ) but it is still not clear how to get the build url working. We need to see the build status after triggering the build. Help me to understand how to get build status displayed after triggering the remote build. Here is my form with hidden value with /build url : ~echo "<br>" >> $temp_html ; echo "<form name="myform" id="myform" method="post" action= http://myjenkins-server:8080/jenkins/job/Repository_Access/build >" >> $temp_html ; echo "<input type="hidden" name="\"Mail_ID\"" value="\"$user_email_id\"" />" >> $temp_html ; echo "<input type="hidden" name="\"Access_Type\"" value="\"$Access_Type\"" />" >> $temp_html ; echo "<input type="hidden" name="\"Repository_List\"" value="\"$Repository_List\"" />" >> $temp_html ; echo "<div><input type="submit" id="getToken" name="getToken" value="Initiate"></div>" >> $temp_html ; echo "</form>" >> $temp_html ; echo "<br>Only <b>Admin</b> has the rights to click on this Initiate button.<br>" >> $temp_html ;~

          Daniel Beck added a comment -

          I suggest you just do whatever the regular "build with parameters" form does, i.e. same form action and everything.

          For further assistance and questions on how to use Jenkins, please email the jenkinsci-users mailing list, or ask in #jenkins on Freenode.

          Daniel Beck added a comment - I suggest you just do whatever the regular "build with parameters" form does, i.e. same form action and everything. For further assistance and questions on how to use Jenkins, please email the jenkinsci-users mailing list, or ask in #jenkins on Freenode.

            Unassigned Unassigned
            pratapsingh Pratap Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: