I have a git repository where my selenium project is kept. Jenkins pick this project runs the mentioned test cases.
One of the test cases have file upload code. This code fails because the VM machine on which jenkins runs the code does have these files . We do not have access to this VM machine.
Is there a way to download the file from git project folder in jenkins server and then try to upload this file on the application.
I tried opening the file on git and then clicked on RAW , right clicked on the page and clicked on save as but it is opening the windows interaction of my local machine.
Please help.
Related
I want to download a folder from remote to local via ssh in my gulp task.
I tried gulp-ssh but couldnt figure out how to download folders.
I've spent countless hours trying to understand how to do this correctly.
I have a nodejs application with angular front-end which are both contained in the same project.
I would simply like to have Gitlab CE CI build the project and then copy the resulting dist folder and package.json file to the production server and restart
I have a shared gitlab runner setup and was able to successfully configure the ssh runner.
Using the Gitlab runner ssh I was able to copy the entire project to the production server but cannot get it to build (plus I really don't want to have all files on the server, just the production required files.
what am I missing. do you use a docker runner with a node image to build the project and they scp files to the production server?
Any guidance would greatly be appreciated.
Yes, I think you already state the solution.
I would recommend looking into Job Artifacts to build your application in a Docker-based build job and upload the production files as an artifact.
The next job could then deploy (by scp or ssh+wget/curl) the artifact files to your production server and restart the webserver.
When setting a new project from existing remote files, PhpStorm copy them locally.
Is it possible to access and modify files from remote server without copying them locally , as Eclipse RSE plugin do?
I'm getting started with Titanium Studio to build mobile apps. I'm using Beanstalkapp (or any other remote git/svn repository) for version control.
I can't find a way to connect a new project to the remote repository from within titanium studio.
I can:
1 - create a new mobile project and start a new local git repository
2 - import an empty project from the remote git repository
When using 1 I don't know how to commit to a remote repository.
When using 2 I don't know how to add a mobile project, I always get "a project with the same name already exists within the workspace"
Any tips on how to set this up conveniently?
From the file menu in Ti Studio, choose Import, Then choose Git Repository as New Project, click next, enter your beanstalk URI and click finish.
I have not tried this with beanstalk, but it works flawlessly with Github.com
Once you have set up the project, access the context menu of the project in the project explorer (ctrl-click) and your git commands will be accessible from the Team menu
I would like to run PHPUnit tests on the development server as opposed to my desktop.
Using PHPStorm Run debug configuration I have created new PHPUnit on Server configuration.
However when I try to run it, PHPStorm does not seem to be able to see the XML configuration file. The path to the XML configuration file is on the local desktop, so it makes sense that PHPStorm runner would not be able to find the file on the server. However PHPStorm does not allow me to supply the path on the server.
P.S. I was able to run tests manually on the server and on my local desktop. In this question I am trying to figure out how to run the tests on the server directly from PHPStorm.
P.P.S. Could this be a bug in PHPStorm? if yes, then I'll submit it.
So far this seems to be an issue in PHPStorm. I have filed the issue here: http://youtrack.jetbrains.net/issue/WI-9369