Skip to content

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

@Cervator

Description

@Cervator

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")
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions