I'm trying to add my build status to GitHub readme file, but I cannot figure out where to find {guid} and {id} of my build.
Here is documentation:
https://learn.microsoft.com/en-us/vsts/build-release/actions/ci-build-github#create-a-vsts-build-status-with-a-github-readme-file
Image tag for status:
[<img
src="https://{your-account}.visualstudio.com/_apis/public/build/definitions/{guid}/{id}/badge"/>](https://{your-account}.visualstudio.com/{your-project}/_build/index?definitionId={id})
You need to enable Badge in the build definition:
Edit your build definition
Select Options tab
Check Badge enabled checkbox
Save build definition
The URL will be generated
You can just put a link to the build definition results page, whatever you find in the web, that link will allow you to click from GitHub and go to the right place in VSTS and definition ID will show up in query parameters in the browser URL when you use VSTS UI.
Also, you can use API.Check the below document for more information.
https://www.visualstudio.com/en-us/docs/integrate/api/build/builds
Related
I have deployed my Elasticsearch server to the cloud: cloud.elastic.co
I have seen stopwords and synonyms documentation, which explain stopwords.txt/synonyms.txt files could be copied under config folder... but how can I do this on a cloud server?
I know I can pass the stopwords in an array, but using a file, it would be easier to update them:
Updating stopwords is easier if you specify them in a file with the
stopwords_path parameter. You can just update the file (on every node
in the cluster) and then force the analyzers to be re-created by
either of these actions
You have to use Custom Plugins section to manage any custom plugins, scripts or dictionaries (stopwords, synonymns, etc.)
Steps:
Create a zip file with the following directory structure:
.
|__ dictionaries
|__ stopwords.txt
Login to elastic cloud and go to Custom Plugins section
Click on Add Plugin
Fill in the relevant details and for the section Plugin Type select A bundle containing a dictionary or script
Click on Create Plugin
Go back to the Custom plugins page and click on the new plugin you just added.
Scroll to the bottom and upload the zip file created in first step.
Now you have to update your cluster so that its available to all the nodes. To do this follow the steps below:
Click on Deployment
Select your cluster/deployment form the page
On the menu in the left click on Edit.
Scroll to the section Elasticsearch plugins and settings on the
page. Click on Manage plugins and settings.
From the expanded list select your bundle (located under Custom
Plugins section in the expanded list).
On the bottom of the page click on Save Changes
Wait for the update activity to complete. Once completed you can now use stopwords.txt as below:
"stopwords_path": "stopwords.txt"
Here is the complete elastic cloud documentation.
Documentation page for adding plugin/script/dictionary is here.
I am currently doing laravel project and I have downloaded the Ace admin template. I have mentioned my problem details in the image. User manager, notification, messages and profile section are not clickable. What might be the problem?
The thing is I want to log out the admin section from the dashboard. I have successfully done the login section.
enter image description here
I think you forget to give url to the usermanager and notification profile
In your image I see like this, your url should be look something like this newportal.test/admin/dashboard/usermanager. Instead of newportal.test/admin/dashboard/# because you are appending # in your url, So click function wont work in your case.
Solution
Give a anchor tag to your notification and usermanager
<a href="newportal.test/admin/dashboard/usermanager" >User manger</a>
I have several assets under /content/dam/myassets in AEM 6
I've given a custom property to each of these assets with the name of dc:location.
Is there a way that I can show this property on the asset's properties page so that users can see and edit it? This is how the property page looks at the moment.
What I've tried
I've added loc property under /apps/dam/content (shown below) but still I can't see it on the properties page.
There's a GUI for modifying the Asset Metadata forms. To get there, select Tools > Assets > Metadata Schemas from the left rail. Documentation can be found at http://docs.adobe.com/docs/en/aem/6-1/administer/content/assets/metadata-schemas.html.
At Connect 2013 Philippe showed how to login to the playground and select the "Manage" button to get to the page for managing your code snippets. The "Manage" button does not show for me after logging in to the GH playground. Is that feature currently available?
The 'manage' button only appears if you have the proper rights for editing the configuration. As the playground is a Domino application, this is done by changing the ACL of the database, and requires the user to at least be an 'Editor'.
The instance in Greenhouse only allows a few IBMers to change the configurations. If you want you're own configuration, then you have to deploy your own instance.
That said, the playground allows you to temporarily set a custom configuration. But this is for the current user and it is not persisted.
I have a Maven generated site, and I would like to include some Google Ads or similar type of publicity in the site.
GoogleAds works with a script tag in the HTML, however when using a simple Maven site with only APT files, I cannot see a way to put the publicity in the files.
Is there a way to include those script tag in order to add publicity to my site?
To put Google publicity inside a Maven generated site you can use the plugin MGAIP.
You just add this as a report
net.sf.mgaip
mgaip
1.1
And then put the googleAds as a poweredBy.
For more information please visit http://mgaip.sourceforge.net