buildEnv.groovy #1

  • //
  • guest/
  • paul_allen/
  • p4jenkins/
  • main/
  • src/
  • main/
  • resources/
  • org/
  • jenkinsci/
  • plugins/
  • p4/
  • build/
  • P4EnvironmentContributor/
  • buildEnv.groovy
  • View
  • Commits
  • Open Download .zip Download (232 B)
package org.jenkinsci.plugins.p4.PerforceScm;

def l = namespace(lib.JenkinsTagLib)

["P4_CHANGELIST","P4_CLIENT","P4_PORT","P4_USER","P4_TICKET"].each { name ->
    l.buildEnvVar(name:name) {
        raw(_("${name}.blurb"))
    }
}
# Change User Description Committed
#1 21940 Paul Allen Branching using p4-jenkins
//guest/perforce_software/p4jenkins/main/src/main/resources/org/jenkinsci/plugins/p4/build/P4EnvironmentContributor/buildEnv.groovy
#1 21133 Paul Allen P4 Environment Variables for pipeline.

JENKINS-37584
//guest/perforce_software/p4jenkins/main/src/main/resources/org/jenkinsci/plugins/p4/PerforceScm/buildEnv.groovy
#2 19455 Paul Allen Minor package fix.
#1 15663 Paul Allen Added P4_USER and P4_TICKET environment variables.

Added Perforce environment variables to the buildEnv documentation.

JENKINS-24591