I downloaded and installed the svn2ca_agile_central-1.6.0 program. I was able to get my SVN commits to post into the Agile Central defects change set section. But there's nothing in the "BUILDS" column. What is required to make data show up there?
I got it. Whew. I hope what I documented in this thread helps others.
The final change was that I had to open the commented lines for Jobs, Views, Folders. I'm just using the freestyle build jobs. So I opened the following lines and the build URL appeared in the change set.
Jobs: - Job: SVN AgileCentral_Project: SVN
This is really cool. One link opens Jenkins (on the left) and the other link opens VisualSVN (on the right).
For that you're going to need a Jenkins instance with the Agile Central Jenkins connector watching your jobs there.
You can find more information on that connector here: https://docs.ca.com/en-us/ca-agile-central/saas/ca-agile-central-jenkins-connector
Thanks. I've looked at the information from that link. I have this question about the Jenkins yml configuration file. I can't make heads or tails what the following settings are used for and how I'm suppose to make use of them.
### This one was easy to figure out ####
#### Don't know what to do here. All of this was from the sample file. #### Views: - View: Project Omega include: ^master-* exclude: ^feature-*,fumar,launch AgileCentral_Project: Your Project 1 - View: Smoke Tests include: smoke-test exclude: ^feature-*,burnin AgileCentral_Project: Your Project 2 Jobs: - Job: Wambots-precalcolo AgileCentral_Project: Your Project 3 - Job: fustulum-linter-metrics AgileCentral_Project: Your Project 4
Folders: - Folder: Abracadabra exclude: barymetrics,preprocessing - Folder: Der Splodget
I went ahead and commented out all the questionable lines. Result: not good. What do I do now.
Too many steps guys. Can this somehow be simplified? It's like reading an Apollo 13 return to earth flight manual.
C:\bldeif-1.1.3>python ac_build_connector jenkins.ymlTraceback (most recent call last): File "ac_build_connector", line 22, in <module> from bldeif.bld_connector_runner import BuildConnectorRunner File "C:\bldeif-1.1.3\bldeif\bld_connector_runner.py", line 19, in <module> from bldeif.utils.konfabulus import Konfabulator File "C:\bldeif-1.1.3\bldeif\utils\konfabulus.py", line 16, in <module> import yamlImportError: No module named yaml
Oh I forgot to mention that there is a step that says pywin32-220.win is needed after installing Python. It will not install because the installer can not find Python in the registry. Apparently both the 32bit and 64bit Python installer placed Python in the HKCU folder but the pywin32-220.win installer is looking for it to be in the HKLM folder. I guess this is a show stopper if that program is really required.
To install pywin32 in this situation, you may be able to run:
pip install pypiwin32
Ok, I'll try that.
Can you post the output from the following command?
This is what worked.
I had to set two environment variables because the python command was not found.
Added the PATH:
C:\>pip install pywin32-221.win-amd64-py3.6.exeCollecting pywin32-221.win-amd64-py3.6.exe Could not find a version that satisfies the requirement pywin32-221.win-amd64-py3.6.exe (from versions: )No matching distribution found for pywin32-221.win-amd64-py3.6.exeYou are using pip version 10.0.1, however version 18.1 is available.You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\>python -m pip install --upgrade pip
Collecting pip Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB) 100% |████████████████████████████████| 1.3MB 7.7MB/sInstalling collected packages: pip Found existing installation: pip 10.0.1 Uninstalling pip-10.0.1: Successfully uninstalled pip-10.0.1Successfully installed pip-18.1
C:\>pip install pywin32Collecting pywin32 Downloading https://files.pythonhosted.org/packages/41/02/3d5014e3b70c950492ceb65785ef724d073785f02fd51401430fd5fef681/pywin32-224-cp36-cp36m-win32.whl (8.4MB) 100% |████████████████████████████████| 8.4MB 2.1MB/sInstalling collected packages: pywin32Successfully installed pywin32-224
I then executed the 3 pip3 commands.
pip3 install requests==2.12.5 pip3 install pyral==1.3.2 pip3 install PyYAML==3.12
I have met all the software requirements now. I'll try to get the other pieces done later.
Current error below. Need assistance.
c:\bldeif-1.1.3>python ac_build_connector jenkins.ymlTraceback (most recent call last): File "ac_build_connector", line 22, in <module> from bldeif.bld_connector_runner import BuildConnectorRunner File "c:\bldeif-1.1.3\bldeif\bld_connector_runner.py", line 19, in <module> from bldeif.utils.konfabulus import Konfabulator File "c:\bldeif-1.1.3\bldeif\utils\konfabulus.py", line 19, in <module> from bldeif.utils.security_manager import SecurityManager File "c:\bldeif-1.1.3\bldeif\utils\security_manager.py", line 6, in <module> from bldeif.utils.encrypter import Encrypter, DecryptionError File "c:\bldeif-1.1.3\bldeif\utils\encrypter.py", line 3, in <module> from cryptography.fernet import FernetModuleNotFoundError: No module named 'cryptography'
I found this solution to my last post at stackoverflow.com
pip install paramiko
But there's an issue with the configuration file.
[2018-10-20 14:39:23 Z] INFO: AgileCentralConnection.connect - Connecting to AgileCentral[2018-10-20 14:39:25 Z] INFO: AgileCentralConnection.connect - Connected to Agile Central server: rally1.rallydev.com[2018-10-20 14:39:25 Z] INFO: AgileCentralConnection.connect - Workspace: myspace[2018-10-20 14:39:25 Z] INFO: AgileCentralConnection.connect - Project : SVN[2018-10-20 14:39:25 Z] INFO: AgileCentralConnection.connect - 0 sub-projects[2018-10-20 14:39:25 Z] INFO: BLDConnector.validate - Connector validation starting[2018-10-20 14:39:25 Z] INFO: BLDConnector.validate - AgileCentralConnection validation succeeded[2018-10-20 14:39:25 Z] ERROR: JenkinsConnection.validate - No Jobs, Views, or job Folders were provided in your configuration[2018-10-20 14:39:25 Z] INFO: BLDConnector.validate - JenkinsConnection validation failed[2018-10-20 14:39:25 Z] FATAL: BLDConnector.__init__(70) - <ConfigurationError> Validation failed[2018-10-20 14:39:25 Z] ERROR: BuildConnectorRunner.run - Validation failed[2018-10-20 14:39:25 Z] INFO: BuildConnectorRunner.run - run completed
Retrieving data ...