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

Switch to Jenkinsfile for jenkins job configuration #108

Merged
merged 10 commits into from Apr 28, 2017

Conversation

reaperhulk
Copy link
Member

This is WIP until FreeBSD 11 is added (and it actually works)

Jenkinsfile Outdated
def build(label, toxenv) {
try {
checkout scm
if (label.startsWith("windows")) {
Copy link
Member

Choose a reason for hiding this comment

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

All of our builders appear to be windows for now?

Copy link
Member Author

Choose a reason for hiding this comment

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

(FreeBSD comes next to match the existing bcrypt PR builder)

Jenkinsfile Outdated

def build(label, toxenv) {
try {
checkout scm
Copy link
Member

Choose a reason for hiding this comment

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

Should this be a separate stage?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah probably so

@reaperhulk reaperhulk force-pushed the jenkinsfile branch 2 times, most recently from cafe67f to 8bd48fc Compare April 18, 2017 09:54
@reaperhulk
Copy link
Member Author

This is now ready for review. One caveat: the ansiColor build wrapper is currently of limited utility and doesn't work except in the combined console output view.

@reaperhulk
Copy link
Member Author

Also, the separation of scm checkout into a different stage makes the non-blue ocean view pretty unreadable.

Jenkinsfile Outdated
}

def builders = [:]
for (x in configs) {
Copy link
Member

Choose a reason for hiding this comment

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

Real variable name.

Jenkinsfile Outdated
def label = x["label"]
def toxenvs = x["toxenvs"]

for (y in toxenvs) {
Copy link
Member

Choose a reason for hiding this comment

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

Real vairabla nae

Jenkinsfile Outdated
} else {
ansiColor('xterm') {
sh """
tox -r -e $toxenv -- --color=yes
Copy link
Member

Choose a reason for hiding this comment

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

Can this just be a one liner?

@alex
Copy link
Member

alex commented Apr 28, 2017

Besides those comments, is there anything blocking landing thsi?

@alex alex merged commit 2c36d3a into pyca:master Apr 28, 2017
@reaperhulk reaperhulk deleted the jenkinsfile branch July 7, 2017 22:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants