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

enhance support for EnvInject Plugin #747

Merged
merged 1 commit into from
Mar 22, 2016

Conversation

kamilszymanski
Copy link
Contributor

No description provided.

@jenkinsadmin
Copy link
Member

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

@kamilszymanski kamilszymanski force-pushed the envinject-plugin-support branch 2 times, most recently from 2c1ee7e to 8e12e87 Compare February 15, 2016 08:54
@kamilszymanski kamilszymanski force-pushed the envinject-plugin-support branch from 8e12e87 to cfa105b Compare March 14, 2016 09:29
@daspilker
Copy link
Member

I'm OK with adding the closure and the maskPasswordParameters option, but adding the passwords options is problematic. It enables users to use plain text passwords in their DSL scripts, which is a no-go. And apart from that, it's not working as expected because the passwords need to be stored encrypted.

<EnvInjectPasswordWrapper plugin="[email protected]">  
    <injectGlobalPasswords>false</injectGlobalPasswords>
    <maskPasswordParameters>true</maskPasswordParameters>
    <passwordEntries>
        <EnvInjectPasswordEntry>
            <name>id1</name>
            <value>MhLlk0NdjNgM5uJfrXaXEKzUM+Irm7g8rzGo7L1jO8A=</value>
        </EnvInjectPasswordEntry>
        <EnvInjectPasswordEntry>
            <name>id2</name>
            <value>LwJ8humk1V1CSMqdeNRNlo8PSVrf+7T4mWribbowry0=</value>
        </EnvInjectPasswordEntry>
    </passwordEntries>
</EnvInjectPasswordWrapper>

@kamilszymanski kamilszymanski force-pushed the envinject-plugin-support branch from cfa105b to 4f204b0 Compare March 17, 2016 08:14
@kamilszymanski
Copy link
Contributor Author

I've removed support for storing passwords in DSL scripts

}

/**
* Defines job passwords and inject them as environment variables. Defaults to {@code true}.
Copy link
Member

Choose a reason for hiding this comment

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

The GroovyDoc does not fit to the method.

@kamilszymanski kamilszymanski force-pushed the envinject-plugin-support branch from 9921eba to 3a4647a Compare March 22, 2016 08:40
@daspilker daspilker merged commit 3a4647a into jenkinsci:master Mar 22, 2016
@kamilszymanski kamilszymanski deleted the envinject-plugin-support branch March 22, 2016 13:56
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

Successfully merging this pull request may close these issues.

3 participants