• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ec2-plugin
    • None
    • We are using Jenkins 2.121.3 and Amazon ec2-plugin 1.40.1.

      Have been trying to pass Jenkins parameters into the init script section of the EC2 config screen using standard Jenkins formatting e.g. ${JENKINS_ATT} but these do not seem to get resolved by the plugin.

      Is that an issue or just something that cannot be done?

          [JENKINS-54023] Pass Jenkins parameters to E2 plugin

          It is by design, the Script is executed before the connection of the Jenkins Agent.

          For now is a low priority, due to the number of bugs and pending PR, but you can provide a PR if you want.

          FABRIZIO MANFREDI added a comment - It is by design, the Script is executed before the connection of the Jenkins Agent. For now is a low priority, due to the number of bugs and pending PR, but you can provide a PR if you want.

          Jamie Stoddart added a comment - - edited

          Ok, what do I need to do for that then, is there a standard process?

          Jamie Stoddart added a comment - - edited Ok, what do I need to do for that then, is there a standard process?

          Normal github process, fork the https://github.com/jenkinsci/ec2-plugin/ and create a Pull Request.

          At the moment we don't have acceptance criteria, but we strong recommend to have some tests.

          FABRIZIO MANFREDI added a comment - Normal github process, fork the https://github.com/jenkinsci/ec2-plugin/  and create a Pull Request. At the moment we don't have acceptance criteria, but we strong recommend to have some tests.

            thoulen FABRIZIO MANFREDI
            jstoddart Jamie Stoddart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: