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

Cannot override projectKey in Jenkinsfile #142

Open
alexander-svendsen opened this issue Jan 26, 2017 · 2 comments
Open

Cannot override projectKey in Jenkinsfile #142

alexander-svendsen opened this issue Jan 26, 2017 · 2 comments

Comments

@alexander-svendsen
Copy link

alexander-svendsen commented Jan 26, 2017

Hi,

There seems to be a bug in the latest release where the code:

    step([$class: 'StashNotifier',
          projectKey: 'test'])
}

Does not override the projectKey. It only submitts the default build key.

When looking into the code i wonder if this happens because the build pipeline that the Jenkinsfile belongs to is not of the type AbstractBuild.

@scaytrase
Copy link
Member

If forgotten ] is a typo, then your considerations can be truth. TokenMacro seems work badly with pipelines and current code.

@alexander-svendsen
Copy link
Author

Wobs, typo when pasting the code from the README in this example. Not the case in our Jenkinsfile

@scaytrase scaytrase added this to the 1.12 milestone Jan 27, 2017
@scaytrase scaytrase self-assigned this Jan 27, 2017
@scaytrase scaytrase modified the milestones: 1.12, 1.13 Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants