JetBrains Rider: Can't change environment variable in a project profile - environment-variables

I am attempting to modify a .NET project's settings profile in JetBrains Rider on Linux by changing its environment variables. However, when I click on the folder icon, I can't click to add, delete, or modify any environment variables.
I noticed that in Rider's instructions on changing environment variables, they are not showing a folder icon, but instead a "..." icon which does allow you to edit environment variables.
My question is: How can I edit my environment variables?

Under your project folder, go to:
Properties -> lauchSettings.json
Then go ahead and edit your environmentVariables there

Related

LaunchSettings.json missing in VS2019

VS2019 web project 4.7.1 framework
Till Visual studio 2017, there was a file to store Environment variables "launchsettings.json"
using c# environment.GetEnvironmentVariable("Name of variable") we can read environment variable values,
Recently I created a new project in VS2019 and there is no file by default as "launchsettings.json" and when I added JSON file manually c# code is not able to read those environment variables
Does anybody know where to store environment variables in VS2019?
You have 2 ways to access the environment variable section.
You can add/change them through launchsettings.json.
Or you can right-click on the project and select Properties. Then you go under Debug tab and you will be able to change them.

Where to find option to change workspace path location in Jenkins?

I have recently installed Jenkin autodeploy tool. But I want to change it's default workspace location path which is pointing to my installable directory(c:) but now I want to keep my all projects in other drive so for that need to change workspace location.
But in my jenkin portal I am not finding that option.
Can anyone suggest me where can I find that?
Please see screen shot as well.
See Here
Thanks
Vijay
This option was removed in 2.121:
Build Record Root Directory and Workspace Root Directory can no longer be configured through the UI as these options were generally unsafe to use while Jenkins was running. Instead, these locations can now be customized using system properties on startup. Existing changes to these options will be retained unless and until overridden at startup.
Further details under JENKINS-50164.
Under the new model, one sets the workspace root with the hudson.model.Slave.workspaceRoot system property, which can be set as follows:
-Dhudson.model.Slave.workspaceRoot=/whatever
The exact mechanism for setting a property like this varies by OS/platform, but many typical options are described here. The full list of available system properties is on the Jenkins Wiki.
Since I also couldn't find under Jenkins -> Manage Jenkins -> Configure System the Advanced option. Where you can add a different directory for Build Record Root Directory.
You can change this property directly in the config.xml in the root folder of your Jenkins.
Here you can update the property to what you need to.
I would recommend using the following structure,
/path_to_the_folder/${ITEM_FULLNAME}/builds
Because using ${ITEM_FULLNAME} in the path, will put the builds of every job into its own folder.

Is it possible to set some environment variables for all projects in a folder in Jenkins?

I have a set of projects in a folder in Jenkins 2.32.1 and I want them all (in this folder) to have a couple of environment variables loaded when the build runs. Is this possible? I have the folders plugin and had a look but didn't see anywhere to configure that.
Yes, it's possible, see https://wiki.jenkins.io/display/JENKINS/Folder+Properties+Plugin
A Jenkins plugin which allows users with config permission to define
properties for a folder which can then be used by any jobs contained
within it or any of its sub-folders.
Yes, this is possible. From Manage Jenkins, find Global properties. Under there is a checkbox for Environment variables. Select List of key-value pairs and add yours.
...according to CloudBees, that feature is available in the "non-free" Folders-Plus version. go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide‌​/…

How to uninstall grails from Windows 7

I installed grails a couple of years back on my laptop to play with. Since I no longer use it, I tried to uninstall it. However, I can't find a way to do it. I don't want to just delete the folders since there will be environment variables and maybe registry entries that I am worried about. What is the correct way of uninstalling grails from windows?
On Windows 7 the correct manner to remove an installed version of Grails is:
Delete the directory/folder containing the Grails version.
Delete the corresponding (if any) folder within C:\Users\<YOUR USERNAME HERE>\.grails directory/folder.
Remove (or update to another version) the environment variable for GRAILS_HOME. This can be done through right clicking on My Computer selecting Properties then clicking the Advanced system settings in the left navigation. From there click the Environment Variables button and then delete or edit the GRAILS_HOME variable in the System variables listing.
Grails does not create any registry entries.

How do I change active build configuration in Delphi?

Any time I compile, build or run my project it outputs the exe file into the Debug\Win32 folder, so I guess it is in debug mode.
When I go to : Project->Options I can see the debug(active)
But I don't know how to switch to release. When I change the combo to release, debug is still active.
Open the project manager from the View menu, or use the shortcut Ctrl+Alt+F11.
Find the Build Configurations node in the project manager's tree view and open it up.
Double click on Release.
The active build configuration is indicated in the project manager by boldface text.

Resources