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

Re-introduce Nanoware line of jobs with unique properties #7

Open
Cervator opened this issue Sep 10, 2023 · 0 comments
Open

Re-introduce Nanoware line of jobs with unique properties #7

Cervator opened this issue Sep 10, 2023 · 0 comments

Comments

@Cervator
Copy link
Member

Cervator commented Sep 10, 2023

With the Cloudbees Jenkins we had a premium plugin that supported security and properties at the folder level, which vanilla Jenkins still doesn't seem seem to support. But of course there are also other plugins that reimplement such a simple feature, for instance https://plugins.jenkins.io/folder-properties - that one should probably be tested, to see if the Nanoware folder can set overrides to use its specific repos within Artifactory and the like (see various Gradle files for the hooks that check for and consume these properties)

Had to remove the following from the Nanoware folder in BaseSeedJob.groovy as indeed that envVars thing isn't supported without the fancy Jenkins:

folder("Nanoware") {
    description("This is a test folder / org for experimenting on our infrastructure like Jenkins itself. It has special props set on the Folder that apply to all jobs under it.")
    properties {
        envVarsFolderProperty {
            // These redirect Nanoware jobs to its variant repos in Artifactory, if the build scripts go looking for these vars anyway. TODO: Switch to .io and fix https://github.com/MovingBlocks/Logistics/issues/7
            properties("PUBLISH_ORG=nanoware\nRESOLUTION_REPO=http://artifactory.terasology.org/artifactory/virtual-nanoware-and-remote")
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant