• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins ver. 2.46.2

      Pipeline 2.5
      Pipeline Graph Analysis Plugin 1.3
      Pipeline: Groovy 2.32

      Create simple pipeline:

      // Add fancy build parameter.
      properties([
        parameters([
          string( 
            defaultValue: "asd",
            description: 'Some description',
            name: 'foo'
          ),
        ])
      ])
      
      print foo
      if (foo == "true") {
         print "true"
      }
      else {
         print "false"
      }
      

      call pipeline/job with foo=true

      Result:

      [Pipeline] echo
      asd
       [Pipeline] echo
      false
       [Pipeline] End of Pipeline
      Finished: SUCCESS

      parametrized build passed variables is not being propagated to the pipeline.

      I might be doing something wrong but this works on simple job. 

          [JENKINS-44509] jenkins pipelines Environment not working

          Its Openshift Related. If I create Pipeline from Openshift, it fails, if I create native - it works. 

          Mangirdas Judeikis added a comment - Its Openshift Related. If I create Pipeline from Openshift, it fails, if I create native - it works. 

          Moving to Openshift Github issue as looks like issue with Openshift Pipeline implementation. 

          https://github.com/openshift/origin/issues/14369 

          Mangirdas Judeikis added a comment - Moving to Openshift Github issue as looks like issue with Openshift Pipeline implementation.  https://github.com/openshift/origin/issues/1 4369 

            Unassigned Unassigned
            mangirdas Mangirdas Judeikis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: