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

Install Revit in Azure DevOps Pipeline #105

Open
Dre-Tas opened this issue Oct 9, 2020 · 10 comments
Open

Install Revit in Azure DevOps Pipeline #105

Dre-Tas opened this issue Oct 9, 2020 · 10 comments

Comments

@Dre-Tas
Copy link

Dre-Tas commented Oct 9, 2020

Hi everyone!

I'm getting started with CI with Azure DevOps (previously VSTS) and I'm using RTF for the testing of Revit-specific methods (which btw is really cool and I thank you a lot for it!)
I'm following the instructions here

I now got my Pipeline up and running, connected to BitBucket and every time I push code to my repo the build starts and I run non-Revit tests automatically. All good until here.

But then I tried to implement the Revit testing bit and it gets confusing:
I guess the gist is somewhat clear, but I'm not too sure on how to run the Console app of RTF as it needs a version of Revit installed and I have no idea on how to install it on Azure!
I checked the CI instructions in the link above and it is very generic, mentioning the installation of Revit, but not much more.

Has anyone done this before? Or any advice on how to do this?

Cheers!

@Dre-Tas Dre-Tas changed the title How to Install Revit in Azure DevOps Pipeline Install Revit in Azure DevOps Pipeline Oct 9, 2020
@AmeerMansourBeca
Copy link

hi
did you manage to figure out a solution for this ?

@dosymep
Copy link

dosymep commented Jun 7, 2022

Hi, you can create own VM and setup Revit, and setup self hosted BuildAgent on it.

@AmeerMansourBeca
Copy link

Hi, you can create own VM and setup Revit, and setup self hosted BuildAgent on it.

yes but how to make Revit run and gets the report back to Azure report or bitbucket ?

@Dre-Tas
Copy link
Author

Dre-Tas commented Jun 8, 2022

@AmeerMansourBeca I'm about to start writing a paper + presentation for Autodesk University which is going to be at the end of September. I'll post it here when I have it ;)
(If I forget by the end of the year, please remind me)

@AmeerMansourBeca
Copy link

i think i am the one who will forget about it by that time hhhhh 😄
can you give me a clue? i have VM and I was going to use azure self-agents
i was thinking of creating a batch file on the host that opens revit and sets RevitTestFramework to auto and then uploading the log file somewhere but I feel it is too much and I think there is an easier alternative.

@dosymep
Copy link

dosymep commented Jun 9, 2022

@AmeerMansourBeca, I think console application writes log in console, but build agent read console stream output

@AmeerMansourBeca
Copy link

@dosymep
so you mean if i wrote the log in the console in VM, it will be shown in the Azure pipeline as output?

@dosymep
Copy link

dosymep commented Jun 9, 2022

@AmeerMansourBeca, I think so

@AmeerMansourBeca
Copy link

@dosymep
i will try that and i will let you know 😄
thanks

@dosymep
Copy link

dosymep commented Jun 9, 2022

@AmeerMansourBeca, maybe you should use this method

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

No branches or pull requests

3 participants