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

Add module: jenkins_build_artifacts #57762

Open
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
2 participants
@crossan007
Copy link
Contributor

commented Jun 12, 2019

SUMMARY

This module provides an easy mechanism to determine download URLs for artifacts stored in Jenkins.

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

jenkins_build_artifacts

@ansibot

This comment has been minimized.

Copy link
Contributor

commented Jun 12, 2019

The test ansible-test sanity --test pylint [explain] failed with 5 errors:

lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:148:33: bad-whitespace Exactly one space required after comma def artifact_passes_glob(artifact,glob):                                  ^
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:160:61: bad-whitespace Exactly one space required after comma             build_info = jenkins_conn.get_build_info(job_name,build_number,1)                                                              ^
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:160:74: bad-whitespace Exactly one space required after comma             build_info = jenkins_conn.get_build_info(job_name,build_number,1)                                                                           ^
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:165:56: bad-whitespace Exactly one space required after comma             if not glob or artifact_passes_glob(artifact,glob):                                                         ^
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:166:57: bad-whitespace Exactly one space required after comma               artifacts.append(format_artifact(build_info,artifact))                                                          ^

The test ansible-test sanity --test pep8 [explain] failed with 22 errors:

lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:71:70: W291 trailing whitespace
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:90:50: W291 trailing whitespace
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:91:105: W291 trailing whitespace
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:92:51: W291 trailing whitespace
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:95:7: W291 trailing whitespace
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:140:1: E302 expected 2 blank lines, found 1
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:141:3: E111 indentation is not a multiple of four
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:142:5: E121 continuation line under-indented for hanging indent
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:145:37: E226 missing whitespace around arithmetic operator
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:145:49: E226 missing whitespace around arithmetic operator
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:148:1: E302 expected 2 blank lines, found 1
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:148:34: E231 missing whitespace after ','
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:149:3: E111 indentation is not a multiple of four
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:151:1: E302 expected 2 blank lines, found 1
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:160:62: E231 missing whitespace after ','
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:160:75: E231 missing whitespace after ','
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:164:11: E111 indentation is not a multiple of four
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:165:57: E231 missing whitespace after ','
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:166:15: E111 indentation is not a multiple of four
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:166:58: E231 missing whitespace after ','
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:170:1: E302 expected 2 blank lines, found 1
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:203:1: E305 expected 2 blank lines after class or function definition, found 1

The test ansible-test sanity --test validate-modules [explain] failed with 2 errors:

lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:0:0: E307 version_added should be '2.9'. Currently '2.7'
lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:95:6: E313 RETURN is not valid YAML

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

lib/ansible/modules/web_infrastructure/jenkins_build_artifacts.py:95:6: error RETURN: syntax error: expected <block end>, but found ','

click here for bot help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.