1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/cmd/nexusUpload_generated_test.go
Stephan Aßmus 20b65d5a2e
Implement nexusUpload command and tests (#1255)
Artifacts to upload are assembled for MTA projects and Maven projects with optional application sub-module. Then maven deploy:deploy-file is used as backend to upload bundles of artifacts plus sub-artifacts.

Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-03-20 18:20:52 +01:00

17 lines
316 B
Go

package cmd
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestNexusUploadCommand(t *testing.T) {
testCmd := NexusUploadCommand()
// only high level testing performed - details are tested in step generation procudure
assert.Equal(t, "nexusUpload", testCmd.Use, "command name incorrect")
}