Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17926

one job build by passing env to ant QA, STAGE, DEV, PROD to build for the giving parameters.

      Hi
      I am running jenkins on a windows 2008 and have setup JDK, tomcat and ant. Created a new project and pulled the source from perforce.
      I have one admin.property file that is being ignored from being synced.
      I am using parabuild tool which allows me to setup build parameters such
      env = qa, dev, stage, prod.
      when I execute and invoke ant it will pass the parameter to the ant command for which environments build for
      this is what i use in parabuild

      set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_21
      set TOMCAT_HOME=C:\opt\apache-tomcat-6.0.29
      call ant -Ddeployment-env=%ENV% -Dtomcat.home=%TOMCAT_HOME% clean package

      note the env is already setup qa, dev, stage, prod.
      like to know using one JOB in Jenkins how can i use this method?

          [JENKINS-17926] one job build by passing env to ant QA, STAGE, DEV, PROD to build for the giving parameters.

          There are no comments yet on this issue.

            Unassigned Unassigned
            amousa ayman mousa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: