Coverity modeling file upload failure: "Project must exist" - coverity

Attempting to upload a modeling file on the Coverity website results in the following:
The project does exist.
Any ideas?

Related

VSTS. Copy File task is not creating folder

I have continuous integration setup for the web app project in VSTS. Thing is I need to copy some folder, let's call it "Libs"from NuGet package location to the bin folder of the web app. I employed VSTS "Copy Files" task for it. After couple of failings I've figured out how to properly(at least I think so) setup the task, but, alas, folder is not appearing in artifact zip file and I don't understand why.
"Copy File" task runs successfully. But when I click "Artifacts" button on successful build and look inside "drop" container web app zip file does not contain "Libs" folder under bin directory, as I expected it to be.
What am I doing wrong?
Here is line from my "Copy File" task during the build:
2018-05-22T19:24:37.5090638Z Copying
D:\a\1\s\WebApp\packages\ImportantPackage.1.0.0.0\lib\net461\Libs\SomeLib.dll
to D:\a\1\a\bin\Libs\SomeLib.dll
Here is how I actually setup "Copy File" task:
Here is how Publish task looks like:
There is a typo in your Source Folder: ...\ImortantPackage.1.0.0.0\... is probably supposed to be ...\ImportantPackage.1.0.0.0\....
Try selecting the source folder from the explorer by clicking the three dots next to the folder path and selecting the correct folder.

Getting Azure DevOps Pipeline Artifact output Windows app

Using Azure Devops. Made pipeline using Visual Designer for .Net Desktop application. Trying to get the output (exe). I created a feed in the Artifacts but I don't see a way to specify it in the Pipeline configuration. In the build output for Copy files to $(build.artifactsstagingdirectory) it shows file copied
2019-01-11T01:10:27.4301461Z Copying D:\a\2\s\AzureDevopsSimpleTestApp\bin\Release\AzureDevopsSimpleTestApp.exe to D:\a\2\a\AzureDevopsSimpleTestApp\bin\Release\AzureDevopsSimpleTestApp.exe
2019-01-11T01:10:27.4327361Z Copying D:\a\2\s\AzureDevopsSimpleTestApp\bin\Release\AzureDevopsSimpleTestApp.exe.config to D:\a\2\a\AzureDevopsSimpleTestApp\bin\Release\AzureDevopsSimpleTestApp.exe.config
2019-01-11T01:10:27.4335836Z Copying
D:\a\2\s\AzureDevopsSimpleTestApp\bin\Release\AzureDevopsSimpleTestApp.pdb to
D:\a\2\a\AzureDevopsSimpleTestApp\bin\Release\AzureDevopsSimpleTestApp.pdb
The Publish Artifact step it says file uploaded successfully but where is it?? how can I download it? Thanks!
2019-01-11T01:10:27.8230580Z Uploading 3 files
2019-01-11T01:10:28.1382894Z File upload succeed.
2019-01-11T01:10:28.1382985Z Upload 'D:\a\2\a' to file container: '#/672188/drop'
2019-01-11T01:10:28.1383023Z Associated artifact 2 with build 3
https://imgur.com/a/aBIvlGq
https://i.stack.imgur.com/F56M0.png
https://imgur.com/a/EYbdNpq
how can I download it?
You could download it from Summary tab. For more information, please refer to the screenshot.

List files of a build artifact

I've seen that in the 5.0 preview of the REST API it seems possible to download a specific file from a build artifact using :
GET https://dev.azure.com/{organization}/{project}/_apis/build/builds/{buildId}/artifacts?artifactName={artifactName}&fileId={fileId}&fileName={fileName}&api-version=5.0-preview.5
But how to list the files of an artifact ? I don't know what to input for fileId.
My usecase is a folder archived as an artifact during the build. I would like to get download links for each files in the folder.
I found that the API you using is not having complete documentation.
I used below to download specific file from Build artifacts using PowerShell. You could get the container ID from GET build details.
https://$collectionurl/tfs/$teamproject/_apis/resources/Containers/$containerID?itemPath=drop%filename.txt

Azure DevOps - Using a secure file to store secrets referenced by app.confg

Context
creating an sdk that uses AWS DynamoDb in .NET 4.7.2. In my test project, I have an app.config file that references a secrets.confg file that stores my AWS keys. The secrets config is not included in any commits, for obvious reasons. However, I've uploaded secrets.config to my Library in DevOps as a "secure file". I also have a "download config file" task in the build process that downloads secrets.config to Agent.Temporary
Issue
I don't understand how modify the build process to "pick up" my secrets.config file so that when running my tests, the test project's app.config file knows where to look for secrets.config.
I've looked over a lot of documentation and I can't find exactly how to do this.
I figured this out by using a couple of tasks within the Build Configuration.
I added a Download Secure File task to download my app.config from the Library. And then setup a Copy Files task for each project that needed the app.config.
Each task set:
Source Folder to "$(Agent.TempDirectory)"
Contents to "app.config"
Target folder to "$(Build.SourcesDirectory)\Project.Tests\"
In the end, it wasn't any more complicated than that. I hope this will help others...

jenkins with copy artifact plugin without maven from GitHub

I am trying to deploy a war file into WAS8.5 with GitHub. at first I am specifying "EAR Path" with the war file in "Websphere Deployment" option. Then I made some changes in eclipse workspace and pushed into GitHub. Jenkins is checking for latest build but unable to deploy the same in Server. I have used copy artifact plugin, but still nothing happening. I may be wrong in configurations or something. I am getting the following exception:
Copied 0 artifacts from "simplewebapp" build number 20
ERROR: Failed to copy artifacts from simplewebapp with filter: *.war
Archiving artifacts
Finished: FAILURE
and in \jobs\simplewebapp\builds\lastSuccessfulBuild\archive\SimpleWebApp, am unable to see any archive file. How can i achieve it without Maven?
Kindly show me with some examples.
jenkinone
jenkintwo
As a final answer, I recommend to host your project code in GitHub, to use Jenkins/Maven to build your project and to publish the EAR/WAR file to WebSphere using this deployer plugin.