Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1974338: Update README.md with USE_JAVA_VERSION env var explanation #1307

Merged
merged 1 commit into from Jul 22, 2021

Conversation

waveywaves
Copy link
Contributor

USE_JAVA_VERSION env var allows the user to set the java version of the jnlp client running in the jenkins agent image.

@openshift-ci openshift-ci bot requested review from akram and sbose78 July 13, 2021 13:31
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 13, 2021
README.md Outdated
@@ -171,6 +171,7 @@ initialization by passing `-e VAR=VALUE` to the Docker run command.
| `MAVEN_SLAVE_IMAGE` | Setting this value overrides the image used for the default maven agent pod configuration. For 3.x, the default maven agent pod uses `docker.io/openshift/jenkins-agent-maven-35-centos7` or `registry.redhat.io/openshift3/jenkins-agent-maven-35-rhel7` depending whether you are running the centos or rhel version of the Jenkins image. For 4.x, the image is included in the 4.0 payload via an imagestream in the openshift namespace, and the image spec points to the internal image registry. If you are running this image outside of OpenShift, you must either set this environment variable or manually update the setting to an accessible image spec. This variable must be set before Jenkins starts the first time for it to have an effect. |
| `JENKINS_UC_INSECURE` | When your Jenkins Update Center repository is using a self-signed certificate with an unknown Certificate Authority, this variable allows one to bypass the repository's SSL certificate check. The variable applies to download of the plugin which may occur during Jenkins image build, if you build an extension of the jenkins image or if you run the Jenkins image and leverage one of the options to download additional plugins (use of s2i whith plugins.txt or use of `INSTALL_PLUGINS` environment variable. |
| `MAVEN_MIRROR_URL` | Allows you to specify a [Maven mirror repository](https://maven.apache.org/guides/mini/guide-mirror-settings.html) in the form of `MAVEN_MIRROR_URL=https://nexus.mycompany.com/repository/maven-public`. The mirror repository is used by maven as an additional location for artifacts downloads. For more details on [how maven mirrors works](https://maven.apache.org/guides/mini/guide-mirror-settings.html), you can refer to maven documentation.
| `USE_JAVA_VERSION` | Allows you to set the Java version used by the JNLP Client for the agent images. By default the value is set to `java-11` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are the allowed values? What value should a developer provide to use Java 8?

@gabemontero
Copy link
Contributor

/retitle Bug: 1974338: Update README.md with USE_JAVA_VERSION env var explanation

@openshift-ci openshift-ci bot changed the title Update README.md w/ USE_JAVA_VERSION envvar Bug: 1974338: Update README.md with USE_JAVA_VERSION env var explanation Jul 13, 2021
@gabemontero
Copy link
Contributor

/retitle Bug 1974338: Update README.md with USE_JAVA_VERSION env var explanation

@openshift-ci openshift-ci bot changed the title Bug: 1974338: Update README.md with USE_JAVA_VERSION env var explanation Bug 1974338: Update README.md with USE_JAVA_VERSION env var explanation Jul 13, 2021
@openshift-ci openshift-ci bot added the bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. label Jul 13, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 13, 2021

@waveywaves: This pull request references Bugzilla bug 1974338, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.9.0) matches configured target release for branch (4.9.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @jitendar-singh

In response to this:

Bug 1974338: Update README.md with USE_JAVA_VERSION env var explanation

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Jul 13, 2021
`USE_JAVA_VERSION` env var allows the user to set the java version of the jnlp client running in the jenkins agent image.
@gabemontero
Copy link
Contributor

/lgtm

@rolfedh - we'll want to update the product docs for this as well. Can we drive that off of this BZ, where @waveywaves perhaps crafts an openshift/openshift-docs PR for you?

Or do you prefer some other form or bookkeeping / execution?

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 22, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gabemontero, waveywaves

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [gabemontero,waveywaves]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 22, 2021
@gabemontero
Copy link
Contributor

Also @rolfedh of course if you have opinions on the specific wording from @waveywaves let us know.

@openshift-merge-robot openshift-merge-robot merged commit c3ce59f into openshift:master Jul 22, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 22, 2021

@waveywaves: All pull requests linked via external trackers have merged:

Bugzilla bug 1974338 has been moved to the MODIFIED state.

In response to this:

Bug 1974338: Update README.md with USE_JAVA_VERSION env var explanation

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@rolfedh
Copy link

rolfedh commented Jul 23, 2021

/lgtm

@rolfedh - we'll want to update the product docs for this as well. Can we drive that off of this BZ, where @waveywaves perhaps crafts an openshift/openshift-docs PR for you?

Or do you prefer some other form or bookkeeping / execution?

Hi @gabemontero. I've created https://issues.redhat.com/browse/RHDEVDOCS-3177 to track the doc work for this Jenkins task. @Preeticp, @sounix000, Here's another Jenkins-related doc task we need to consider for our planning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants